OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Nasty Buttler 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
-
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.....
-
[attachment deleted by admin]
-
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
-
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
-
i would still like the tutorial if someone has it......
-
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
-
"Defining Airstrips and Taxiways Tutorial" here (http://www.ofpec.com/editors/Tutorials/wrpedit/Defining_Airstrips_and_Taxiways.zip)