made corpse gibable
This commit is contained in:
parent
e8fc78d6f2
commit
141a3845f8
10 changed files with 15 additions and 15 deletions
2
demon.qc
2
demon.qc
|
@ -145,7 +145,7 @@ void() demon1_die3 =[ $death3, demon1_die4 ] {};
|
|||
void() demon1_die4 =[ $death4, demon1_die5 ] {};
|
||||
void() demon1_die5 =[ $death5, demon1_die6 ] {};
|
||||
void() demon1_die6 =[ $death6, demon1_die7 ]
|
||||
{self.solid = SOLID_NOT;};
|
||||
{become_corpse();};
|
||||
void() demon1_die7 =[ $death7, demon1_die8 ] {};
|
||||
void() demon1_die8 =[ $death8, demon1_die9 ] {};
|
||||
void() demon1_die9 =[ $death9, demon1_die9 ] {};
|
||||
|
|
2
dog.qc
2
dog.qc
|
@ -241,7 +241,7 @@ void() dog_die =
|
|||
|
||||
// regular death
|
||||
sound (self, CHAN_VOICE, "dog/ddeath.wav", 1, ATTN_NORM);
|
||||
self.solid = SOLID_NOT;
|
||||
become_corpse();
|
||||
|
||||
if (random() > 0.5)
|
||||
dog_die1 ();
|
||||
|
|
|
@ -256,7 +256,7 @@ void(entity attacker, float damage) enf_pain =
|
|||
void() enf_die1 =[ $death1, enf_die2 ] {};
|
||||
void() enf_die2 =[ $death2, enf_die3 ] {};
|
||||
void() enf_die3 =[ $death3, enf_die4 ]
|
||||
{self.solid = SOLID_NOT;self.ammo_cells = 5;DropBackpack();};
|
||||
{become_corpse();self.ammo_cells = 5;DropBackpack();};
|
||||
void() enf_die4 =[ $death4, enf_die5 ] {ai_forward(14);};
|
||||
void() enf_die5 =[ $death5, enf_die6 ] {ai_forward(2);};
|
||||
void() enf_die6 =[ $death6, enf_die7 ] {};
|
||||
|
@ -274,7 +274,7 @@ void() enf_fdie1 =[ $fdeath1, enf_fdie2 ] {
|
|||
};
|
||||
void() enf_fdie2 =[ $fdeath2, enf_fdie3 ] {};
|
||||
void() enf_fdie3 =[ $fdeath3, enf_fdie4 ]
|
||||
{self.solid = SOLID_NOT;self.ammo_cells = 5;DropBackpack();};
|
||||
{become_corpse();self.ammo_cells = 5;DropBackpack();};
|
||||
void() enf_fdie4 =[ $fdeath4, enf_fdie5 ] {};
|
||||
void() enf_fdie5 =[ $fdeath5, enf_fdie6 ] {};
|
||||
void() enf_fdie6 =[ $fdeath6, enf_fdie7 ] {};
|
||||
|
|
2
fish.qc
2
fish.qc
|
@ -130,7 +130,7 @@ void() f_death17 =[ $death17, f_death18 ] {};
|
|||
void() f_death18 =[ $death18, f_death19 ] {};
|
||||
void() f_death19 =[ $death19, f_death20 ] {};
|
||||
void() f_death20 =[ $death20, f_death21 ] {};
|
||||
void() f_death21 =[ $death21, f_death21 ] {self.solid = SOLID_NOT;};
|
||||
void() f_death21 =[ $death21, f_death21 ] {become_corpse();};
|
||||
|
||||
void() f_pain1 =[ $pain1, f_pain2 ] {};
|
||||
void() f_pain2 =[ $pain2, f_pain3 ] {ai_pain(6);};
|
||||
|
|
|
@ -175,7 +175,7 @@ void() hknight_pain5 =[ $pain5, hknight_run1 ] {};
|
|||
void() hknight_die1 =[ $death1, hknight_die2 ] {ai_forward(10);};
|
||||
void() hknight_die2 =[ $death2, hknight_die3 ] {ai_forward(8);};
|
||||
void() hknight_die3 =[ $death3, hknight_die4 ]
|
||||
{self.solid = SOLID_NOT; ai_forward(7);};
|
||||
{become_corpse(); ai_forward(7);};
|
||||
void() hknight_die4 =[ $death4, hknight_die5 ] {};
|
||||
void() hknight_die5 =[ $death5, hknight_die6 ] {};
|
||||
void() hknight_die6 =[ $death6, hknight_die7 ] {};
|
||||
|
@ -189,7 +189,7 @@ void() hknight_die12 =[ $death12, hknight_die12 ] {};
|
|||
void() hknight_dieb1 =[ $deathb1, hknight_dieb2 ] {};
|
||||
void() hknight_dieb2 =[ $deathb2, hknight_dieb3 ] {};
|
||||
void() hknight_dieb3 =[ $deathb3, hknight_dieb4 ]
|
||||
{self.solid = SOLID_NOT;};
|
||||
{become_corpse();};
|
||||
void() hknight_dieb4 =[ $deathb4, hknight_dieb5 ] {};
|
||||
void() hknight_dieb5 =[ $deathb5, hknight_dieb6 ] {};
|
||||
void() hknight_dieb6 =[ $deathb6, hknight_dieb7 ] {};
|
||||
|
|
|
@ -186,7 +186,7 @@ void() knight_bow10 =[ $walk1, knight_walk1 ] {ai_turn();};
|
|||
void() knight_die1 =[ $death1, knight_die2 ] {};
|
||||
void() knight_die2 =[ $death2, knight_die3 ] {};
|
||||
void() knight_die3 =[ $death3, knight_die4 ]
|
||||
{self.solid = SOLID_NOT;};
|
||||
{become_corpse();};
|
||||
void() knight_die4 =[ $death4, knight_die5 ] {};
|
||||
void() knight_die5 =[ $death5, knight_die6 ] {};
|
||||
void() knight_die6 =[ $death6, knight_die7 ] {};
|
||||
|
@ -199,7 +199,7 @@ void() knight_die10=[ $death10, knight_die10] {};
|
|||
void() knight_dieb1 =[ $deathb1, knight_dieb2 ] {};
|
||||
void() knight_dieb2 =[ $deathb2, knight_dieb3 ] {};
|
||||
void() knight_dieb3 =[ $deathb3, knight_dieb4 ]
|
||||
{self.solid = SOLID_NOT;};
|
||||
{become_corpse();};
|
||||
void() knight_dieb4 =[ $deathb4, knight_dieb5 ] {};
|
||||
void() knight_dieb5 =[ $deathb5, knight_dieb6 ] {};
|
||||
void() knight_dieb6 =[ $deathb6, knight_dieb7 ] {};
|
||||
|
|
4
ogre.qc
4
ogre.qc
|
@ -354,7 +354,7 @@ void(entity attacker, float damage) ogre_pain =
|
|||
void() ogre_die1 =[ $death1, ogre_die2 ] {};
|
||||
void() ogre_die2 =[ $death2, ogre_die3 ] {};
|
||||
void() ogre_die3 =[ $death3, ogre_die4 ]
|
||||
{self.solid = SOLID_NOT;
|
||||
{become_corpse();
|
||||
self.ammo_rockets = 2;DropBackpack();};
|
||||
void() ogre_die4 =[ $death4, ogre_die5 ] {};
|
||||
void() ogre_die5 =[ $death5, ogre_die6 ] {};
|
||||
|
@ -371,7 +371,7 @@ void() ogre_die14 =[ $death14, ogre_die14 ] {};
|
|||
void() ogre_bdie1 =[ $bdeath1, ogre_bdie2 ] {};
|
||||
void() ogre_bdie2 =[ $bdeath2, ogre_bdie3 ] {ai_forward(5);};
|
||||
void() ogre_bdie3 =[ $bdeath3, ogre_bdie4 ]
|
||||
{self.solid = SOLID_NOT;
|
||||
{become_corpse();
|
||||
self.ammo_rockets = 2;DropBackpack();};
|
||||
void() ogre_bdie4 =[ $bdeath4, ogre_bdie5 ] {ai_forward(1);};
|
||||
void() ogre_bdie5 =[ $bdeath5, ogre_bdie6 ] {ai_forward(3);};
|
||||
|
|
|
@ -112,7 +112,7 @@ void() shalrath_die =
|
|||
|
||||
sound (self, CHAN_VOICE, "shalrath/death.wav", 1, ATTN_NORM);
|
||||
shal_death1();
|
||||
self.solid = SOLID_NOT;
|
||||
become_corpse();
|
||||
// insert death sounds here
|
||||
};
|
||||
|
||||
|
|
|
@ -293,7 +293,7 @@ void(entity attacker, float damage) sham_pain =
|
|||
|
||||
void() sham_death1 =[ $death1, sham_death2 ] {};
|
||||
void() sham_death2 =[ $death2, sham_death3 ] {};
|
||||
void() sham_death3 =[ $death3, sham_death4 ] {self.solid = SOLID_NOT;};
|
||||
void() sham_death3 =[ $death3, sham_death4 ] {become_corpse();};
|
||||
void() sham_death4 =[ $death4, sham_death5 ] {};
|
||||
void() sham_death5 =[ $death5, sham_death6 ] {};
|
||||
void() sham_death6 =[ $death6, sham_death7 ] {};
|
||||
|
|
|
@ -195,7 +195,7 @@ void() army_fire =
|
|||
void() army_die1 =[ $death1, army_die2 ] {};
|
||||
void() army_die2 =[ $death2, army_die3 ] {};
|
||||
void() army_die3 =[ $death3, army_die4 ]
|
||||
{self.solid = SOLID_NOT;self.ammo_shells = 5;DropBackpack();};
|
||||
{become_corpse();self.ammo_shells = 5;DropBackpack();};
|
||||
void() army_die4 =[ $death4, army_die5 ] {};
|
||||
void() army_die5 =[ $death5, army_die6 ] {};
|
||||
void() army_die6 =[ $death6, army_die7 ] {};
|
||||
|
@ -207,7 +207,7 @@ void() army_die10 =[ $death10, army_die10 ] {};
|
|||
void() army_cdie1 =[ $deathc1, army_cdie2 ] {};
|
||||
void() army_cdie2 =[ $deathc2, army_cdie3 ] {ai_back(5);};
|
||||
void() army_cdie3 =[ $deathc3, army_cdie4 ]
|
||||
{self.solid = SOLID_NOT;self.ammo_shells = 5;DropBackpack();ai_back(4);};
|
||||
{become_corpse();self.ammo_shells = 5;DropBackpack();ai_back(4);};
|
||||
void() army_cdie4 =[ $deathc4, army_cdie5 ] {ai_back(13);};
|
||||
void() army_cdie5 =[ $deathc5, army_cdie6 ] {ai_back(3);};
|
||||
void() army_cdie6 =[ $deathc6, army_cdie7 ] {ai_back(4);};
|
||||
|
|
Loading…
Reference in a new issue