Need help on Burnaway delay -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 13 years ago

Hi all. I have been playing around with Doom 3 for about 2 or 3 weeks now, and I am starting to get in to messing around with modding the program. So far I have not had too much trouble finding and understanding the way the game handles most scripts and activators. One thing however that I am having trouble finding good information on, is what files and keys describe the amount of time to delay before "Gibbing" a demon corpse? Specifically, I would like to delay the burn away effect for about a minute or so, after monster death. Which files and lines describe this function please? Help would be appreciated. DoomGuy1982




-J_B-

eh...

50 XP

30th December 2004

0 Uploads

196 Posts

0 Threads

#2 13 years ago

Its in im PRETTY SURE doom3\base\pak000.pk4\def\ and edit all the monster "burnaway" effects




Guest

I didn't make it!

0 XP

 
#3 13 years ago

Ok, well after an hour or so of searching the files for clues, I finally did find the lines that control the burnaway / gibbing for demons. I will post my find here, in case anyone else may want to include it in their mod. The file is.. C:\Program Files\Doom3\Base\Script\Ai_monster_base.script and the lines that control the delay before burnaway are in bold... ===================== monster_base::state_Dead ===================== */ void monster_base::state_Dead() { sys.wait( 3 ); if ( resurrect ) { hide(); stopRagdoll(); restorePosition(); // wait until we're resurrected waitUntil( 0 ); remove(); } else{ sys.wait( 10 );

float burnDelay = getFloatKey( "burnaway" ); if ( burnDelay != 0 ) { preBurn(); sys.wait( burnDelay ); burn(); startSound( "snd_burn", SND_CHANNEL_BODY, false ); } sys.wait( 3 ); remove(); } } /*

In this case, the number of seconds before the burnaway occurs is set to 10. Default is 3. Set this to an insane number to avoid the burn from occuring for a long time... Ex: sys.wait( 600 ); will set the demon body to burn away 10 minutes after it is killed. Hope this helps. DoomGuy1982




Gift

unDutchable

50 XP

23rd February 2004

0 Uploads

6,449 Posts

0 Threads

#4 13 years ago

heh interesting. Try to set the sys.wait to 0. I think they will remain for ever then




Guest

I didn't make it!

0 XP

 
#5 13 years ago

Unfortunately however, by disabling the burnaway, the game is not completable, since in the final encounter, you must use the soul cube 3 times to defeat the boss. The only way the creatures that you have to kill the charge the soulcube with can respawn, is if the old corpses burn away. Setting the value to a few minutes will not really be that big of a deal, and it will still allow the corpses to remain for a while, but disabling it, will cause the game to be unbeatable. Most people dont realize that about mobs that disable demon gibbing... DoomGuy1982