View Single Post
Old 02-10-14, 02:08 PM   #30
Sheppard
Captain of the Nautilus
 
Join Date: Mar 2005
Posts: 143
Downloads: 223
Uploads: 0
Default

Produced a file to crank out data for any sub in the game; here's a test run for slot 8.

NOTE: These are just integers; I still need to write code to output string data!

Code:
*********************************************************
* SILENT HUNTER COMMANDER'S EDITION EDITOR (SCED) v1.00 *
*********************************************************

Slot 0 (Stock S-Class)
Slot 1 (Stock Barracuda)
Slot 2 (Stock Narwhal)
Slot 3 (Stock P-Class)
Slot 4 (Stock Salmon)
Slot 5 (Stock T-Class)
Slot 6 (Stock Gato)
Slot 7 (Stock Balao)
Slot 8 (Stock Tench)

Choose Sub Slot: 8

DATA EXTRACTED FROM SUBS.DAT BELOW FOR YOUR SLOT CHOICE!

Month Built        :2
Year Built         :1945

Month Unavailable   :10
Year Unavailable    :1945

Month Sent to PTO?   :2
Year Sent to PTO?    :10

Unknown Year Variable    :1945

Surfaced Range                                :12000
Speed at Which Surfaced Range Achieved        :10

Submerged Range                                :95
Speed at Which Submerged Range Achieved        :5

Bow Torpedo Tubes      :6
Bow Torpedo Reloads    :12

Stern Torpedo Tubes      :4
Stern Torpedo Reloads    :6

Number of Deck Guns            : 2
Deck Gun(s) Caliber (Inches)   : 5

Length (ft)   : 312
Beam   (ft)   : 27
Draft  (ft)   : 15

Test Depth        (ft)   : 400
Periscope Depth   (ft)   : 65
Radar Depth       (ft)   : 48

Periscope Height  (ft)   : 68
Radar Mast Height (ft)   : 40

Displacement, Surfaced   : 1860
Displacement, Submerged  : 2428
Displacement Coefficient  : 2438

Power, Surfaced   : 5400
Power, Submerged  : 2740

Surfaced Speed Coefficient  : 351 << This might be water drag?
Submerged Speed Coefficient : 688 << This might be water drag?

Number of Diesel Motors     : 4
Number of Electric Motors   : 4

Diesel Fuel (Gallons)           : 117000
Diesel Fuel Consumption Rate?   : 7209

ENGINE COEFFICIENTS:
-----------------------------------------------------------
Surfaced Astern Modifier               : 100
Surfaced Stopped Coefficient           : 0
Surfaced 1/3ds Ahead Coefficient       : 40
Surfaced 2/3ds Ahead Coefficient       : 93
Surfaced Standard Ahead Coefficient    : 186
Surfaced Full Ahead Coefficient        : 320
Surfaced Flank Ahead Coefficient       : 400

Submerged Astern Modifier               : 10
Submerged Stopped Coefficient           : 0
Submerged 1/3ds Ahead Coefficient       : 50
Submerged 2/3ds Ahead Coefficient       : 120
Submerged Standard Ahead Coefficient    : 190
Submerged Full Ahead Coefficient        : 270
Submerged Flank Ahead Coefficient       : 400

Muscellaneous Unknown Variables:
--------------------------------------------------------------------------
It's highly likely that the missing variables (or possible variables)

Maximum Flooding Level Capacity
Maximum Compressed Air Capacity
Maximum Oxygen Level Capacity
Maximum Battery Voltage Capacity

Are contained within these unknown variables:
-----------------------------------------------------------
Unknown Variable #4   : 30
Unknown Variable #5   : 50
Unknown Variable #6   : 2097
Unknown Variable #7   : 2097
Unknown Variable #8   : 65536000
Unknown Variable #9   : 688128
Unknown Variable #10  : 1389363
Unknown Variable #11  : 2503475
Unknown Variable #12  : -372
Unknown Variable #13  : -186
Unknown Variable #14  : -93

Holding for acknowledgement.
Sheppard is offline   Reply With Quote