Jump to content
Sign in to follow this  
panicsferd

how to make it so that a vehicle destroyed does not still show fire and smoke?

Recommended Posts

I had hard time coming up with the right wording for this question (doesn't give you much characters to write a question) but I am wondering if it is at all possible for me to make so that when I set a vehicle (a helicopter in this case) to be destroyed in the editor is there a way I can have it so that it is not on fire/smoking?

I am planning on using this for one of my missions where like a helicopter has went down, but I do not want it to be like it just went down recently. I want it to be like if it has been several hours, etc.

Share this post


Link to post
Share on other sites

This should do what you require, just copy-paste it into your vehicle's init box.

this setdamage 1; this enablesimulation false;

Regards Hawk.

Share this post


Link to post
Share on other sites
This should do what you require, just copy-paste it into your vehicle's init box.

this setdamage 1; this enablesimulation false;

Regards Hawk.

Thanks, that worked really well. I did notice though however with the helicopter it still has it's full form and only it's texture has changed to that damage look, maybe if I had it blown up first then disable it's simulation a few seconds after would that give me the crash look but without the fire/smoke?

Share this post


Link to post
Share on other sites

I don't know which helicopter you're using, but there is a static object of a Blackfoot wreck somewhere in the editor.

Share this post


Link to post
Share on other sites
I don't know which helicopter you're using, but there is a static object of a Blackfoot wreck somewhere in the editor.

That wouldn't work because I am using the AH-9 Pawnee as my helicopter. I was almost thinking of maybe tweaking my mission and making it the blackfoot, so that I would have that static object and not have to worry so much about this.

I did notice to with what I asked above it does work to destroy the vehicle and then do the "enableSimulation false" but then I noticed if you walk near the crashed helicopter the player still gets injured by the fire/flames?

A rough draft of my mission is where the I want the player to retrieve something from the crashsite and so far he can't retrieve it if he keeps dying from being too close to a fire.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×