mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-02-18 01:41:41 +00:00
Missed one.
This commit is contained in:
parent
d686fe0b2e
commit
c39447a5cf
1 changed files with 9 additions and 12 deletions
|
@ -308,11 +308,8 @@ void() bsp_explode =
|
||||||
T_RadiusDamage (@self.trigger_field, @self.trigger_field, @self.dmg, world, "");
|
T_RadiusDamage (@self.trigger_field, @self.trigger_field, @self.dmg, world, "");
|
||||||
sound (@self.trigger_field, CHAN_VOICE, "weapons/r_exp3.wav", 1, ATTN_NORM);
|
sound (@self.trigger_field, CHAN_VOICE, "weapons/r_exp3.wav", 1, ATTN_NORM);
|
||||||
|
|
||||||
WriteByte (MSG_MULTICAST, SVC_TEMPENTITY);
|
WriteBytes (MSG_MULTICAST, SVC_TEMPENTITY, TE_EXPLOSION);
|
||||||
WriteByte (MSG_MULTICAST, TE_EXPLOSION);
|
WriteCoordV (MSG_MULTICAST, @self.trigger_field.origin);
|
||||||
WriteCoord (MSG_MULTICAST, @self.trigger_field.origin_x);
|
|
||||||
WriteCoord (MSG_MULTICAST, @self.trigger_field.origin_y);
|
|
||||||
WriteCoord (MSG_MULTICAST, @self.trigger_field.origin_z);
|
|
||||||
multicast (@self.origin, MULTICAST_PHS);
|
multicast (@self.origin, MULTICAST_PHS);
|
||||||
|
|
||||||
remove (@self);
|
remove (@self);
|
||||||
|
@ -321,25 +318,25 @@ void() bsp_explode =
|
||||||
|
|
||||||
void() misc_explobsp =
|
void() misc_explobsp =
|
||||||
{
|
{
|
||||||
local entity spot;
|
local entity spot;
|
||||||
|
|
||||||
@self.solid = SOLID_BBOX;
|
@self.solid = SOLID_BBOX;
|
||||||
@self.movetype = MOVETYPE_NONE;
|
@self.movetype = MOVETYPE_NONE;
|
||||||
|
|
||||||
setmodel (@self, @self.model);
|
setmodel (@self, @self.model);
|
||||||
setsize( @self, @self.mins, @self.maxs );
|
setsize( @self, @self.mins, @self.maxs );
|
||||||
precache_sound ("weapons/r_exp3.wav");
|
precache_sound ("weapons/r_exp3.wav");
|
||||||
|
|
||||||
if (!@self.health)
|
if (!@self.health)
|
||||||
@self.health = 20;
|
@self.health = 20;
|
||||||
|
|
||||||
if (!@self.dmg)
|
if (!@self.dmg)
|
||||||
@self.dmg = 160;
|
@self.dmg = 160;
|
||||||
|
|
||||||
@self.th_die = bsp_explode;
|
@self.th_die = bsp_explode;
|
||||||
@self.takedamage = DAMAGE_AIM;
|
@self.takedamage = DAMAGE_AIM;
|
||||||
@self.nobleed = TRUE;
|
@self.nobleed = TRUE;
|
||||||
|
|
||||||
//POX 1.2 - HACK!
|
//POX 1.2 - HACK!
|
||||||
//put a null entity at the center of the model to hold the explosion position
|
//put a null entity at the center of the model to hold the explosion position
|
||||||
spot = spawn();
|
spot = spawn();
|
||||||
|
|
Loading…
Reference in a new issue