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 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-07-20, 07:37 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,103
Downloads: 451
Uploads: 2


Default

The Stock game is relatively "fixed", but still usually has at least 3 missions for each assignment category. Some have as many as seven each in stock (for Patrol, and Sink type missions, plus maybe SpecOps). If you look at the Flotillas.upc file, which is text based, you will see each "Command" (Pearl, Fremantle, Brisbane, etc.) has boat "definitions". Each of those boats has a set of mission assignment "codes", such as Empire Waters, Solomons, etc. These can be restricted by date, such as the Empire Waters lasts the whole game, and Solomons start in April 1942, and generally end in early 1943. Other "codes" might be active after 1943, and last the whole war. When you come back from patrol, the game "rolls a dice", or random number, and picks from the available mission "codes". Say it chooses "Empire Waters". The game then goes into the PatrolObjectives.cfg file, and finds the "codes" (AllMatch) lines that are the same, and then rolls the dice again to choose from the pool of available missions with the "Empire Waters" code. It then check to see if you've run that mission already. If you have, then it runs the random number again, and picks a different "Empire Waters" coded mission. Really random, but modders can really restrict by date, and 'tighten' things up a bit with special missions for special time frames...
__________________

"...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 02:40 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.