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

Reply
 
Thread Tools Display Modes
Old 10-07-20, 07:17 PM   #1
Mios 4Me
Sonar Guy
 
Join Date: Feb 2019
Posts: 394
Downloads: 38
Uploads: 0


Default How are assignments chosen?

How are follow-up assignments chosen? There's obviously a geographic component but are there a large number of potential assignments or is it relatively fixed?

I ask because a patrol I was particularly enjoying has a corrupted Save. Using replay, the game works fine if I go back a couple of days, but I lose a very interesting assignment: "Crossroads" covering traffic from Guam/Saipan and Truk to Rabaul as well as a third route. Twice now though, when I restart, I get a third tour of the Carolines.

Any informed guesses on the probability of getting that assignment again?
Mios 4Me is offline   Reply With Quote
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: 9,743
Downloads: 439
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 naysayer/s" - Jimbuna
propbeanie 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 06:11 AM.


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