Home   Help Search Login Register  

Author Topic: paradrop.sqs (height problems)  (Read 647 times)

0 Members and 1 Guest are viewing this topic.

ghostunit

  • Guest
paradrop.sqs (height problems)
« on: 24 Mar 2003, 14:38:32 »
  >:(      I have downloaded two para scrpits both work the same but! in the first waypoint i have a flyinheight of 120-125. when i use anything above this the helli goes around in circles at the next waypoint which is the para.sqs, and does not exec the .sqs. i have even tried this in the missions that came with the scripts and it is the same result pls will someone add to the this script a specifeid height so it will still exec the .sqs. is this a game bug? i want to be able to parachute above 200-300. :-*


_aunits = units L1
_i = 0
_Max = count _aunits

#Here
(_aunits select _i) action ["EJECT",helo]
unassignvehicle (_aunits select _i)
_i=_i+1
~1
?_Max>_i:goto "Here"

exit

asmodeus

  • Guest
Re:paradrop.sqs (height problems)
« Reply #1 on: 26 Mar 2003, 07:51:37 »
I don't know if this helps, but I know toadlife's real HALO script on the front page of this site has the ability to jump from very high and it's an excellent parachute script for AI...   ;)

If that doesn't help, maybe it's the type of chopper you're using?  (The Chinook would probably be the best for high altitudes, but I'm not sure...)   ::)   ;)

Asmo
« Last Edit: 26 Mar 2003, 07:52:29 by Asmodeus »

Ace

  • Guest
Re:paradrop.sqs (height problems)
« Reply #2 on: 26 Mar 2003, 09:16:04 »
yes i'd recomend toadlifes script.

Unless you want to make an infatic loop setpos script that loops every millisecond and lifts th chopper up half a meter every milisecond so it looks like the chopper is flying up naturally....

Ok, maybe toadlifes script is the best!


Flapje

  • Guest
Re:paradrop.sqs (height problems)
« Reply #3 on: 26 Mar 2003, 20:34:03 »
I got the same problem but with SEBnam pack, and I don't think they did very much paradrops in nam :P, so if anybody knows a solution anyway...

btw. my chopper flies at 250 I think
« Last Edit: 26 Mar 2003, 20:39:02 by Flapje »

Offline toadlife

  • OFPEC Old Skool
  • Former Staff
  • ****
  • Official OFP Editing Center Toad
    • toadlife.net
Re:paradrop.sqs (height problems)
« Reply #4 on: 26 Mar 2003, 21:56:08 »
IN order to get a chopper to fly above 120m, you cannot use standard waypoints. You have to use the "move" command.

The way I do it is to use gamelogics as waypoints and a script like so:

chopper move getpos gl1
@chopper distance gl1 < 700
chopper move getpos gl2
@chopper distance gl2 < 700


This is messy but it works relatively well. The distance ususally has to be adjusted according to the alititude the chopper flies at. I can get choppers to fly at 450m using this method. Any alitiude over that will never work.

« Last Edit: 26 Mar 2003, 21:56:34 by toadlife »
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.