I've read in the faq about creating a unit with parachute; however, I play not as a pilot and want to eject in mid air, and my squad, too. So, can we have parachutes?
I've read in the faq about creating a unit with parachute; however, I play not as a pilot and want to eject in mid air, and my squad, too. So, can we have parachutes?
<span style=\'color:blue\'>Единый</span>,<span style=\'color:yellow\'>могучий</span>,<span style=\'color:red\'>Советский Союз</span>!
Place empty parachutes and set them to flying (like helicopters)
Then put your soldiers in them using moveindriver comand, like this: mireazma moveindriver chute.
Just name all your soldiers, solA, solB, solC, and parachutes like parA, parB, parC, etc.
Or, if you want them to actually eject from a vehicle, try running this script whenever you feel the soldier laddies should start disembarking (this one's for an example squad of 8 men with all men named solA, SolB, SolC etc., search around if you want to make a more universal script):
parachute.sqs
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
~0.5
#start
solA groupChat "Go go go!"
~2
SolA action ["eject"]
unassignVehicle SolA
~2
SolB action ["eject"]
unassignVehicle SolB
~2
SolC action ["eject"]
unassignVehicle SolC
~2
SolD action ["eject"]
unassignVehicle SolD
~2
SolE action ["eject"]
unassignVehicle SolE
~2
SolF action ["eject"]
unassignVehicle SolF
~2
SolG action ["eject"]
unassignVehicle SolG
~2
SolH action ["eject"]
unassignVehicle SolH
~2
solA groupChat "Everyone's out"
exit
[/QUOTE]
As you can see, that's a lot of text for a simple script, and needs the units to be named accordingly, so you really should try to find/create a better one. But that should explain the basics of parachuting.
I know when I eject from chopper, I fall and die cause I don't have a chute. I think neither the squad. So, that's the problem.
Thanks for replying.
AFAIK all units have a parachute by default when ejecting from an aircraft, however, if the aircraft is flying low they will appear without a parachute (as the chute wouldn't have time to open and slow the jumper down anyways). So I'd make sure the AI pilot is flying high enough by telling him to keep a certain height. Try putting this into his init field:
this flyInHeight 200
200 is, surprisingly, the altitude (in meters) where the aircraft should be flying. Change it to suit your needs.
Also, if you are using an addon helicopter, it could have the parachutes disabled.
I see clearly now.
That's why I was dieing when ejecting..)
Thanks to all.
There are actual parachute addons also, but they only work for the player. Like actual equipment, that you control from the action menu and add on to yourself like "addweapon this etc.."
There are two that I know of.