Raj 0 Posted September 16, 2004 Hi I have a little problem with my new island I just made. I have made a nice little airport with its runway and all the stuff which goes with it. The problem is that when I place an AI plane on the runway, it either goes off-track and then takes off (it eventually crashes among the trees) or it just remains idle. If someone knows how to fix this little problem, please I just want to get over with this island. Share this post Link to post Share on other sites
shinRaiden 0 Posted September 16, 2004 Could you post the config.cpp code for your runway pathing, along with an screenshot of the runway with coordinates noted? It would help to identifying problem and solution. Share this post Link to post Share on other sites
Raj 0 Posted September 21, 2004 Hi shinRaiden..."Could you post the config.cpp code for your runway pathing", Oops what that. All the config i have been through did not figure a runway pathing. Actually i'm new to the config. I have read several .config including Bas Tonal island, no mention of runway pathing. I think Tonal too have this problem. Whenever i place an plane, it doesn't take off. Please if you have a sample Cpp, please post it. Share this post Link to post Share on other sites
-=BT=- Matty R 0 Posted September 21, 2004 Hmm i no this is off topic but Tonal has servel Airports and only the main one works.. may be some help Share this post Link to post Share on other sites
Raj 0 Posted September 23, 2004 Quote[/b] ]Hmm i no this is off topic but Tonal has servel Airports and only the main one works.. may be some help I have just been through the config and found nothing concerning the airport. I was just searching for the piece of code for the AI to take off. If anyone know how to write these lines or already have a sample, PLEASE do inform me. It's just anoying to create missions. By the way -=BT=- Matty R,i have been through the config several times but did not find anything about it. Thanks. Share this post Link to post Share on other sites
Unnamed_ 0 Posted September 23, 2004 This thread at OFPEC might help? Try the serach function if it does not, there are a few more: http://www.ofpec.com/yabbse....start=0 Share this post Link to post Share on other sites
philcommando 0 Posted September 25, 2004 I am glad u have taken time to produce an island for the community. As for the airport problem u faced, there is an easy solution on hand. All u need is to add just another 4 lines into your island config and the AI plane should be able to take off and land automatically. The lines are:- ilsPosition[]={4172,7012}; ilsDirection[]={0,0.080000,1}; ilsTaxiIn[]={}; ilsTaxiOff[]={}; For ilsPosition, u will have to determined the co-ordinates where u want the aircraft touchdown on your map editor. Move your cursor to the spot and u should be able to see the xyz co-ordinates reflected on the editor. Use those co-ords and paste it on the ilsposition config line.( use the x and y set) ilsDirection just means where the plane is comming from. For ilsDirection, i would suggest u just use the above mention codes for an approach from the south. If u wanna use an approach from the north then just replace the 1 with -1. Should u place it other than a NorthSouth heading, it can be very tricky..not advisable if u are just trying out. For taxi positions, it may be a bit complex as u would have to determine the co-ords for the waypoints where the plane would go to after landing and how to move to the takeoff point from rest. However should u want something better i would advise a tutorial by Marksman as he does explain indepth to want u may require to set up a proper airport from the above post. So far based on experiments, it seems there can only be one working AI airport per island, for the ils config can only be used onced. Share this post Link to post Share on other sites
Raj 0 Posted September 30, 2004 Quote[/b] ]I am glad u have taken time to produce an island for the community. As for the airport problem u faced, there is an easy solution on hand.All u need is to add just another 4 lines into your island config and the AI plane should be able to take off and land automatically. The lines are:- ilsPosition[]={4172,7012}; ilsDirection[]={0,0.080000,1}; ilsTaxiIn[]={}; ilsTaxiOff[]={}; For ilsPosition, u will have to determined the co-ordinates where u want the aircraft touchdown on your map editor. Move your cursor to the spot and u should be able to see the xyz co-ordinates reflected on the editor. Use those co-ords and paste it on the ilsposition config line.( use the x and y set) ilsDirection just means where the plane is comming from. For ilsDirection, i would suggest u just use the above mention codes for an approach from the south. If u wanna use an approach from the north then just replace the 1 with -1. Should u place it other than a NorthSouth heading, it can be very tricky..not advisable if u are just trying out. For taxi positions, it may be a bit complex as u would have to determine the co-ords for the waypoints where the plane would go to after landing and how to move to the takeoff point from rest. However should u want something better i would advise a tutorial by Marksman as he does explain indepth to want u may require to set up a proper airport from the above post. So far based on experiments, it seems there can only be one working AI airport per island, for the ils config can only be used onced. Cool it works A very warm thanks philcommando. Share this post Link to post Share on other sites