![]() |
#1 |
How to stop corpses going to wonderland?
Does anyone have a quick and dirty guide for stopping the enemies from just randomly disintegrating about 10 seconds after you kill them.
I'm making quick changes to the weapons to make the game more fair. (especially seen as they took ALL the health powerups out of cherokee mode). One weapon i have made will push a baddies along till it comes up against a wall. The trouble is the bodies keep disintegrating! Bah! Your local frankenstien, CD |
|
![]() |
![]() |
#2 |
Re: How to stop corpses going to wonderland?
they disapear for a reason for optimization
|
|
![]() |
![]() |
#3 |
Re: How to stop corpses going to wonderland?
Found it.
Under ai_monster_base_simple.script, Search for monster_base_simple::state_Dead and replace the entire thing with: Code:
void monster_base_simple::state_Dead() { //our own system for removing dead monsters if ( getKey( "fx_deatheffect" ) != "" ) { return; } //float burnDelay = getFloatKey( "burnaway" ); //if ( burnDelay != 0 ) { // preBurn(); // sys.wait( burnDelay ); // burn(); // startSound( "snd_burn", SND_CHANNEL_BODY, false ); //} sys.wait( 3 ); if ( ai_resurrect ) { hide(); stopRagdoll(); restorePosition(); // wait until we're resurrected waitUntil( 0 ); } //remove(); } |
|
![]() |
![]() |
#4 |
Re: How to stop corpses going to wonderland?
If someone can find a way to replace the disintegration effect with gibbing, it would be appreciated. I know it's possible to mod it so that enemies gib as soon as they die, but I want the enemies to stay on the ground for a few seconds and then suddenly gib for no apparent reason.
|
|
![]() |
Bookmarks |
|
|