Adding Airports Tutorial - By SLIKK (David Taylor) 12/19/01

(Adding new slots for aircraft)

(MAKE SURE YOU BACK UP YOUR FILES BEFORE YOU PROCEED!!!)

1. Go to C:\Program Files\Jane's Combat Simulations\USAF\Resource\Missions\Data\ There you will see a file called DefaultUMEMission copy this into the missions folder once you've done that open the DME open the DefaultUMEMission file then go to tables\lineup this is were each planes starting point is (without doing the steps above the lineup table would have appeared to be blank) .At the top you will see (Name) This is the hanger or lineup for the plane (Number) this is the number for each aircraft you add (X & Y) these numbers are used to place the aircraft (LineupHeading) this is the heading the plane starts out at (Airport) this is the airport you are at.You can add as many planes here as you want then copy the DefaultUMEMission file back into the data folder. Now after this comes the tricky part!


(Programming the TaxiWayPoints)

2. Now Go to C:\Program Files\Jane's Combat Simulations\USAF\ you will see a file called (sim.ibx) this is were the airport taxi data is
open this file then find (Nellis for example) (TowerLoc) is the center of your airport (LineupLoc) is were the first plane starts at (RunwayNumber) is the heading of the airport (TaxiWayPoints) this is how you get the planes to the LineupLoc fore takeoff.


(Example)
TaxiWayPtsTo=12.0
ToTaxiPtX0=296481.9 The X & Y numbers are were you start from
ToTaxiPtY0=218052.0
ToTaxiPtHdg0=130.0 This is the heading your plane will be going

ToTaxiPtX1=296643.0 These X & Y numbers are were your plane will turn at
ToTaxiPtY1=217911.5
ToTaxiPtHdg1=40.0 This is the heading your plane will be going

ToTaxiPtX2=297614.8 These X & Y numbers are were your plane will turn at
ToTaxiPtY2=219063.0
ToTaxiPtHdg2=130.0 This is the heading your plane will be going

ToTaxiPtX3=298298.8 These X & Y numbers are were your plane will turn at
ToTaxiPtY3=218493.5
ToTaxiPtHdg3=40.0 This is the heading your plane will be going

ToTaxiPtX4=298518.8 These X & Y numbers are were your plane will turn at
ToTaxiPtY4=218760.1
ToTaxiPtHdg4=310.0 This is the heading your plane will be going to get to the LineupLoc for takeoff (Buick 1 clear for takeoff!)
(Note) The number of (TaxiWayPoints) you will need will vary depending on your starting point.

TaxiWayPtsFrom=5.0 This is how the planes get back to the hanger. (follwo the same steps you did to taxi to the runway but in reverse to get back to the hanger)


(Enabling runways)

so far I have not found a way to just take runway put it on the ground and then take off from it if you do that you will blow up every time. However I did find a way to trick the game into allowing me to fly from new and different locations and in doing this I also found out how to make the Vietnam terrain much bigger. (Now for the really tricky part!)

To enable both runways at your airport you will have to make a sacrifice of sorts. The airport slots are somewhat like the cockpit slots in that at this time you cannot just add too them so for now the best you can do is move an existing runway to your new one.This is what I did.


1. First you have to find out the numbers for your new (LineupLoc X Y & Z points) this is the point that the planes will takeoff from at your new runway once you have these numbers open the sim.ibx file then find an existing runway and replace these numbers.
( example) there is a runway in this file called GravilRunway it is not being used in the game so I used this one.

[GravelRunway]

;Nellis Gravel Runway data

terrainFile=lasvegas

TowerLocX=402321.5
TowerLocY=204251.0
TowerLocZ=1160

Change these LineupLoc X Y & Z numbers (Below) to were you want the planes to takeoff from on your new runway This is the same as mentioned above but thisone is for the second runway at the airport.

LineupLocX=294898.0
LineupLocY=214649.8
LineupLocZ=408.0

RunwayNumber=040

Once you've done that open the DME go to tables\airports this is were you would add your new runway. (AirportName) is the name you give for your new runway (example there's already one called Nellis so I changed Nellis to Nellis22Right and you could add a new one called Nellis22Left for your new runway) (TerrainPtr) this is the terrain your runway will be in (DisplayName) this is the name you will see in the game and in the UME This can be the same as the airport name if you want. Next you will have to change the X & Y numbers here also. (example) For this you take your new Nellis22 left Lets say and take its X & Y numbers and change them slightly from something this (X 297997.2 Y 219846.0) to this (X 297997.1 Y 219846.0) this is because the sim needs to identify one runway from another. Now you should b able to add aircraft to your new hanger slots & your new runway.


(Placing Airports)

As I mentioned before you cannot just take a runway put it on the ground and then take off from it. So what I did to get around this problem was kinda tricky but here go's I couldn't actually move the runway to a different location so I moved the different location to the runway!
In other words I took the Vietnam terrain and I changed the name of that terrain to Las Vegas and presto!!! It worked I had new airports in Vietnam. and the terrain size grew also. So I did the same to other terrains and had new airports there as well. OK here's how you do it


1. Go to C:\Program Files\Jane's Combat Simulations\USAF\Resource\Terrain\ once you are there you will have to make new folders for the different terrain's copy the existing terrain files for backup

2.Rename all the files that have to do with Vietnam to Las Vegas now go to the UME make a new mission in Las Vegas and you should see the Vietnam terrain with an airbase in south Vietnam near Sigon. It takes a lot of steps to make an airport work in USAF but it's not impossible. Good luck I hope this tutorial will help you place your new airports.

Remember - Do This At Your Own Risk and (MAKE SURE YOU BACK UP YOUR FILES BEFORE YOU PROCEED!)

(Slikk)