Home   Help Search Login Register  

Author Topic: low flying helicopter drop  (Read 2468 times)

0 Members and 1 Guest are viewing this topic.

vectordude

  • Guest
low flying helicopter drop
« on: 16 Sep 2002, 08:33:21 »
i have a helicopter (littlebird) with resistance soldiers sittin on it and want to drop the guys off as the thing is flying low and slow. but they wont eject for darned hell...lol

can somebody help me?

Kaliyuga

  • Guest
Re:low flying helicopter drop
« Reply #1 on: 16 Sep 2002, 08:44:56 »
To Quote Sui:
Quote
However here's a few things I do know that some people may not:

Heli land "X" ( nameofheli land "x")

There are a lot of misconceptions about the land command running around... when I use these (I'd rather use waypoints if at all possible), here's how I generally do it:


Heli land "get in"
This is used when picking up troops (duh ). The trick is to assign troops as cargo before you issue the chopper with the land command. Then the chopper will wait until all units assigned to it are aboard (or confirmed dead) before going anywhere

Heli land "get out"
Use this when unloading troops. Unassignvehicle _x all your troops that you wish to disembark before issuing the land command. Then the chopper will wait until all troops disembarking are out of the chopper (or confirmed dead) before taking off again

Heli land "land"
Unconditional land command. The chopper lands and stops it's engine (if left long enough). I don't often use this command, as normally loading and unloading are the only times I want the chopper on the ground.

Hope this helps clear up some things for you..... if you want to come in low then using "eject" won't work for ya
:toocool:


Ronin

  • Guest
Re:low flying helicopter drop
« Reply #2 on: 17 Sep 2002, 02:58:16 »
Oooh, ooh, I know this one, I know this one...

Ahem,
Hi    ;D

I just did I think exactly what you want to do, have a helo fly in low and drop soldiers off when it gets to about 2 metres off the ground then fly off.

Try creating this script:

helo1 flyinheight 10
helo1 move getmarkerpos "way1"
@unitready helo1
helo1 setspeedmode "limited"
helo1 setbehaviour "Careless"
helo1 move getpos helipad
helo1 flyinheight 4
@unitready helo1
@(getpos helo1 select 2) < 5
@speed helo1 < 4

p1 exec "alphaexit.sqs"

@Not (p1 in helo1) AND not (p2 in helo1) AND not (p3 in helo1)
helo1 move getmarkerpos "way2"
Exit

Where helo1 is your helicopter, p1 is you, p2 and 3 are your soldiers, way1 is a marker just before your landing site (an invisible helipad called helipad) and way2 is another marker far off in the distance.

Alphaexit is a script that ejects units from a helicopter, I found it in the old ofpec.   I can't post it now because I'm at work, but someone else may have it or run a search of the boards.

If you can't find it try using this command instead of alphaexit.sqs,  I found that the eject command did work for me.

unitname action ["eject", heloname ]

I think that's it,

Hope I helped
Ronin
« Last Edit: 17 Sep 2002, 02:59:37 by Ronin »

T.S.C.Plage

  • Guest
Re:low flying helicopter drop
« Reply #3 on: 17 Sep 2002, 07:04:34 »
Ok, I'm not sure how many units can be in cargo of the OH-6 but I think it are six or so, so I'm taking six units for my example:

First you've to get the chopper about two meters of the ground (waypoints, script what ever...).
But think you got it made already  cause you said "low and slow".

Second each of the "dropped" units needs his own name (I've taken s1, s2, s3...s6).

Now create a script called "drop.sqs" for example:

unassignvehicle s1
s1 action ["eject",choppername]
~1
unassignvehicle s2
s2 action ["eject",choppername]
~1
unassignvehicle s3
s3 action ["eject",choppername]
~1
unassignvehicle s4
s4 action ["eject",choppername]
~1
unassignvehicle s5
s5 action ["eject",choppername]
~1
unassignvehicle s6
s6 action ["eject",choppername]

exit


Create a trigger activated by the OH-6 at your "dropzone" and write this exec "drop.sqs" in On Activation.

Now the guys are jumping of the chopper with a delay of one second (~1) if you don't need it you can delete the lines or turn them to ~0...but I think it looks better.

You can use normal waypoints to lead the way of the group/units from the dropzone.

Think that's the easiest way! ;)


Greetz
Plage

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:low flying helicopter drop
« Reply #4 on: 18 Sep 2002, 12:28:30 »


[attachment deleted by admin]

headshot

  • Guest
alphaexitsqs
« Reply #5 on: 19 Sep 2002, 23:17:28 »


[attachment deleted by admin]

headshot

  • Guest
help alphaexit.sqs
« Reply #6 on: 19 Sep 2002, 23:27:43 »


[attachment deleted by admin]

vectordude

  • Guest
Re:low flying helicopter drop
« Reply #7 on: 20 Sep 2002, 08:59:59 »
thx sui for the script, but is there any way to make it go down in a specific spot? i haven't tried to place a helipad invisible yet....maybe i'll try that

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:low flying helicopter drop
« Reply #8 on: 20 Sep 2002, 12:04:44 »
The invisible "H" pad is the best / closest you'll get when it comes to
defining exact landing spots - but it still takes a piece of flat square to do it  :P
The choppers won't land on any hill sides etc.

A workaround for that COULD be made, though  :o 8)

Try a very low altitude setting in a WP or two,
and then kick the guys out there  :D using a bail script.

So the chopper could "flyinheight 5", so that the guys wouldn't
get killed when they were kicked outta the bird.

Off course, ya need to slide the two "flyinheight 5" WP's
upon each other - to prevent the bird from flying into trees etc.  ::) ;D





