Burning effect

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

HaTeMe

FNG / Fresh Meat
Nov 20, 2009
2,675
549
0
Behind You!
Ive been searching through the flamethrower code and cant find the damned line which makes specimens burst in flames when hit. Also checked everything else flame/fire related.

What Im trying to do is implement this burning effect on another weapon, so would someone kindly point out which file applies the burning effect on specimens and which part of the code :)?
 

YoYoBatty

FNG / Fresh Meat
Dec 17, 2009
3,460
2,502
0
Canada
It's in KFMonster.uc it detects any fire related damage and depending on the amount is taken it will burst into flames.
 

HaTeMe

FNG / Fresh Meat
Nov 20, 2009
2,675
549
0
Behind You!
Oh so basically its not in the weapon properties at all! I will look through the code and do some further testing.

EDIT: Made it work now, it was only a matter of changing the damage type to Burned and increasing the damage enough to set them ablaze.
 
Last edited:

ro_sauce

FNG / Fresh Meat
Sep 26, 2007
3,135
329
0
bwhgaming.com
yeah i think i saw the burn code in the zeds own files, to material change to "burned" texture after so much burn amount damage.
so can you just make the new gun do damage=burning? (whatever damage the flamethrower does)