mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-25 05:11:35 +00:00
*** empty log message ***
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1799 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a613214e54
commit
7a6a56b7b1
3 changed files with 7 additions and 2 deletions
|
@ -860,7 +860,7 @@ void() PlayerDeathThink =
|
|||
local float forward;
|
||||
|
||||
self.modelindex = modelindex_dead;
|
||||
|
||||
self.solid = SOLID_NOT;
|
||||
|
||||
if ((self.flags & FL_ONGROUND))
|
||||
{
|
||||
|
|
|
@ -783,7 +783,10 @@ void() spike_touch =
|
|||
{
|
||||
WriteByte (MSG_MULTICAST, SVC_TEMPENTITY);
|
||||
if (self.classname == "wizspike")
|
||||
{
|
||||
T_Damage (other, self, self.owner, 9+random()18);
|
||||
WriteByte (MSG_MULTICAST, TE_WIZSPIKE);
|
||||
}
|
||||
else if (self.classname == "knightspike")
|
||||
WriteByte (MSG_MULTICAST, TE_KNIGHTSPIKE);
|
||||
else
|
||||
|
|
|
@ -325,7 +325,7 @@ void() wiz_death1 =[ $death1, wiz_death2 ] {
|
|||
self.velocity_x = -200 + 400*random();
|
||||
self.velocity_y = -200 + 400*random();
|
||||
self.velocity_z = 100 + 100*random();
|
||||
self.flags = self.flags - (self.flags & FL_ONGROUND);
|
||||
self.movetype = MOVETYPE_TOSS;
|
||||
sound (self, CHAN_VOICE, "wizard/wdeath.wav", 1, ATTN_NORM);
|
||||
};
|
||||
void() wiz_death2 =[ $death2, wiz_death3 ] {};
|
||||
|
@ -346,6 +346,8 @@ void() wiz_die =
|
|||
ThrowGib ("progs/gib2.mdl", -10);
|
||||
ThrowGib ("progs/gib2.mdl", -10);
|
||||
ThrowGib ("progs/gib2.mdl", -10);
|
||||
ThrowGib ("progs/gib3.mdl", -10);
|
||||
ThrowGib ("progs/gib1.mdl", -10);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue