Thread: Decks awash mod
View Single Post
Old 12-29-09, 01:36 PM   #3
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Well, I found it, in the \Data\Cfg\Commands.cfg file;

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


I spent a few years trying to learn C code before deciding I was never gonna be a programmer, but the one thing I picked up was the semicolon means "comment, do not execute the instruction on this line". SHIV has a lot of SHIII code in it that isn't used, so to activate the snorkel for US subs just remove the semicolon from the front of that last line. It says "comma" but on a US keyboard comma is an external view, the semicolon (next to the L, ";") is the actual command key, hit that and it takes you to "snorkel depth".

Next step is to go to \Data\Submarine\NSS_Sargo (or whatever sub you're modding) and open the CFG file for that;

[Properties]
PeriscopeDepth=18.7;meters
SnorkelDepth=8.9;meters
CrashDepth=40;meters
MaxDepth=132;meters
SurfaceDepth=5.061;meters
TorpLaunchMaxDepth=30;meters
StormConditions=9,0.1;max wind speed [m/s], max rain intensity [0,1]


Little trial and error before I came up with that, I started with 8.5 (28 feet divided by 3.3 French Furlongs, add a 15 guilder Dutch postage stamp) and they reluctantly went down to 24, gradually drifting down to 26 after half an hour or so. Changed to 9.1 (about 30 feet in Christian measurement) and they popped right down to 30, that's too much since it shuts off the diesels, starts using up the battery and building up CO2. 8.9 should be about 29 feet, but again these scurvy dogs are either looking at some depth gauge that I don't see or they're kinda sloppy about following orders.

Just figured that out last night, so now some testing is needed, find a stationary tin can (in a harbor somewhere) and test the distance on the surface where he sees me and opens fire, then see how much closer I can get decks awash before he sees me.

Last edited by Sniper297; 12-29-09 at 03:57 PM.
Sniper297 is offline   Reply With Quote