mirror of
https://git.code.sf.net/p/quake/game-source
synced 2025-04-02 05:41:00 +00:00
Fixed a bug: Normal fish deaths were not producing sounds. Oops.
Made fish health a little more realistic. Fish can now be gibbed (it's HARD) by a super shotgun blast to the face. You have to be extremely close and hit with all of the pellets. :) Hikaru
This commit is contained in:
parent
cdd54a89c1
commit
ed2cdd502a
1 changed files with 3 additions and 2 deletions
|
@ -135,7 +135,7 @@ void() f_death21 =[ $death21, f_death21 ] {
|
|||
|
||||
void () f_death =
|
||||
{
|
||||
if (self.health < -35) {
|
||||
if (self.health < -25) {
|
||||
sound (self, CHAN_VOICE, "player/udeath.wav", 1, ATTN_NORM);
|
||||
ThrowGib ("progs/gib3.mdl", self.health);
|
||||
ThrowGib ("progs/gib3.mdl", self.health);
|
||||
|
@ -148,6 +148,7 @@ void () f_death =
|
|||
if (!respawn_enabled)
|
||||
killed_monsters++;
|
||||
|
||||
sound (self, CHAN_VOICE, "fish/death.wav", 1, ATTN_NORM);
|
||||
f_death1 ();
|
||||
};
|
||||
|
||||
|
@ -191,7 +192,7 @@ void() monster_fish =
|
|||
setmodel (self, "progs/fish.mdl");
|
||||
|
||||
setsize (self, '-16 -16 -24', '16 16 24');
|
||||
self.health = 25;
|
||||
self.health = 20;
|
||||
|
||||
self.th_stand = f_stand1;
|
||||
self.th_walk = f_walk1;
|
||||
|
|
Loading…
Reference in a new issue