Home   Help Search Login Register  

Author Topic: Runways. Runways, Runways  (Read 2120 times)

0 Members and 1 Guest are viewing this topic.

Nasty Buttler

  • Guest
Runways. Runways, Runways
« on: 25 Aug 2002, 09:02:46 »
Hi,
   Any idea how to make a runway that the AI acknowledges is there?
IE so they can taxi, land and takeoff??

Please help this is the last thing i need done and then i can release my map

MadAussie

  • Guest
Re:Runways. Runways, Runways
« Reply #1 on: 25 Aug 2002, 12:14:12 »
Gday Mate..
I havn't been around for a while but to answer your question..
talk to marksman and get his cpp program..it will help with your runway problem..he helped me!
MadAussie out.....

Marksman

  • Guest
Re:Runways. Runways, Runways
« Reply #2 on: 25 Aug 2002, 12:34:14 »


[attachment deleted by admin]
« Last Edit: 25 Aug 2002, 12:35:52 by Marksman »

Nasty Buttler

  • Guest
Re:Runways. Runways, Runways
« Reply #3 on: 26 Aug 2002, 01:28:18 »
Thanx for the quick replies guys. I already have your great program marksman, problem is i dont know what everything is, i could stuff around for 2 years trying to get it working, i know the best runway for AI is north south, all i want is for the morons to land there. I think it might be a while before OFPEC is back online, so in the mean time can someone attach it here?

Thanx in advance
    Nasty

Marksman

  • Guest
Re:Runways. Runways, Runways
« Reply #4 on: 26 Aug 2002, 11:55:13 »
Hmmm.. well try this. No money back guarentee though, its been a while since i last did it  :P

North to South runway

ilsDirection[]={0,0.8,-1};
ilsPosition[]={X co-ordinate, Y-co-ordinate, Z co-ordinate};

To find these, you need to find out the co-ordinates of the point at the Southern end of the runway where you want the AI to aim at when landing.

Think you can get a script something like this

#loop
Hint (getpos Player);
~2
goto "loop"

This should display your position and update about every 2 seconds

ilsTaxiIn[]={X co-ordinate1, Y co-ordinate1, Z co-ordinate1, X co-ordinate2, Y co-ordinate2, Z co-ordinate2, ...... X co-ordinate#, Y co-ordinate#, Z co-ordinate#};

Same kinda thing as ilsPosition, except you can define as many Taxi waypoints as you want. Note: Aircraft go in straight lines, so to get a realistic turn, use a few waypoints per corner.

Same for ilsTaxiOff

If i remember rightly I think ilsTaxiIn is for after landing, and ilsTaxiOff is for going to take off

Try it, might work  ::)

But hopefully someone will post up the proper tutorial for ya  ;)

Marksman

Nasty Buttler

  • Guest
Re:Runways. Runways, Runways
« Reply #5 on: 27 Aug 2002, 08:00:09 »
i would still like the tutorial if someone has it......

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Runways. Runways, Runways
« Reply #6 on: 27 Aug 2002, 22:42:29 »
I think I have what you are looking for........but it is over 50kb zipped.........send me an e-mail and I`ll post it off to you.

mcnicoll7@yahoo.com

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

Marksman

  • Guest