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
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-06-17, 05:22 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,116
Downloads: 451
Uploads: 2


Default

If you've got your "mission" file built with its RGG and / or "scripted" layer, and let's say you name it "BubblePatrol.mis". Keep a copy of it safe, and put another in the Data / Campaigns / Campaign folder. While there in that folder, open Campaign.cfg, scroll to the bottom of it, and note the numbering of the last entry (which happens to be [Section 96] in the next iteration of FotRSU). Add a new "header" then and point the game at your new file, giving it date restrictions, such that let's say it reads:

;Additional Additions by Bubblehead1980
;-------------------------------------

[Section 97]
; layer created by Bubblehead1980
FileName=data/Campaigns/Campaign/BubblePatrol.mis
StartDate=19420117
EndDate=19440731
GameModes=SingleMission,SinglePatrol,Career,Multip layer Cooperative,Multiplayer Adversarial,NavalAcademy
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
EntryFocalPointLong=0
EntryFocalPointLat=0
MaximumDistanceFromStartPoint=90000
ExclusiveLayer=No
ExclusiveLayerID=0


You might notice that it looks a lot like that other sections, which it's just a copy of the section above, renumbered and pointing to the correct file, along with some smart-alecky comments after the semi-colons... Bingo! for just over 2 and a half years, there's your layer playing. With judicious use of the RGG time spans, you can really make it like it is very random.

Of course, it's always better to "package" it for JSGME, and for that you'd make yourself a "BubblePatrol" folder, make a "Data" folder below that, a "Campaigns" folder below that, and a "Campaign" folder below that, with a copy of your new mis file and a copy of the edited Campaign.cfg file in that folder. Drag the BubblePatrol folder over into the Mods folder, activate it, and cross your fingers that all goes well... - if someone changes the Campaign.cfg file in the mod you're using (which ~WILL~ happen with FotRSU in the next release), you'll have to modify your Campaign.cfg to comply. Else, submit your mod for inclusion in FotRSU, and get your name put up in flashing black lights on a black screen, and your name is super-fine font in the mod's credits, just like Jeff-Groves is getting...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
 


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 06:23 PM.


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.