Jump to content
Sign in to follow this  
deddog

Help for a newbie

Recommended Posts

I am very new to editing an I am not sure how it works exactly. Could some one give me, as an example, of what I do to make troops eject out of a chopper? Any help would be great.

Share this post


Link to post
Share on other sites

As you are very new, i will tell you a very beginner friendly step by step explanation

Then when you will be more advanced with the editor, i will advice you to search the scripts snippets at http://www.ofpec.com to make a smoother parachute usage (but for now, that will be enough for you here to play with)

***First of all : To have the squad on the chopper***

For this, there are 2 possibilities Teleportation or normal get in

To load an infantry group in a chopper

1-Create a UH60 (example) , edit its properties and put its special on Flying

2- Select this chopper and create for it a LOAD waypoint at the point you want it to load an infantry squad

3-Create another waypoint , a MOVE one for a destination for the blackhawk

4- Create an infantry Group

5- Select the officer and make for him a GET IN waypoint very near to the LOAD waypoint of the UH60

6- Click on the Synchonize button of the menu , on the top of the screen

7- By pressing your mouse button on one of those 2 waypoints, draw a link between the GET IN and the LOAD waypoint. It will draw a blue line between them

To direct teleport the infantry group in the chopper cargo

1- Create a UH60 (example) , name it (for this example) HELICO and edit its properties and put its special on Flying

2- Create an infantry Group

3- Select and edit the officer properties and at its init line put this

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">TEAM1=group this; "_x moveincargo HELICO" foreach units TEAM1<span id='postcolor'>

This will name all the squad TEAM1 (for this example) and teleport every member of this squad named TEAM1 in cargo position of the UH60 named HELICO

If you want to move only one unit instead of a squad

edit the properties of the soldier you want to teleport in the UH60 , name it BOB (for this example)  and at its init line type this

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">BOB moveincargo HELICO<span id='postcolor'>

------Now you have your squad on the UH60------

Now let's eject the squad from the UH60

1-Create a MOVE waypoint for the chopper far away(so the chopper will move) , the best is to set the following in the properties of this waypoint.

Speed:  Limited

Combat Mode : Never Fire

Behaviour : Careless

2- At the point you want the squad to eject from the chopper , create a trigger (of course the trigger must be on the line of the UH60 to the MOVE waypoint)

At the line Activation , select WEST

At the line On Activation put this

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">cmd="EJECT"; "_x action [cmd,HELICO]" foreach units TEAM1; "unassignvehicle _x" forEach units TEAM1<span id='postcolor'>

with that the whole team named TEAM1 (the example from the begining) will eject themselves and open their parachute

And with the unassgnvehicle code they will not be linked to the UH60 anymore (if you dont put that part, after landing, the squad will follow the chopper to get in again)

If you want only the soldier of the example up there to be ejected , the line will be this

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">cmd="EJECT"; BOB action [cmd,HELICO]; unassignvehicle BOB<span id='postcolor'>

this will eject the soldier named BOB from the UH60 named HELICO and again with the unassignvehicle code , BOB will not try to get in the UH60 again after landing.

Note : With that whole squad parachute usage, sometime you will notice that some parachute will burn and their users will die before landing .

Note 2 , you will notice too that the chopper will only fly to a specific altitude, not very high (30-40 m i think) , if you want it to fly higher , edit the properties of the UH60  of this example up there and put that in the On Activation line

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this flyinheight 150<span id='postcolor'>

or (the result is the same)

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">HELICO flyinheight 150<span id='postcolor'>

This will force your UH60 to fly up to 150m altitude , then it will follow its waypoint

And your squad will parachute from higher

I hope this helps

Note 3

If you make yourself as the officer of the squad up there , it will not work like this, you will have to use your command menu ingame to order your men to disembark or to get in

But if you are a part of the squad (and not the officer) , it will work

Share this post


Link to post
Share on other sites

Thanks alot, that was more help then I expected to recieve. Again, thanks.

Share this post


Link to post
Share on other sites

Yeah, that's very good, I wasn't sure how to do that. Cheers Chronicles...

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  

×