View Single Post
Old 06-04-07, 08:17 AM   #14
tater
Navy Seal
 
Join Date: Mar 2007
Location: New Mexico, USA
Posts: 9,023
Downloads: 8
Uploads: 2
Default

You can open the files in the campaign folder with the editor and have a look.

If I was making a new battle, I would start over and make a new, scripted mission. You'd only have to add it tot he Campaign.cfg file for it to be added to the campaign. The only trick in that file (copy and paste another battle's entry as a model (make sure the name/number is changed to the new mission, and next number) is the dates. The dates in theat file are NOT the battle dates, but a window for patrols to bother loading the battla mission data.

As for the mission itself, that's simple finding the editor tutorial and messing around. http://www.subsim.com/radioroom/showthread.php?t=115221

Here's a campaign.cfg entry:
Code:
[Section 8]
FileName=data/Campaigns/Campaign/41a_Jap_Convoys.mis
StartDate=19390101
EndDate=19420401
GameModes=SingleMission,SinglePatrol,Career,Multiplayer Cooperative
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3 
EntryFocalPointLong=0
EntryFocalPointLat=0
MaximumDistanceFromStartPoint=90000
ExclusiveLayer=No
ExclusiveLayerID=0
The start/end dates (red) are what I was talking about regading the patrols. You need to start your patrol on/after that start date. If you start before that date, the file won't be loaded (otherwise you'd be loading missions from the whole war every patrol, slowing things down). I think all the mission stuff loads at the same time, even if the mission doesn't start (and units appear) until later in the patrol.

The game modes (green) are important to show what type of game gets to load this layer. So if it only says "single mission" it would not load up in the campaign. Note that the random layers in there load up during single games, but not the scripted battle layers.

As an example, you could make my midway layer a single mission in an odd way (I did to test). Edit the Midway entry in campaign.cfg so that it also appears with "SingleMission" in the list. Then make a new single mission. In that mission place a player sub at the right spot NW midway on June 3 or 4 (can merge the mission to see where if you need to). Save the mission with nothing but that player sub there. Since the mission will now load into single missions like the traffic does, you will see my forces stream by.

Last edited by tater; 06-04-07 at 08:30 AM.
tater is offline   Reply With Quote