Page 1 of 1
Fire after explosion
Posted: Tue Dec 31, 2002 9:26 pm
by BAR
Ok this is wut i have fx>wallexploder and fx>fire i want the fire to stay there after the explosion how whould i do that?
Posted: Tue Dec 31, 2002 11:11 pm
by UBER_SOLDAT
im just guessing this, but i think it should work from what ive tried in maps before:
make a trigger to set off the explosion, and give it a setthread of explosion.
now put the explosion fx in, and give it a targetname of explosion
and put in the fire effect, targetname fire.
also, put a script origin in the same place as the explosion fx, and give it a targetname of explosion_point.
now open the script. in level waittill spawn, write:
thread fire_settup
now you need to write that thread. so put this at the bottom of the script:
fire_settup:
$fire hide
$explosion hide
end
that just hides all the stuff at the start of the level. now you need to make the thread for the explosion:
explosion:
radiusdamage ( ($explosion_point.origin) + (0 0 128) ) 512 640 0 //this just makes the explosion do some damage
$explosion show //make it reappear
$explosion anim start //start the animations
$fire show
$fire anim start
end
i has something similar for a flak exploding.