Home   Help Search Login Register  

Author Topic: Helicopter spin up  (Read 777 times)

0 Members and 1 Guest are viewing this topic.

john_clark

  • Guest
Helicopter spin up
« on: 25 May 2005, 18:36:51 »
Does anyone know how to make a helicopter spin up, so it is ready to take off, but not lift off until the soldiers are on board?
« Last Edit: 25 May 2005, 18:37:07 by john_clark »

Offline 456820

  • Contributing Member
  • **
Re:Helicopter spin up
« Reply #1 on: 25 May 2005, 19:27:02 »
spin up? oh wait i understand now yes i do atleast i think i do

1. Create the chopper and put this in its init field or waypoint wichever needed
2. make a trigger
diameter 0, 0
condition = None
Activated = once
condition = unit_name IN chopper_name and unit_name2 IN chopper_name. (and so on until all men you want in the chopper are in the condition field)
on activation = chopper_name flyinheight 50

that basically makes it fly at 0metres until all men ae in it then allows it to take off and continu with its journey

NOTE - They may be an easier way to do this

john_clark

  • Guest
Re:Helicopter spin up
« Reply #2 on: 25 May 2005, 21:24:14 »
It works fine for the group that I am in, but not for a group (boarding the chopper), that is composed entirely of ai units.  Any suggestions?
« Last Edit: 25 May 2005, 21:56:39 by john_clark »

Grendel

  • Guest
Re:Helicopter spin up
« Reply #3 on: 25 May 2005, 21:38:37 »
you could try using an action command similar to engineon or something like that, look in the sticky topic at the top and see if there is an action posted already, as the action command syntax can be tricky (for me at least  ;))...and if the loons still try to take off you could always run a setpos loop to keep them in place untill you want them to take off...

-Grendel

john_clark

  • Guest
Re:Helicopter spin up
« Reply #4 on: 25 May 2005, 21:57:14 »
Could the problem be that I am trying to use more than one chopper at the same time?

How would I make a setpos loop?
« Last Edit: 25 May 2005, 22:08:44 by john_clark »

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Helicopter spin up
« Reply #5 on: 25 May 2005, 22:05:53 »
It's been a while since I played with choppers.

But, trying to remember......

Give the chopper a 'load' waypoint at its start position....

Give the AI group a 'get in' waypoint at the chopper.

Synchronise the two waypoints together.

I think that is right.......give it a try


Planck
I know a little about a lot, and a lot about a little.

john_clark

  • Guest
Re:Helicopter spin up
« Reply #6 on: 25 May 2005, 22:10:26 »
Yeah, I tried that,but the helicopter takes off first, then flies around... and then it lands.  This isn't quite what I want.  I want it to be ready to fly, but still on the ground, where it starts the mission.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Helicopter spin up
« Reply #7 on: 25 May 2005, 22:14:01 »
Did you synchronise the waypoints together?


Planck
I know a little about a lot, and a lot about a little.

john_clark

  • Guest
Re:Helicopter spin up
« Reply #8 on: 25 May 2005, 22:19:10 »
Yes, I did.  The first helicopter I did works fine, even with the group all being ai.  The second waits until the group is almost close enough to get in then takes off without them!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Helicopter spin up
« Reply #9 on: 25 May 2005, 22:21:17 »
An insubordinate pilot methinks.

Try moving the AI group slightly closer to the chopper.


Planck
I know a little about a lot, and a lot about a little.

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:Helicopter spin up
« Reply #10 on: 25 May 2005, 23:07:21 »
I'm just gonna provide a link to an image - This works for me everytime

http://www.ofp.nu/Grafik/large/Ai-LZ.jpg
There are 10 kinds of people in this world. Those who get it, and those who don't.

john_clark

  • Guest
Re:Helicopter spin up
« Reply #11 on: 26 May 2005, 14:27:44 »
I think I have fixed it.  I put an invisible H under all the choppers, and it seems to work fine now.  Thanks for all your help. :D