OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: NoMore on 12 Mar 2009, 16:46:49

Title: How to add parachute to a soldier?
Post by: NoMore on 12 Mar 2009, 16:46:49
Ok I have a few questions about parachutes...

How do you add a parachute to a soldier?
And can this parachute be one of those you don't have to use the ingame command "open parachute"?
You know the once that open when you jump from the vehicle.

I weren't able to find this anywhere, and I'm sorry if there is a post about the somewhere else I couldn't find.

Thanks
NoMore
Title: Re: How to add parachute to a soldier?
Post by: Ext3rmin4tor on 13 Mar 2009, 10:46:54
I don't think you can actually give a parachute for a soldier, but you can create an empty parachute with the classname "parachute" at the unit cohordinates and the move in the unit when you need to simulate it's opening the parachute.
Title: Re: How to add parachute to a soldier?
Post by: NightJay0044 on 15 Mar 2009, 20:46:37
Hi yes, what he said was a correct idea.

But what's better is this;

Step 1:
Create the player

Step 2: Create an empy parashoot.
Goto: empty > Air > parashoot
Name it : Para1 (or whichever you like)
For the special type: Flying (hit that)

Next in the initialization field of the player type this;

this moveindriver "para1"

When the mission starts you should now have a guy in a parashoot flying and falling.  :)...

But if your looking to add a parashoot to a guy who is not in the air yet, you either need some type of created addon or script to do that in which case I donot know how.

Hope that helps.

Title: Re: How to add parachute to a soldier?
Post by: Ext3rmin4tor on 16 Mar 2009, 13:28:19
Well if he needs a starting soldier falling down with the parachute open, then he just needs to place a para unit (under the air category) for that side and set the unit property to "flying"