mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2025-03-23 02:51:44 +00:00
- tweak a few things to use setorigin instead of self.origin =
- make sure telefrags happen even on your first spawn - do a reverse telefrag if your target is invicible
This commit is contained in:
parent
c04bac87f3
commit
0c498dd760
4 changed files with 14 additions and 4 deletions
2
BUGS
2
BUGS
|
@ -18,3 +18,5 @@
|
|||
- sometimes ID doesn't work. this may be because impulses are unreliable though :/
|
||||
- minp/maxp are broken. possibly compiler !string bug
|
||||
- rockets explode on observers
|
||||
- scuba gear doesn't set the rad suit anymore
|
||||
- I think getting a rad suit clears your scuba gear when it expires
|
||||
|
|
|
@ -331,7 +331,7 @@ void() DropFromCustomClassGen =
|
|||
//spawn_tdeath (spot.origin, self);
|
||||
|
||||
self.observer_list = spot;
|
||||
self.origin = spot.origin + '0 0 1';
|
||||
setorigin (self, spot.origin + '0 0 1');
|
||||
self.angles = spot.angles;
|
||||
self.fixangle = TRUE; // turn this way immediately
|
||||
|
||||
|
|
7
tfort.qc
7
tfort.qc
|
@ -279,11 +279,14 @@ void() TeamFortress_ChangeClass =
|
|||
|
||||
self.view_ofs = '0 0 22';
|
||||
player_stand1 ();
|
||||
if (deathmatch || coop)
|
||||
/* if (deathmatch || coop)
|
||||
{
|
||||
makevectors(self.angles);
|
||||
spawn_tfog (self.origin + v_forward*20);
|
||||
}
|
||||
}*/
|
||||
makevectors (self.angles);
|
||||
spawn_tfog (self.origin + v_forward * 20);
|
||||
spawn_tdeath (self.origin, self);
|
||||
|
||||
// Display chosen class
|
||||
if ( self.playerclass == PC_RANDOM )
|
||||
|
|
|
@ -371,8 +371,13 @@ void() tdeath_touch =
|
|||
// frag anyone who teleports in on top of an invincible player
|
||||
if (other.classname == "player")
|
||||
{
|
||||
if (other.invincible_finished > time)
|
||||
if (other.invincible_finished > time) {
|
||||
self.classname = "teledeath2";
|
||||
self.owner.invincible_finished = 0;
|
||||
if (self.owner.health > 0)
|
||||
TF_T_Damage (self.owner, self, self, self.owner.health + 5000,
|
||||
TF_TD_IGNOREARMOUR, TF_TD_OTHER);
|
||||
}
|
||||
|
||||
if (self.owner.classname != "player")
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue