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

Reply
 
Thread Tools Display Modes
Old 05-01-07, 06:32 PM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

It's posible the fix is not retroactive to existing careers. It depends on if the game keeps stored an exit date for subs in the save game files or if it reads the exit date "on the fly" from the flotilla file. Ive been so swamped, i havent had time to examine the saved game files to see.
Ducimus is offline   Reply With Quote
Old 05-01-07, 07:13 PM   #2
Galanti
Captain
 
Join Date: Apr 2004
Location: Ottawa
Posts: 536
Downloads: 106
Uploads: 0
Default

Interesting, I set it to NULL for the S-class yesterday, played and saved. I just looked in my My Documents/SH4 folder and there is a UserPlayerContext folder, containg all sorts of UPC files. They were date stamped yesterday, at the the time of my last save. Inside the flotilla one was this entry:

[Flotilla 2.UserPlayerUnitType 1]
ID=F2Sboat
NameDisplayable=S-18 class
AvailabilityInterval=1900-01-01, 1999-12-31
IDLinkUserPlayerUnitType=S18
UnitTypeCommonality=6.000000
IDFlotillaLinkTransferTo=BrisbaneCommand

So NULL appears to set the date to the end of this century. Long enough for my purposes, I suppose.

So I guess we're okay with saved games, the engine will read in all the UPC files in the main game folder and write them to the My Docs save folders.
Galanti is offline   Reply With Quote
Old 05-01-07, 07:18 PM   #3
leovampire
Eternal Patrol
 
Join Date: Apr 2007
Location: Waterbury, CT. USA
Posts: 2,336
Downloads: 0
Uploads: 0
Thanks A LOT

Nothing like stand alone stuff to make the game better for people! Again apreciate what you Moders do big time!


Dave
leovampire is offline   Reply With Quote
Old 05-01-07, 07:27 PM   #4
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Thanks for checking Galanti.

I'll have an updated version of this file up in a couple days or so. Some fine tuning ive been wanting to do. Its next on my list.
Ducimus is offline   Reply With Quote
Old 05-01-07, 08:22 PM   #5
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 606
Downloads: 20
Uploads: 6
Default

Great job on the mod...
id like to fix my S-classes as well, i'll do it manually but before i dig in can you guys give me some guidance as to exactly which files i'll need to set the NULL value to in order to fix the S-Class subs?

Thanks guys,
Kevin
__________________

ATR-42 is offline   Reply With Quote
Old 05-02-07, 08:15 AM   #6
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 606
Downloads: 20
Uploads: 6
Default

is fixing the S series boat retirement bug as simple as changing THIS line in the UPCData\UPCCampaignData\Flotillas.upc File?


[Flotilla 2.UserPlayerUnitType 1]
ID= F2Sboat
NameDisplayable= S-18 class
AvailabilityInterval= NULL, 1942-04-15 TO----> NULL, NULL
IDLinkUserPlayerUnitType= S18
UnitTypeCommonality= 6
IDFlotillaLinkTransferTo= BrisbaneCommand

Is that the correct line fix? is this the correct file to be working on?
my gut tells me that was too easy, an there are more files to check or line items to change....
__________________

ATR-42 is offline   Reply With Quote
Old 05-02-07, 09:11 AM   #7
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,987
Downloads: 67
Uploads: 2


Default

Yup, thats it.

I tested it by setting arbitrary dates and forcing an early retirement, and then setting that to null, retesting it, and no forced retirement occured.
Ducimus 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 03:05 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.