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 01-09-14, 08:04 PM   #1
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default Default depths?

\Silent Hunter 4 Wolves of the Pacific\Data\Submarine\NSS_Sargo\NSS_Sargo.cfg is the file I'm hacking, trying to change surface depth, periscope depth, and snorkel depth. Didn't see any effect fiddling with the numbers, so I started a new career to see if that was necessary, nothing. What I currently have;

[Properties]
PeriscopeDepth=17.8;meters
SnorkelDepth=8.2;meters
CrashDepth=40;meters
MaxDepth=122;meters
SurfaceDepth=2;meters
TorpLaunchMaxDepth=39;meters
StormConditions=9,0.1;max wind speed [m/s], max rain intensity [0,1]

2 meters is about 6 1/2 feet, the blasted thing should be sitting on top of the water, yet it still has the standard 17-19 feet even after diving-surfacing and waiting an hour. Do I have the wrong file or is this hard coded in somehow?
Sniper297 is offline   Reply With Quote
Old 01-09-14, 11:42 PM   #2
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,975
Downloads: 153
Uploads: 11
Default

I think the NSS_Sargo.sim file has the displacement and draft values (as well as others). I am not sure if these will change what you want or not.

You will need use S3d to open it.
TorpX is offline   Reply With Quote
Old 01-10-14, 02:03 AM   #3
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Thanks, that looks like it. Surfaced "draught" (draft in Yankee Doodlish) shows 5.61, which works out to about 16 feet in real money. In real life a fleet boat blew with compressed air and came up to a keel depth of about 20 feet or so, then ran a low pressure blower which took 15-30 minutes to empty the tanks so she was riding in surface trim. What I'm trying to avoid is the rough seas problem repeatedly shutting off the radar, and for some reason the Sargo draws 17 feet most of the time and wants to hover between 19 and 21 feet when it gets moody. That time of the month maybe.

Other possibility is "submerged" draught under the surfaced, that shows 7.5 which is about 24.6 feet. Could that be the value which decides when the bridge crew disappears? If the programmers were lazy (pardon me, but many things about this game point to that possibility ) they might have set everything to be keyed off that single datablock including diesel cutoff and radar shutting down.

I'll fiddle with that and report back.
Sniper297 is offline   Reply With Quote
Old 01-10-14, 03:40 AM   #4
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default Don't try this at home, kids!

Okay, some really weird effects from hacking that number - set it to 30 feet and tried it out, near as I can tell it has no effect on crew or radar cutoff, but the diesels will run at that depth. For giggles I set it for 60 feet and tried again, and the diesels will indeed run at periscope depth - if you can get down there. Hit the P key and get the "yes sir, periscope depth" (landlubber, supposed to be AYE AYE SIR not yes sir to acknowledge an order) but it won't dive. Select a depth on the dial meter and it still won't dive. Hit the C for crash dive and it will go down, only problem is trying to select a depth after that, which is always off by 20-30 feet. Select snorkel depth and it just surfaces.

So after some trial and error (mostly error) I set it back to a more realistic surfaced 4.6 (15.4 feet) and submerged 8.5 (27.88 feet) which seems to work with no problems so far.

Aside from the radar constantly cutting off in heavy seas, the other problem I've always had was getting the blasted snorkel depth to work consistently. Set for 27 feet and it wants to be at 23 or 25 feet, and I know from the google chart I'm converting French Furlongs into good old Christian feet correctly.

The NSS_Sargo.cfg is set;

[Properties]
PeriscopeDepth=18;meters
SnorkelDepth=8.85;meters
CrashDepth=40;meters
MaxDepth=122;meters
SurfaceDepth=4.8;meters
TorpLaunchMaxDepth=39;meters
StormConditions=9,0.1;max wind speed [m/s], max rain intensity [0,1]

8.5 is about 29 feet, but apparently it needs to be set deeper than the actual - that setting maintains a consistent 25 feet depth.

What that looks like, on the surface;



Averages 14-15 feet and don't look too high. Might help the radar annoyance, I hope.

Snorkel depth (decks awash) at 25 feet the crewmen do go below (scurvy dogs, who gave you permission to flake out?!) so that's probably not affected by this value.



One other item, for those fiddling with the snorkel control to get decks awash, it requires some tinkering to make it work, and the other file that affects it is:

\Silent Hunter 4 Wolves of the Pacific\Data\Cfg\Commands.cfg

Open that in notepad (make a copy of the file first!) and scroll down to;

[Cmd195]
Name=Snorkel_depth
Ctxt=1
Str=1033
;Key0=0xBA,C,"Comma"
Key0=0x44,s,"Shift+D"

A semicolon ";" at the beginning of a line is program code for "this is a comment, computer ignore this". So remove that ; from the beginning of the line and delete the last line;

[Cmd195]
Name=Snorkel_depth
Ctxt=1
Str=1033
Key0=0xBA,C,"Comma"

Or just copy and paste the above over command 195. The actual key is the semicolon ; and not the comma "," key, the programmer was probably drunk when he added the notations.
Sniper297 is offline   Reply With Quote
Old 01-10-14, 11:57 AM   #5
Snarf
Officer
 
Join Date: Nov 2013
Location: USS Tuna out of Pearl Harbor
Posts: 243
Downloads: 22
Uploads: 10
Default

The radar really needs to stay on until the sub is below 47 feet (known as 'Radar Depth'. They did use the radar while submerged and the periscope shears out of the water.
__________________
"Damn the torpedoes, full speed ahead!" -David Farragut (probably repeated by many WWII sub skippers)
Snarf is offline   Reply With Quote
Old 01-10-14, 01:14 PM   #6
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Yeah, ingame the SJ1 cuts out around 40 feet, but the main irritation I was trying to cure is when on accelerated time in rough seas it keeps cutting out and the idiot operator never automatically turns it back on.

So far this doesn't do everything I thought it would - changing the surfaced draft to 14-15 feet doesn't affect rough seas causing it to average 20-24 feet. In any case I'm pretty sure the submergence depth only affects the diesel cutoff and shift to battery, nothing else. Increasing submerged draft helps with that for decks awash, but again increase it too much and I get really bizarre problems with trying to dive. The whole point of a submarine is the ability to submerge, so any hack that screws that up is not good.

Still haven't had big enough waves in this patrol to see whether the radar cutting out is affected or not.
Sniper297 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 03:00 AM.


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.