Jump to content
Sign in to follow this  
—=R.I.P.=—™

Config setup for runway on newly made island.

Recommended Posts

Hi all.  I've searched for this and did not come up with anything.  One of my squad members has made an island and it is almost ready for release only he is having a problem getting the ai to use the runways properly. Here is what he has to say:

"Ok, I have built the island, and have the runways and all that stuff, and have a good working config file, but my problem lies in the AI being able to use the runways.  I have used the filewriter, and have also done it by hand, as far as getting the co-ordinates, but as of yet have had no luck  

Here is what I have tried to date:

ilsPostition[] = {9525.0,8997.9,0}; // TOUCHDOWN  

ilsDirection[] = {0,0.08,1};  // SOUTH

ilsTaxiIn[] =  

{

 9525.0,6625.0,0.0 // HALT POINT

 9554.9,6625.1,0.0 // POINT 0, turns onto taxiway

 9537.6,6628.0,0.0 // POINT 1, follows taxiway around turn

 9575.0,6706.4,0.0 // POINT 2, progresses up the taxiway (NORTH) towards centerpoint of taxiway

 9575.0,7158.9,0.0 // POINT 3

 9575.0,7314.4,0.0 // POINT 4

 9575.0,7730.0,0.0 // CENTER OF TAXIWAY

};

ilsTaxiOff[] =  

{

 9525.0,7730.0,0.0 // CENTER OF TAXIWAY

 9575.0,7799.7,0.0 // POINT 5, first point heading north along taxiway towards runway (NORTH)

 9575.0,7951.8,0.0 // POINT 6

 9575.0,8404.6,0.0 // POINT 7

 9575.0,8807.4,0.0 // POINT 8 , follows turn in taxiway towards runway

 9573.1,8973.3,0.0 // POINT 9 , enters onto runway

 9555.0,8975.0,0.0 // POINT 10 , follows the next few points for alignment for takeoff, heading SOUTH

 9525.0,8964.2,0.0 // POINT 11

 9525.0,8941.2,0.0 // POINT 12

 9525.0,8907.4,0.0 // POINT 13

 9525.0,8865.8,0.0 // POINT 14 , ready for takeoff

};

 

       

Now, just to clarfiy everything, the runways are to be landed on from North to South, and the takeoff is is in the same direction.  

TOUCHDOWN represents where I want the Planes to first make contact with the runway when landing

HALT represents the final stopping point of the plane before taxiing off the runway, and it is near an intersection to the taxiway

POINT 0 THRU CENTER represents the waypoints for the plane to turn onto the taxiway from the runway, and follow the taxiway to the approximate center. (CENTER POINT)

In the TaxiOff section:

The waypoints start at the same center of taxiway, then follow taxiway north, around the curve to get on the runway, then have 4 points on the runway to allow for lining up for takeoff.

I have made the runways rather long to accomodate the C-130 addon, as well as leave plenty of room for ppl that cant land on shorter runways.  in other words, these runways are 2 times longer than the ones on Nogova.  

At any rate, the error I get from OFP is that 0 is before 9 or something like that, and it wont start.  I removed all but the ilsPosition and ilsDirection parts, and redid the pbo, now it works fine.  If the AI will be able to land and takeoff without the removed parts then I wont mess with it.  But if I need those 2 parts for the AI to find their way..then I need help.

Now this is what the filewriter from Marksman(?) came up with, and when I use this config in the pbo, I dont get an error, but When I test the runways using Landing Auto pilot, the planes shoots off towards the SW of nowhere land, even tho my runway is on the EAST side of my island.  So I try an AI in a plane, telling him to land.....he just disappears towards Cleveland.  I put an empty plane on the runway, already pointing in the correct direction for takeoff (SOUTH), tell an AI pilot to get in.  He does, he starts down runway, eventually drifting off runway till he hits a building and explodes.  See the problems?

       ilsPostition[] = {9525.0,8997.9,0.0};

       ilsDirection[] = {0,0.08,1};

       ilsTaxiIn[]={9525.0,6625.0,9554.9,6625.1,9537.6,6628.0,9575.0,6706.4,9575.0,7158.9,9575.0,7314.4,9575.

0,7730.0};

       ilsTaxiOff[]={9525.0,7730.0,9575.0,7799.7,9575.0,7951.8,9575.0,8404.6,9575.0,8807.4,9573.1,8973.3,9555.

0,8975.0,9525.0,8964.2,9525.0,8941.2,9525.0,8907.4,9525.0,8865.8};

The filewriter simply put all the values in the same line, which has caused the '9' before 0 error to stop, but it still wont work......dear god I need help.  This is the only thing keeping this island from final release, so any help would be GREATLY appreciated. "

Thanks,

RIP

EDIT:  Problem fixed on Dec.26,2003, Sry if this was posted in wrong board.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×