Home   Help Search Login Register  

Author Topic: Help with parachuting/altitude  (Read 745 times)

0 Members and 1 Guest are viewing this topic.

Offline MythPro1

  • Members
  • *
  • That is not your daddy's shotgun, Cowboy!!!
Help with parachuting/altitude
« on: 24 Nov 2002, 05:43:44 »
Hey all, been awhile.

Ok how do I set the altitude of my parachuter? Also how do I make other units besides the parachuter be able to parachute at the beginning of them ap and not exit a vehicle?

Kaliyuga

  • Guest
Re:Help with parachuting/altitude
« Reply #1 on: 24 Nov 2002, 11:28:42 »
 Hmm....  I'm not sure exactly what you're after here from your post.. but my suggestions are....

I'd use setpos to get that chute up in the air (an empty one from the editor..that you've named) .. and use
moveindriver to make the moron climb on in
 I'd suggest somewhere in the neighborhood of 60-70 meters??

Guess that depends on conditions.. such as wind and terrain

 this method should work for yer AI dudes as well.. as the player ;)


Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Help with parachuting/altitude
« Reply #2 on: 24 Nov 2002, 12:56:01 »
Euhm...well, yes, if the good old "Flying" isn't good enough, you can increase altitude with the setpos command, as so:

unit setpos[(getpos unit select 0), (getpos unit select 1), #]

unit= name of unit
#= height in meters above ground

And as to making other parachute, the "easiest" way would be to create a bunch of empty parachutes, set to "flying", name, and then move in soldiers with the moveInDriver command (s1 moveInDriver parachute1). The other way would be to "misuse" a HALO drop script by making the chute opening height and the starting height the same...eliminates the need for individual parachutes for each and every soldier, at least.

Specify, if this is not what you needed. Otherwise, g'luck! :thumbsup:

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"