Home   Help Search Login Register  

Author Topic: Fast and accurate Chopper unload  (Read 753 times)

0 Members and 1 Guest are viewing this topic.

Hovmand

  • Guest
Fast and accurate Chopper unload
« on: 03 Nov 2002, 23:58:05 »
I have tried making a chopper do a fast and precise landing at an invisible H in a hot LZ and then go off to another WP. It works, well most of it, it just takes forever and the chopper circles the H before landing.

I just need it to go in and wait 3-4 secs so its passengers can get out and then leave, no screwing around, circling the place and taking forever to land.

Can you guys help me?!?  ???

Lancer512

  • Guest
Re:Fast and accurate Chopper unload
« Reply #1 on: 04 Nov 2002, 22:46:26 »
For a human contolled group:
Assign the "Transport Unload" waypoint to the chopper, and assign the "Get Out" waypoint to the group inside the chopper. Normally, the Get Out waypoint only disembarks the leader, he has to order his group to disembark. However, if it is AI controlled, the whole group will disembark. However, there is a trick I found out:

Place a trigger on the invisible H that is triggered by your group leader when ihe is not inside the chopper anymore by setting the condition to: "vehicle (Ldr) != helo" ("Ldr" and "Helo" are the Group leader and the chopper), and have him execute the "eject script", which is also used to drop parachuters. Just search the scripts for something like "heloexit.sqs" or "eject.sqs".

Works for me just fine, but it will take 6 seconds for a whole group to unload... I need a 1 second spacing between the ejections, maybe a shorter time will work, but it did not work for me with just one AI in my group. The chopper took off after I disembarked and my second soldier fell down...

Another advantage is, that as a human controlled leader, you do not have to order your group to get out. They will do it by themselves because of the ejection script...

The chopper will fly straight to the LZ, but takes an awfull long time to descent...

I have included the misison as a pbo file. I used a 0.5 second spacing, and it takes approx. 6 seconds from touch down to lift off.
« Last Edit: 04 Nov 2002, 23:32:23 by Lancer512 »

david-p

  • Guest
Re:Fast and accurate Chopper unload
« Reply #2 on: 05 Nov 2002, 15:50:03 »
in my current one i have a helo touch down pretty sharpish. though, in mine, it does rely on the players not paying too much attention to it, and being too busy running away :D when an AI controlled helo loses speed it shoots right into the air, and so takes ages to come down. so save time earlier on: drop the flying altitude and speed gradually over the approach. obviously it depends on where the player is, but in mine it is hardly noticeable, and looks like the helo drops really quickly.

Hovmand

  • Guest
Re:Fast and accurate Chopper unload
« Reply #3 on: 05 Nov 2002, 16:08:43 »
Thanks :), it works fine when there are no enemies in the LZ, but if i place a group of ruskies the chopper starts acting wierd (well who wouldnÂ't if you where getting fired at). The thing is i want it to not care and just land, i have tried setting the chopperÂ's behaviour to careless but when he reaches the transport unload waypoint he starts looking for a safer place to land  ???

But thanks anyway  :)

Lancer512

  • Guest
Re:Fast and accurate Chopper unload
« Reply #4 on: 05 Nov 2002, 18:28:50 »
Try setting the behaviour of the chopper to "careless"...

Hovmand

  • Guest
Re:Fast and accurate Chopper unload
« Reply #5 on: 06 Nov 2002, 01:11:17 »
IÂ've done that, both in the unit init line and set the waypoint to careless  ???

Lancer512

  • Guest
Re:Fast and accurate Chopper unload
« Reply #6 on: 06 Nov 2002, 02:53:59 »
Oops. Haven't read all of you last message...

Maybe have the russkies be quiet and shoot only when all of your boys or just the leader is out of the chopper? Try that with the heloexit trigger...

Other wise.. No idea...