Fire after explosion

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
BAR

Fire after explosion

Post 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?
UBER_SOLDAT
Warrant Officer
Posts: 127
Joined: Wed Aug 07, 2002 7:44 pm
Location: ENGLAND
Contact:

Post 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.
Post Reply