Jump to content
Sign in to follow this  
Krikit386

Pre-rendered destoryed objects

Recommended Posts

So how do I recreate a destroyed object inthat it will be destroyed when the game starts? I know that you can adjust the health slider, which works ok, but it doesn't look to good, seeing the people and vehicles die right in front of you. It's also annoying trying to create plane crashes without said plane having to crash into a tree or something similar. And before you ask, yes, I checked the BIKI. I also used the search function on the forums.

Share this post


Link to post
Share on other sites

I believe thre are several "wreck" objects that you can place in the editor (if they suit your needs). Are you using A2, OA, or CO? For some ideas look here:

ArmA 2: CfgVehicles

Also checkout the ArmATech library for other objects.

If those don't work for you, it used to be that to prevent vehicles from exploding, set their fuel and ammo to 0 as well as use the damage slider. Perhaps that still works?

Share this post


Link to post
Share on other sites

For some units if you use

objectname setdamage 1;objectname enablesimulation false

will be enough, you may have to setpos the object a little lower before using objectname enablesimulation false if the object is floating.

Helicopters still seem to explode, the fix for this is to spawn them in the middle of nowhere and then move the destroyed object to the correct location.

Place A Heuy named heli off in the distance and place a game logic named test where you want the heli wreck in the game .

Place this in the init of the heli or game logic.

0=[] spawn {sleep 0.2;heli setpos [getpos test select 0,getpos test select 1,-0.5],;heli enablesimulation false}

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  

×