View Single Post
Old 05-06-07, 11:55 AM   #10
Egan
Admiral
 
Join Date: Sep 2001
Posts: 2,019
Downloads: 15
Uploads: 0
Default

Quote:
Originally Posted by sergbuto
I have not done any work on the campaign files yet but by the look of it, it should be possible to add additional layers/files. That is the way I am going to take if I ever work on the campaign. This will likely make my additions compatible with any modifications by other modders and make it easy to do any revisions of those additions.
Yeah, adding new layers is pretty easy; once you have created a new .mis file you simply add an entry to the campaign.cfgin the campaign folder like this:

[Section 88]
FileName=data/Campaigns/Campaign/SolomonIslands.mis
StartDate=19430101
EndDate=19430801
GameModes=SinglePatrol,Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
EntryFocalPointLong=0
EntryFocalPointLat=0
MaximumDistanceFromStartPoint=90000
ExclusiveLayer=No
ExclusiveLayerID=0

Virtually all the variables are the same for every entry, except the name and the dates. Personally, I would like to know what

MaximumDistanceFromStartPoint=90000

Actually does.

Another tip for campaign editing is to do everything to new .mis files and merge with existing layers when you need too. I know it's only a tiny little tip but it has helped me out a number of times.
Egan is offline   Reply With Quote