Excuse the placement of this, but after consideration, some of this is probably more releveant here than somehwhere else... It poses questions, though the files relevancy is of dubious content. Though it appears useful for making campaign layers.
As i'm sure there are people out there that can answer some of these or maybe all of them, this seemed like the best place to ask. The question is, "What does each line control, in the Campaign.cfg file?"... heres an example.
[Section 6]
1- FileName=data/Campaigns/Campaign/Jap_AirCover.mis
2- StartDate=19380101
3- EndDate=19451231
4- GameModes=SingleMission,SinglePatrol,Career
5- InclusionProbability=100
6- MinimumDifficultyRating=0
7- MinimumPlayerRating=-3
8- EntryFocalPointLong=0
9- EntryFocalPointLat=0
10- MaximumDistanceFromStartPoint=90000
11- ExclusiveLayer=No
12- ExclusiveLayerID=0
Here's what I believe they some of them are... please correct me if incorrect.
1- Is clearly the refference for the resource assosciated with this file and its location.
2- Start date year/day/month for this resource to be in use.
3- End date year/day/month for this resource to cease use.
4- The type of game the user is playing that this will be active in.
5- I can only guess on this one, is it telling me this will deffinately be active 100% of the time, the value being from 0-100%?
6- No idea how this works.
7- No idea how this works. the negative value makes it even less obvious ^^
8-9- I can only guess at this also, help appreciated. But I suspect the value of 0 is a placeholder and this will affect nothing unless a lat and/or longitude is added. What it will actually do if a value is inserted is a myth to me so far. Help needed.
10- Pretty much everything in the campaign.cfg has this maximium distance value of 90000. Is this just the maximum range of the active campaign layer from one focal point... 90,000 being a distance of ?? in a radius around X on the map? or from the actuall location as dictated by the associated resource file?
11- The wording on this one is intriguing... especially interested in what this means.
12- This is clearly in relation to 11... for example, if 11 is 'Yes' instead of 'No' as a value, then layerID=(insert resource here). This line has an associated file or folder?.
I know this may seem like a lot to ask, but as you can see, guessing what everything does only gets you so far 