« Last Edit: 20 Sep 2002, 12:08:44 by Tomb »

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:low flying helicopter drop
« Reply #9 on: 21 Sep 2002, 04:49:45 »
thx sui for the script, but is there any way to make it go down in a specific spot? i haven't tried to place a helipad invisible yet....maybe i'll try that

For my script (note: i mean in that specific instance) the invisible H won't really do anything as the chopper isn't landing...

The spot the chopper unloads will be controlled by the placement of the waypoint that has the condition in it, and to a lesser extend the placement of the waypoint which activates the script.

I suggest the waypoint before that reducing the helicopter's speed to limited (and giving it enough distance to slow down properly), then it won't overshoot the landing area ;)

RedKnyte

  • Guest
Re:low flying helicopter drop
« Reply #10 on: 21 Sep 2002, 05:52:50 »
Well hello everybody......guess I've got this whole thing worked out. I've check the whole comref and guess what, I've just found the answer to the prob here. Well here goes...

This is the little command I've found updated here:
"helicopter" land "LAND"

Well, I know that the string is common to all of you here but I've checked the updated one and I've found that there are two other strings using the same command:

1. "helicopter" land "GET IN"
2. "helicopter land "GET OUT"

The difference is...using GET OUT will have the chopper fly low (like you've said) and have the troops on board disembark (another independent command - you have to check it yerself) be4 proceeding. The GET IN string is exactly the oppsite of GET OUT where troops are extracted....well I haven't check it out myself but I read it in th OFFICIAL comref so don't blame me if anything goes wrong okay....

Good luck Vector and good editing. ;D

lilmat

  • Guest
Re:low flying helicopter drop
« Reply #11 on: 21 Sep 2002, 08:45:46 »
Hello All ;D
Now this isn't really a solve for this, it seems there is
enough here to complete the answer. But just want to
mention if you were to use a "h" for a heli to land. When
the heli moves to the "h" to land, if you were to slowly
decrease the height of the heli to the "h" I would not make
the heli lower than about 20-25m above ground when he gets
to the "h" I have noticed if you do he lifts up, then down to
land. Hope I have added some good info, because as we all
know, choppers landing or hovering can be a bit of a trick
to get working well most of the time.! ;D