SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-06-11, 05:13 AM | #1 |
Captain of the Nautilus
Join Date: Mar 2005
Posts: 143
Downloads: 223
Uploads: 0
|
Modding Silent Hunter 1.
I've looked through the SUBS.DAT file for SH:CE and deciphered maybe 65-70% of it using UGE -- Universal Game Editor, a old DOS-era editor that still works quite well for old style games.
Here's the output file for the TENCH entry block in SUBS.DAT created by UGE: Code:
=========================================================================== Num. Variable name OFFSET VAR.TYPE RANGE =========================================================================== 13 Tench Name #1 13921 9 letters TEXT 14 Tench Name #2 13931 9 letters TEXT 15 SHP File #1 13962 12 letters TEXT 16 SHP File #2 13976 12 letters TEXT 17 Surf Speed Range 14021 4 bytes +/- 2,147,483,648 18 Surf Range Speed 14025 4 bytes +/- 2,147,483,648 19 Subm Speed Range 14029 4 bytes +/- 2,147,483,648 20 Subm Speed Range 14033 4 bytes +/- 2,147,483,648 21 Bow TT 14037 4 bytes +/- 2,147,483,648 22 Stern TT 14041 4 bytes +/- 2,147,483,648 23 # Torp Bow 14045 4 bytes +/- 2,147,483,648 24 # Torp Stern 14049 4 bytes +/- 2,147,483,648 25 Deck Gun Count 14057 4 bytes +/- 2,147,483,648 26 Deck Gun Cal. (inch) 14061 4 bytes +/- 2,147,483,648 27 Length 14069 4 bytes +/- 2,147,483,648 28 Beam 14073 4 bytes +/- 2,147,483,648 29 Height 14077 4 bytes +/- 2,147,483,648 30 Test Depth 14081 4 bytes +/- 2,147,483,648 31 Periscope Depth 14085 4 bytes +/- 2,147,483,648 32 Radar Depth 14089 4 bytes +/- 2,147,483,648 33 Periscope Height 14093 4 bytes +/- 2,147,483,648 34 Radar Mast Height 14097 4 bytes +/- 2,147,483,648 35 Top Speed Surf 14109 10 letters TEXT 36 Top Speed Subm 14119 10 letters TEXT 37 Tench Surf Disp 14129 4 bytes +/- 2,147,483,648 38 Tench Subm Disp 14133 4 bytes +/- 2,147,483,648 39 Displacement Coeff 14137 4 bytes +/- 2,147,483,648 40 Tench Surf Power 14141 4 bytes +/- 2,147,483,648 41 Tench Subm Power 14145 4 bytes +/- 2,147,483,648 42 Surfaced Spd Coeff. 14149 4 bytes +/- 2,147,483,648 43 Submerged Spd Coeff. 14153 4 bytes +/- 2,147,483,648 44 # Diesel Motors 14181 4 bytes +/- 2,147,483,648 45 # Electric Motors 14185 4 bytes +/- 2,147,483,648 46 Diesel Fuel (gal) 14189 4 bytes +/- 2,147,483,648 47 Diesel Consumption?? 14193 4 bytes +/- 2,147,483,648 48 Surf Mot Coef. ??? 14197 4 bytes +/- 2,147,483,648 49 Surf Mot Coef. Stop? 14201 4 bytes +/- 2,147,483,648 50 Surf Mot Coef. 1/3 F 14205 4 bytes +/- 2,147,483,648 51 Surf Mot Coef. 2/3 F 14209 4 bytes +/- 2,147,483,648 52 Surf Mot Coef. STD F 14213 4 bytes +/- 2,147,483,648 53 Surf Mot Coef. FUL F 14217 4 bytes +/- 2,147,483,648 54 Surf Mot Coef. FLK F 14221 4 bytes +/- 2,147,483,648 55 Subm Mot Coef. ??? 14241 4 bytes +/- 2,147,483,648 56 Subm Mot Coef. Stop? 14245 4 bytes +/- 2,147,483,648 57 Subm Mot Coef. 1/3 F 14249 4 bytes +/- 2,147,483,648 58 Subm Mot Coef. 2/3 F 14253 4 bytes +/- 2,147,483,648 59 Sub. Mot Coef. STD F 14257 4 bytes +/- 2,147,483,648 60 Sub. Mot Coef. FUL F 14261 4 bytes +/- 2,147,483,648 61 Sub. Mot Coef. FLK F 14265 4 bytes +/- 2,147,483,648 =========================================================================== I've been able to edit in a pretty decent SSN-571 Nautilus into the game, but have been unable to find the numbers that handle battery capacity in SUBS.DAT; hence me posting this. Last edited by Sheppard; 09-06-11 at 07:11 AM. |
|
|