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

View Poll Results: How should The repeat patrol fix be handled in TM
Leave it as an optional mod, its not really neccessary if you do your patrols correctly. 56 57.73%
Make it the default installation, it's neccessary. 34 35.05%
I don't use TM, and could care less. 7 7.22%
Voters: 97. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 08-18-07, 12:50 AM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default Tmaru: Repeat patrol fix

Ok, in light of this thread:
http://www.subsim.com/radioroom/showthread.php?t=120577

and this thread:
http://www.subsim.com/radioroom/showthread.php?t=120398

I am at an impass with this. As ive stated previously, I am really sitting on the fence with that mod. On one hand, i question if its neccessary, on the otherhand, i question if i should just make it Tmarus default installation.

Since i can't make up my mind, i guess i'll put it to a vote
Ducimus is offline   Reply With Quote
Old 08-18-07, 01:01 AM   #2
Limerick
Watch
 
Join Date: Apr 2007
Posts: 24
Downloads: 0
Uploads: 0
Default Yep

AKA lane2512 at ubi/sh4 forum...

Default the patrol fix into the game.
Limerick is offline   Reply With Quote
Old 08-18-07, 01:07 AM   #3
maerean_m
Captain
 
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
Default

Do you mean there is a fix for the bug that keeps giving the same objective in career mode? If it is the case, do you know how is the fix implemented?
__________________
Kilroy was here
maerean_m is offline   Reply With Quote
Old 08-18-07, 01:45 AM   #4
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by maerean_m
Do you mean there is a fix for the bug that keeps giving the same objective in career mode? If it is the case, do you know how is the fix implemented?
Yeah i do, i made it. its sort of a fix, but its more like fancy scripting. As im sure you know, the game normally assigns around 5 (give or take) geographical regions. Each geographical region is supposed to be picked at random, and each region has a random set of missions assigned to it.

Honshu for instance has:
- 5 insert spy missions
- 8 patrol missions
- 5 photo missions
- 8 sink missions.

So again, out of 5 or so regions, the game is supposed to pick one, and once a region is chosen, its supposed to pick a mission of the subset of missions that exist for that region. So ideally, you have alot of replaybilty there. The trouble is, it doesnt always work that way. Instead you get honshu patrol, again and again, and again.

So what i did was, take all the missions assigned to geographical regions, and split them apart into two groups. I put all patrol and sink missions in one group, and all photo, spy, commando, etc into antoher group.

So where as before all missions were under the ID handle of "Honshu", i now have two groups, "Honshu" and "HonshuOPS".


I then went back into the flotilla files and did something like this:

Code:
[Flotilla 1.UserPlayerUnitType 1.Objective 2]
ID= PH1Obj2
NameDisplayable= Empire Waters
AvailabilityInterval=1941-12-07, 1941-12-31
ObjectiveCode= Hokkaido

[Flotilla 1.UserPlayerUnitType 1.Objective 3]
ID= PH1Obj3
NameDisplayable= Empire Waters
AvailabilityInterval=1942-01-01, 1942-02-31 
ObjectiveCode= HonshuOPS

[Flotilla 1.UserPlayerUnitType 1.Objective 4]
ID= PH1Obj4
NameDisplayable= East China Sea
AvailabilityInterval=1942-03-01, 1942-04-31
ObjectiveCode= East China Sea

[Flotilla 1.UserPlayerUnitType 1.Objective 5]
ID= PH1Obj5
NameDisplayable= Formosa
AvailabilityInterval=1942-05-01, 1942-06-31
ObjectiveCode= Formosa StraitOPS

[Flotilla 1.UserPlayerUnitType 1.Objective 6]
ID= PH1Obj6
NameDisplayable= Caroline Islands
AvailabilityInterval=1942-07-01, 1942-08-31 
ObjectiveCode= Caroline Islands

[Flotilla 1.UserPlayerUnitType 1.Objective 7]
ID= PH1Obj7
NameDisplayable= Luzon Strait
AvailabilityInterval=1942-09-01, 1942-10-31
ObjectiveCode= Luzon StraitOPS

[Flotilla 1.UserPlayerUnitType 1.Objective 8]
ID= PH1Obj8
NameDisplayable= Palau Island
AvailabilityInterval=1942-11-01, 1942-12-31 
ObjectiveCode= Palau IslandOPS

[Flotilla 1.UserPlayerUnitType 1.Objective 9]
ID= PH1Obj9
NameDisplayable= Empire Waters
AvailabilityInterval=1943-01-01, 1943-02-31
ObjectiveCode= Honshu

[Flotilla 1.UserPlayerUnitType 1.Objective 10]
ID= PH1Obj10
NameDisplayable= Yellow Sea
AvailabilityInterval=1943-03-01, 1943-04-31
ObjectiveCode= Yellow SeaOPS

[Flotilla 1.UserPlayerUnitType 1.Objective 11]
ID= PH1Obj11
NameDisplayable= Empire Waters
AvailabilityInterval=1943-05-01, 1943-06-31 
ObjectiveCode= Hokkaido
What i did was force the game to pick a specific mission be making it the only available mission at the time. Where as stock, the orginal 5 geographical areas were always open, and the game tended to default to just one or two of them, and not use all of them enough. I made each mission have a 2 month time window, before i closed it, and opened the next one. As for mission types, i was careful to stagger them. Patrol, and then some sort of special operations to gain more variety. The above scripting exists for all flotillas and all boats except the S class and the alutians, for all years of the war. The normal flotilla file is about 37KB, my scripted one is about 85KB.

Thats the gist of how it works, group like missions together, stagger them to break up monotony, and the force the game to pick a mission, by making it the only one available. Most patrols plus time in port usualy run in the neighborhood of 2 months, so thats what i set the open and closure times for missions to.
Ducimus is offline   Reply With Quote
Old 08-18-07, 01:53 AM   #5
maerean_m
Captain
 
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
Default

Thanks, will look into it
__________________
Kilroy was here
maerean_m is offline   Reply With Quote
Old 08-18-07, 07:20 AM   #6
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,900
Downloads: 135
Uploads: 52


Default I voted no

I just don't think the repeat missions bug exists. Other posters have convinced me that if you complete the mission and radio in you will have the same experience I have. I very seldom get a repeat mission. I have had six missions in my present career and probably eight in previous careers which were cut short by mod changes that I couldn't resist.

Do what you're told. Radio in when the star turns gray. Missions are truly random. Random choice guarantees some repeats. It works!
Rockin Robbins is offline   Reply With Quote
Old 08-18-07, 08:06 AM   #7
ReallyDedPoet
Canadian Wolf
 
ReallyDedPoet's Avatar
 
Join Date: Jul 2006
Location: Canada. The one and only, East Coast
Posts: 10,886
Downloads: 946
Uploads: 5


Default

As is with the optional mod


RDP
__________________

Back in the Day



ReallyDedPoet is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 04:32 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.