Hi guys. Talked about this before, but now starting to do something about it. Recently tried to install several campaigns but can't fly any of them because of duplicate airfield data. Some campaign designers even allocate numbers to the basic set of 50 installed with the game to different airfields!
Anyway, started working on a database so I can at least sort out the mess in my installs and get to actually play these campaigns.
In doing so I started with a new 'clean' install of CFS2 and got the airfields.dat file and used that as the basis of the database. I then loaded a campaign (In Defence of Australia). No new airfields installed. I went through the missions and found one (mission 5) which has an airfield number of 8051. The stock list ends at 8050, yet the game had no problems with this, the mission flew normally. The location is Port Moresby (which has the in game id of 8043). Both these numbers are used in the mission file, listed as separate airfields, presumably for the different aircraft (different start points).
OK, so somewhat confused I went to the install I already had and checked the airfield.dat file there. Airfield 8051 in that list is Lord Howe Island, yet when I run the mission, it plays fine. The other aircraft appear at Moresby.
Can anybody offer insights into the workings of this as it may help me develop the database into a generally useful form (although actual coding of a utility or macro I'd leave to someone who knows what they're doing, I'm happy to do this basic 'grunt' work)?
Piers