Jump to content
Sign in to follow this  
FireflyPL

Script which would throw bodies into the air.

Recommended Posts

I ve been thinking today about one thing. Is it possible to throw soldiers or their bodies by some script at different angles and directions? What I mean is I would like to see such script that durring explosion throws bodies into the air or out of the vehicles. It would be great thing for missions where players who drive second vehicles in convoy are surprised when the IED explodes and the body of the collegue from first attacked vehicle is thrown onto player's car windscreen and/or mask. I think it would have as much of atmosfere as in BHD movie when Lt.Col.McKnight's convoy is hit by rpgs and one of the soldiers (cut in half) is thrown out of the truck,

What do you think? Is it possible to create such script? I am not good at scripting, I m just newbie at this smile_o.gif

Share this post


Link to post
Share on other sites

the terminator addon included a gun that made bodies fly into the air very high. alas it is not compatible with above 1.46 Resi OFP, but you might look for the config values used there.

Share this post


Link to post
Share on other sites
the terminator addon included a gun that made bodies fly into the air very high. alas it is not compatible with above 1.46 Resi OFP, but you might look for the config values used there.

Thanx for reply. I ll try to do that smile_o.gif. But if its not 1.46 < compatible then maybe there is some other script?

Share this post


Link to post
Share on other sites

I did this trick in an intro with a Huey, AA hits the Side and throws out some of the passengers.

What i did was add an eventhandler to the chopper so when it is hit i can then Getpos(Setpos) some of the crew/Cargo out of the chopper and give them a Dieing playmove(Doing this gives the effect of RagDoll and not the STIFF board EFFECT).

While this is happening the EXPLOSION will blow them out of the heli in various directions.

I would think this would work for a ground vehicle but i would setpos(Getpos) + 1.5 to get the Explosion under them so it would make them Fly out of the car and land 50-75 feet away.

Hope this Helps.

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  

×