SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop > SH4 Mission Designers' Forum
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-15-11, 03:35 PM   #1
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
Old 04-15-11, 04:13 PM   #2
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 5,318
Downloads: 3345
Uploads: 0


Default

Quote:
Originally Posted by peabody View Post
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
Many thanks for the excellent help, mates. I have things clear now. Your explanations are awesome, and very clear.

For reasons of authorizations for the use of files of other mods (RSRDC, by Lurker, he is impossible to contact now), my option is a new MIS mission file in a mod. My primary intention is:

Add traffic to San Francisco Bay.
Add air patrols in the main allied bases (as in FOTRS; TMO-RSRDC haven´t those planes).
Add traffic to Caribbean Sea and Panama Canal. Add an start "new construction" campaign from New London.
Add U boats in Caribbean Sea, for more difficult passage to Panama Canal. (If you have read "Run Silent, Run Deep" by E. Beach, and "Silent Victory" by Clair Blair, you will know the journey fron New London to Pearl via Panama Canal was a dangerous trip because the U boats in Caribbean Sea).

Best regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.

Last edited by fitzcarraldo; 04-15-11 at 04:25 PM.
fitzcarraldo is offline   Reply With Quote
Old 01-09-12, 06:26 PM   #3
denny927
Electrician's Mate
 
Join Date: Feb 2009
Location: Mexico City
Posts: 132
Downloads: 213
Uploads: 0
Default create a .mis and screw up my plotter tool

Quote:
Originally Posted by peabody View Post
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
hi man, very good post, i create a .mis only for try something, and after create a 2 routes and add the section in the campaign.cfg(follow your rules, sections dates etc.) i discover yes it works, my ships are in approch in the right bearing, units and so on, but i have a little problem, i cant plot my course in the nav map, picking a plotter and nothing happens, no lines at all, and when click right button to confirm simply my sub stopped due to last waypoint reached....another thing is when i load a savegame my WO starts yelling all torpedos i've launched, a little freezing, but the big problemm as i said is the plotter tool.

I've tried remove the .mis made by me and all come back to normality....any clue about this?????
denny927 is offline   Reply With Quote
Old 01-10-12, 04:04 PM   #4
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by denny927 View Post
hi man, very good post, i create a .mis only for try something, and after create a 2 routes and add the section in the campaign.cfg(follow your rules, sections dates etc.) i discover yes it works, my ships are in approch in the right bearing, units and so on, but i have a little problem, i cant plot my course in the nav map, picking a plotter and nothing happens, no lines at all, and when click right button to confirm simply my sub stopped due to last waypoint reached....another thing is when i load a savegame my WO starts yelling all torpedos i've launched, a little freezing, but the big problemm as i said is the plotter tool.

I've tried remove the .mis made by me and all come back to normality....any clue about this?????
It's a bit hard to tell from the information given. You only say you wrote a .mis file, they are all .mis files. Shipping traffic, Patrol objectives, Land units, Single missions, all the files created are .mis files.
Also are you writing a single/quick mission (it is saved in the single mission folder, but is called quick mission in the menu) or are you writing a career/campaign mission? Or possibly a patrol objective?
Any mods?

You said you can't plot the course but it reached the last waypoint, did you create a Campaign mission and leave the players sub in it? I don't know without testing if this will cause the problem you describe but any traffic or Patrol Objectives should not have a player sub in them. It will not let you save without one, so you go to the menu under mission/parameters and remove the player sub, then check "ignore player submarines" and save.

But it is hard to tell what the problem is from the very little bit of informaion you give. Be more specific about what you did.
__________________

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
Old 01-10-12, 09:06 PM   #5
denny927
Electrician's Mate
 
Join Date: Feb 2009
Location: Mexico City
Posts: 132
Downloads: 213
Uploads: 0
Default

Quote:
Originally Posted by peabody View Post
It's a bit hard to tell from the information given. You only say you wrote a .mis file, they are all .mis files. Shipping traffic, Patrol objectives, Land units, Single missions, all the files created are .mis files.
Also are you writing a single/quick mission (it is saved in the single mission folder, but is called quick mission in the menu) or are you writing a career/campaign mission? Or possibly a patrol objective?
Any mods?

You said you can't plot the course but it reached the last waypoint, did you create a Campaign mission and leave the players sub in it? I don't know without testing if this will cause the problem you describe but any traffic or Patrol Objectives should not have a player sub in them. It will not let you save without one, so you go to the menu under mission/parameters and remove the player sub, then check "ignore player submarines" and save.

But it is hard to tell what the problem is from the very little bit of informaion you give. Be more specific about what you did.
oops im sorry, so, i save like a random generated group .mis, is not a single/patrol mission, but i played in the normal campaign/career mission.Mods, yes in this order:

tmo2
tmo update 2 to 2.2
rsrdc tmo v502
rsrdc v5xx patch1
stock map icons
tmo stock gramophone
bigger better protactors
living brething ocean vs3 new lighting
row torpedos texture vs2


for the last waypoint reached i mean when im in the nav map and try to plot my course, and confirm my plotted course with a right mouse button(even if my plotting tool dont work) my sub simply stopped with the classic "last waypoint reached, sir, stop" because the game dont recognize any plotted course...and yes, when creatin this mission i have checked "ignore subamarine player".

The thing is i cant plotting the course, i CAN picking a plotter tool, but i CANNOT tracking any course, is very frustrating, and when i delete my .mis in the campaign folder, all come back to normality like i said before...and starting a new campaign?maybe....i'll give a try now...
denny927 is offline   Reply With Quote
Old 01-10-12, 09:29 PM   #6
denny927
Electrician's Mate
 
Join Date: Feb 2009
Location: Mexico City
Posts: 132
Downloads: 213
Uploads: 0
Default

good news, like i said, starting a new campaign all like before....so, again, sorry...

damn, in this carreer i sunk a jap submarine...anyway, again in 1941

thanks
denny927 is offline   Reply With Quote
Old 01-27-12, 06:41 PM   #7
denny927
Electrician's Mate
 
Join Date: Feb 2009
Location: Mexico City
Posts: 132
Downloads: 213
Uploads: 0
Default

I have another question, now I want change something in rsdc, but when i change something by myself, like bearing, speed, or spawn and hours rate, all my traffic disappear, ive tryed saving like normal mission, random layer, but with no luck...why i cant modify the rsdc missions??
denny927 is offline   Reply With Quote
Old 02-05-12, 04:40 AM   #8
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by denny927 View Post
I have another question, now I want change something in rsdc, but when i change something by myself, like bearing, speed, or spawn and hours rate, all my traffic disappear, ive tryed saving like normal mission, random layer, but with no luck...why i cant modify the rsdc missions??
From the Readme files in RSRD:

Special Notes/Known Problems:

(a) For those of you who enjoy “reverse engineering”, if you use the SH4MissionEditor on the “Battle” or “Task Forces” layers, under no circumstances make changes or select “ok” in the “Group Properties” window. If you do, you will cause All the tracks within the layer to longer generate correctly. The reason is that I’m making “hand” edits to these files to ensure that the tracks generate “on time”


The mission editor has some default dates and times it uses if you don't change them. If Lurker deleted this information during a "hand edit" then the mission editor will put it back in and you will save it incorrectly. If you don't know what he means by "hand edit", the missions can be edited in notepad since they are simple text files.
__________________

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
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.