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 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-13-13, 07:29 PM   #16
Consigliere
Watch
 
Join Date: Jun 2011
Location: Moscow, USSR
Posts: 28
Downloads: 153
Uploads: 0
Default

Quote:
Originally Posted by evan82 View Post
The problem is, if in SH3 hardcode is only six possible operative torp. tubes, or more? Look, in IX You have 4 forward, and 2 stern. BTW; Nice idea with aft tubes for XXI, and I love this sub.
Hi, mate.
Sorry for not answering for so long... RL and such... To the topic.
Do not know for now... still...
a) The game's zone files have controllers for 10 tubes (6 bow & 4 stern)... Open any .zon file in S3D and look for zone types... There are:
58 BowTorpedoTubes
131 BowTorpedoTubes2
132 BowTorpedoTubes3
133 BowTorpedoTubes4
134 BowTorpedoTubes5
135 BowTorpedoTubes6
61 SternTorpedoTubes
128 SternTorpedoTubes2
129 SternTorpedoTubes3
130 SternTorpedoTubes4
Mention that the last two are not used in a stock game at all... So, for now we can have up to 10 tubes...
b) In those two posts (http://www.subsim.com/radioroom/show...postcount=2630 and http://www.subsim.com/radioroom/show...postcount=2824) reaper7 mentioned that torpedo related data is stored in a single byte in a binary format in the game's memory. The binary for default 6 tubes 111111 = 63. But one byte can contain a value up to 255 which is exactly 11111111 = 8 torpedo tubes...
A-ha... so just 8...
c) But a very good modder here pointed (through pm) to me that there are entries for opening only six tubes (dial type=48,49,50,51,52 and 53) in dials types (.sim files in interior folder) so he was more than sure that the game will not 'recognise' additional tubes...

As you could see in my posts above i do have two additional working (keyboard opening but not firing) tubes (they are present and recognised by game but not the menu (periscope or uzo or interior screens) which was not modified)... So, i do have tubes (with a right zone config) which can be opened (maybe in contrast to point (c) above), but can't be fired... That is due to wrong menu.ini which does not have them, or due to exe limitations...
Though i do understand that all above mentioned could be just "a work in progress" left by the game developers... but think we - modders, definitly should give a try to a possibility of adding additional tubes to subs...
So... i'm stuck here for a long time now due to RL. Will continue some time...

p.s. The reason i can't check that all for sure is that i do not know menu.ini and can't add stern torp room to type XXI now... So i will maybe try to remodel and reconfig type IX by adding two additional front tubes... That could be more easy at first...
__________________
Yoda's modding rules:
- You must unlearn what you have learned.
- Try not. Do... or do not. There is no try.
- Size matters not.

Last edited by Consigliere; 08-13-13 at 08:08 PM.
Consigliere is offline   Reply With Quote
 

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 10:19 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.