View Single Post
Old 04-15-11, 03:35 PM   #7
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by fitzcarraldo View Post
Many thanks, and very clear your tutorial!

Only a dude: I need to change the RSRDC campaign (or TMO, or RFB...). Then, I make a new mission file with the new traffic (with RGG, etc.). Then, I save the new MIS file...overwriting some file in the Campaign folder or merging with it? (merge function, is the way in SH3 ME).

Or simply saving the new MIS with his name (ex: "newtraffic.mis"), in the Campaign folder and that is all...

In SH3 you need to merge the new MIS file with the Campaign_XXX.mis (scripted layer, for example).

The question is: there is a huge lot of MIS files in the Campaign folder of TMO-RSRDC. What is the existing MIS for add the traffic and overwrite? Or only we need to make a new MIS file (new mission), and save it in the Campaign folder? For example: I want to add traffic to San Francisco Bay (a desert in TMO/RSRDC). Need I to search some MIS existing file or only I can create a new mission with that traffic, and save as "SanFranciscoBayTraffic.mis"?

Best regards.

Fitzcarraldo
As Japlance said, if you create a "NEW" .mis file you must add an entry to the Campaign.cfg file or it will not get loaded into the game.
So if you take mission editor and open the .mis you want to add traffic to, add the traffic, then you save the file, it will have the new traffic and old traffic and it will already be in the campaign.cfg as long as you do not change the name of the .mis file.

I do not know how all the mods have done the .mis files. For example, the stock game does merchants and warships as separate files and they are based on dates. So you add ships in the files you want them in, most are labeled well enough to know the dates. The other MODs may do it the same or different.
You could actually put ALL the traffic from the entire war into one file using dates on the ships, groups airbases and so on, but the file would be a mess and very hard to keep track of. That is one reason they are split up into different files and dates.

I suggest making a MOD and copy the files you want to change so you don't mess up the originals. Then enable your MOD after the other one and the files with the same name will be changed.

Another suggestion to make sure your ships are working. If you create a Random Generated Group, go to group properties and set the "Contact Automatic Report" to a certain number of minutes at 100%. That will create the Red or Blue squares that show where ships are. (this is in stock, some MODs do not use it, so none of their ships will show) But setting this, you can tell if your ships are spawning correctly where and when you want them to. After you make sure it works you can go back to mission editor and change it so they don't show by setting the time to -1 and resaving it.

So to answer your basic question: You can create a new .mis and add an entry to the Campaign.cfg file for it. (Just copy an existing one and change some info)
Example from Campaign.cfg:

[Section 13]
FileName=data/Campaigns/Campaign/42a_Jap_CoastalTraffic.mis
StartDate=19420201
EndDate=19421001
GameModes=SingleMission,SinglePatrol,Career,Multip layer Cooperative
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
EntryFocalPointLong=0
EntryFocalPointLat=0
MaximumDistanceFromStartPoint=90000
ExclusiveLayer=No
ExclusiveLayerID=0

Renumber the Section, Change the file name, change the start and end dates if necessary.

Or if you don't want to do it that way, you can add traffic to an existing .mis. Just find the right one with the right dates that you want your ships in.

But as I stated, do it on a backup, NOT the original. If you don't want to create a separate mod then copy the entire Campaign folder to a safe location so you can put it back if you mess it up.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote