Forum Archive

Go Back   3D Realms Forums > 3D Realms Topics > Other Apogee/3D Realms Games > Prey
Blogs FAQ Community Calendar

Notices

 
 
Thread Tools
Old 07-23-2006, 07:32 PM   #1
Chris Dri

Chris Dri's Avatar
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
Chris Dri is offline  
Old 07-23-2006, 07:44 PM   #2
unreal2000
Re: How to stop corpses going to wonderland?
they disapear for a reason for optimization
unreal2000 is offline  
Old 07-23-2006, 07:50 PM   #3
d3ad connection

d3ad connection's Avatar
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();
}
d3ad connection is offline  
Old 07-23-2006, 10:37 PM   #4
Mac W
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.
Mac W is offline  
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 04:54 PM.

Page generated in 0.11072206 seconds (100.00% PHP - 0% MySQL) with 17 queries

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

Website is ©1987-2014 Apogee Software, Ltd.
Ideas and messages posted here become property of Apogee Software Ltd.