Home   Help Search Login Register  

Author Topic: Getting Planes to Take Off/Land  (Read 649 times)

0 Members and 1 Guest are viewing this topic.

Victor1234

  • Guest
Getting Planes to Take Off/Land
« on: 26 Dec 2005, 03:05:45 »
I've experimented a bit with waypoints to try and get fixed-wing aircraft to take off, but no matter what I do with the waypoints, the planes veer off the runway and go forward at the same speed until they hit something/blow up. Since the answer to getting planes to take off is not in the waypoints(or at least, I'm convinced it isn't) I'm thinking that maybe I need a script....I haven't had any success in getting the AI to land aircraft either, so I think I need a script for that too, and browsing the scripts available in the Editing Depot, there's nothing to fit this description.

Thanks in advance,

Victor

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting Planes to Take Off/Land
« Reply #1 on: 26 Dec 2005, 04:25:36 »
You don't need any waypoints to make a plane take off.

Just place it on the taxiway facing south, it will taxi to the runway and take off automatically.

You only need to put a waypoint for where you want it to go afterwards.


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

Offline OrnelP

  • Members
  • *
  • "The true battlefield is within"
Re:Getting Planes to Take Off/Land
« Reply #2 on: 30 Dec 2005, 04:38:59 »
I have also seen this, On the island of Nogova to the northern most island has a small
 
airfield, i put planes on it and they all turn to the right and flyinto the hanger and

explode.  Also the planes take off facing North.  As far as i understand they only take off

from designated airfields and only face north to take off and come in from the south,

there can only be one airfield with working AI to land planes though so i dont think that

small airfield is designated. -OrnelP    :-\
« Last Edit: 30 Dec 2005, 04:39:56 by OrnelP »
War is delightful to those who have had no experience of it
- Deciderius Erasmus

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Getting Planes to Take Off/Land
« Reply #3 on: 30 Dec 2005, 05:34:58 »
Correct, there can be only one working airfield per island.

The working airfield on Nogova is the one in the south-west corner.


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

Offline Ding

  • Contributing Member
  • **
  • Jurassic Park
Re:Getting Planes to Take Off/Land
« Reply #4 on: 30 Dec 2005, 11:07:50 »
i was doing some experimenting, and i found out that if you want a plane to take off imidiatly place it on a runway set it as flying, then put this setpos command in the init:

this setpos [(GetPos this select 0),(GetPos this select 1), 0.2]

and it starts flying and pulls up after a few seconds
"If I remain lost and die on a cross, atleast I wasn't born in a manger"