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 03-25-09, 12:55 PM   #1
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default [TEC] Shells.dat + Shells.zon Node Numbers in v1.4

this was made by jimbob, all the credit for this work is his im just posting it for everyone who might need it


SH4 v.1.4
[TEC] Shells.dat + Shells.zon Node Numbers in 1.4

"Inspired" by the post at subsim:
http://www.subsim.com/radioroom/show...=132159&page=2
"Originally Posted by Ducimus
Basicallye i dont feel like redoing every shell adjustment (hard to without a bloody label on them, i have to open up the dat, look at the node names, and then hunt for the child in the sim file , not fun.)"
and skwasjer said:
"Use the new Find option in v0.6. Next to plain text, it accepts id's in hex format, so basically copy the shell id to clipboard, and paste it in the Find dialog (with the sim file open). The Find function searches both in id and parent id fields for the value you entered. Still tedious, but not as much as before "
Thought I'll give it a go.
Ctrl+F in 3ditor helps a lot.
Lotsa copypasta.
So first I booted S3ditor and made ShellsDat.txt file with a list of Nodes + Shellsize + Id from the Shells.dat file
looks like this:

------------------------------------------------

This data found with Silent-3ditor-beta06 in Shells.dat:

Node: ------Shell: -------------Id:
2 ----------105mm_HE --------0x6843a9abc98196cc
6 ----------105mm_AP --------0xa2802057c98196cc
10 ---------105mm_AA --------0xf7cf3679c98196cc
12 ---------16Inch_HE --------0xae2b0cf1c98196cc
18 ---------16Inch_AP --------0x3e1d083fc98196cc
22 ---------16Inch_AA --------0x932dffddc98196cc

etc...
------------------------------------------------

Then I created ShellsZon.txt file, booted S3ditor and
Shells.zon file nodes and copyed the ParentId number to clipboard
and then searched my ShellsDat.txt for a match.
Pay attention to Node number in left, add 1 to it and you got yourself
the Nodenumber to tweak the AmmoDamageInfo.
Also, I added the corresponding Node Number Shells.dat in the end,
note how the numbering goes backwards.

------------------------------------------------

This data found with Silent-3ditor-beta06 in Shells.zon:

Node: --------Shell: --------ParentId: -------------------Id: -----------------------Node in Shells.dat
2 ------------2pdr_AA ------0x7f6ddabdc98196cc --------0x8ddf41f95d5de9f0 ------194
4 ------------2pdr_AP ------0xf15ae9d9c98196cc --------0x8ddf41859bb40de0 -----190
6 ------------2pdr_HE ------0x240b417fc98196cc --------0x8fdd61870683c468 -----186
8 ------------20mm_AA -----0xd3fece5fc98196cc --------0x8fdd6020c9944f4c ------182
10 -----------20mm_AP -----0x3a65f923c98196cc --------0x6ee1e054fbe5a0ea -----178
12 -----------20mm_HE -----0xcad8fd87c98196cc --------0x8fdd61b552161350 -----174
etc...
------------------------------------------------

There could be some errors due excessive copypasta,
but they could be easily fixed.
"a Big Thanks" for skwasjer for the editor, it kicks butt all the time!
This data is vital for modders so
feel free to use this data anyway you like.
I dont mind about some credits tho,
but its not mandatory.
:P

jimbob 4.march.2008

Last edited by Webster; 03-26-09 at 09:31 AM.
  Reply With Quote
Old 03-25-09, 12:56 PM   #2
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

SH4 v.1.5
This data found with Silent-3ditor-beta06 in Shells.dat.
(Note, there's is no ParentId since these are them parents!)
--------------------------------------------

Node: -------Shell: --------------------Id:

2 ----------105mm_HE ----------0x6843a9abc98196cc
6 ----------105mm_AP ----------0xa2802057c98196cc
10 ---------105mm_AA ----------0xf7cf3679c98196cc
12 ----------16Inch_HE ----------0xae2b0cf1c98196cc
18 ----------16Inch_AP ----------0x3e1d083fc98196cc
22 ----------16Inch_AA ----------0x932dffddc98196cc
26 ----------15Inch_HE ----------0xb640dcd9c98196cc
30 ----------15Inch_AP ----------0xef2518d1c98196cc
34 ----------15Inch_AA ----------0x5f46f7bdc98196cc
38 ----------14Inch_HE ----------0xb69ce823c98196cc
42 ----------14Inch_AP ----------0x184e4d13c98196cc
46 ----------14Inch_AA----------0x761cd737c98196cc
50 ----------8Inch_HE ----------0xf8d660a5c98196cc
54 ----------8Inch_AP ----------0x885a00abc98196cc
58 ----------8Inch_AA ----------0xae8391b9c98196cc
62 ----------6Inch_HE ----------0x9b237749c98196cc
66 ----------6Inch_AP ----------0x94c7b4bbc98196cc
70 ----------6Inch_AA ----------0x41961c1dc98196cc
74 ----------5_25Inch_HE -------0x01013e11c98196cc
78 ----------5_25Inch_AP ------0xc09fd2d5c98196cc
82 ----------5_25Inch_AA ------0x4ebc512bc98196cc
86 ----------5Inch_HE---------- 0xda387dfbc98196cc
90 ----------5Inch_AP ----------0xc08dc92bc98196cc
94 ----------5Inch_AA ----------0xfa9f1d0fc98196cc
98 ----------4_7Inch_HE --------0xc911ff8fc98196cc
102 ---------4_7Inch_AP --------0x41022aa5c98196cc
106 ---------4_7Inch_AA --------0xe411f8fdc98196cc
110 ---------4Inch_HE ----------0xc540beafc98196cc
114 ---------4Inch_AP ----------0x421bf431c98196cc
118 ---------4Inch_AA ----------0x7c6a2135c98196cc
122 ---------3Inch_HE ----------0xc41089f7c98196cc
126 ---------3Inch_AP ----------0x78b32f37c98196cc
130 ---------3Inch_AA ----------0xe81901e9c98196cc
134 ---------88mm_S -----------0x56545dc1c98196cc
138 ---------88mm_HE ----------0x35c3f71dc98196cc
142 ---------88mm_AP ----------0x7cf440f1c98196cc
146 ---------88mm_AA ----------0x42e3b49bc98196cc
150 ---------40mm_HE ----------0x5a10c7abc98196cc
154 ---------40mm_AP ----------0x13277047c98196cc
158 ---------40mm_AA ----------0xe9382df9c98196cc
162 ---------37mm_HE ----------0x68937049c98196cc
166 ---------37mm_AP ----------0xbb09b24bc98196cc
170 ---------37mm_AA ----------0x92e0e4c5c98196cc
174 ---------20mm_HE ----------0xcad8fd87c98196cc
178 ---------20mm_AP ----------0x3a65f923c98196cc
182 ---------20mm_AA ----------0xd3fece5fc98196cc
186 ---------2pdr_HE -----------0x240b417fc98196cc
190 ---------2pdr_AP -----------0xf15ae9d9c98196cc
194 ---------2pdr_AA -----------0x7f6ddabdc98196cc
198 ---------30mm_AP ----------0x6c99cd09c98196cc
202 ---------30mm_HE ----------0x765548d9c98196cc

--------------------------------------------

There could be some errors due excessive copypasta,
but they could be easily fixed.
"a Big Thanks" for skwasjer for the editor, it kicks butt all the time!
This data is vital for modders so
feel free to use this data anyway you like.
I dont mind about some credits tho,
but its not mandatory.
:P

jimbob 4.march.2008

Last edited by Webster; 03-26-09 at 09:31 AM.
  Reply With Quote
Old 03-25-09, 12:56 PM   #3
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

SH4 v.1.4

This data found with Silent-3ditor-beta06 in Shells.zon:
Also, I added the corresponding Node Number for Shells.dat in the end,
note how the numbering goes backwards. :duh:
--------------------------------------------------------------------------------------------

SH4 v.1.4 shells.zon node ID guide
================================================== ================================================== ================================================== ==============

Shells.zon

Node: --------Shell: --------ParentId: -------------------Id: -----------------------Node in Shells.dat

2 ------------2pdr_AA ------0x7f6ddabdc98196cc --------0x8ddf41f95d5de9f0 -------194
4 ------------2pdr_AP ------0xf15ae9d9c98196cc --------0x8ddf41859bb40de0 ------190
6 ------------2pdr_HE ------0x240b417fc98196cc --------0x8fdd61870683c468 ------186
8 ------------20mm_AA ----0xd3fece5fc98196cc ---------0x8fdd6020c9944f4c ------182
10 -----------20mm_AP ----0x3a65f923c98196cc --------0x6ee1e054fbe5a0ea ------178
12 -----------20mm_HE ----0xcad8fd87c98196cc --------0x8fdd61b552161350 ------174
14 -----------37mm_AA ----0x92e0e4c5c98196cc -------0x803a2180818fca42 ------170
16 -----------37mm_AP ----0xbb09b24bc98196cc -------0x77ca819a2bc1bb18 ------166
18 -----------37mm_HE ----0x68937049c98196cc -------0x8fdd6055ba760610 ------162
20 -----------40mm_AA ----0xe9382df9c98196cc -------0x805a0032af6ada0a ------158
22 -----------40mm_AP ----0x13277047c98196cc -------0x6ee1e044dc27750a -----154
24 -----------40mm_HE ----0x5a10c7abc98196cc -------0x8fdd6119361a8528 ------150
26 -----------88mm_AA ----0x42e3b49bc98196cc -------0x8167e0f7fde69a32 ------146
28 -----------88mm_AP ----0x7cf440f1c98196cc --------0x6e8b210d4092a366 -----142
30 -----------88mm_HE ----0x35c3f71dc98196cc --------0x8fdd60a33dd36fac ------138
32 -----------88mm_S -----0x56545dc1c98196cc --------0x77ca8149ce0bdaa2 -----134
34 -----------3Inch_AA ----0xe81901e9c98196cc --------0x8167e1e96ccc6d8e -----130
36 -----------3Inch_AP ----0x78b32f37c98196cc --------0x816d81fcbc734b04 ------126
38 -----------3Inch_HE ----0xc41089f7c98196cc --------0x8fdd8164c707f604 -------122
40 -----------4Inch_AA ----0x7c6a2135c98196cc --------0x8167e1389a15e6da ------118
42 -----------4Inch_AP ----0x421bf431c98196cc ---------0x6ee1e035087a8cda -----114
44 -----------4Inch_HE ----0xc540beafc98196cc ---------0x8fdd80c59f54e440 ------110
46 -----------4_7Inch_AA --0xe411f8fdc98196cc ---------0x8167e1295e71e206 -----106
48 -----------4_7Inch_AP --0x41022aa5c98196cc --------0x6ee1c01dee44a8ea -----102
50 -----------4_7Inch_HE --0xc911ff8fc98196cc ----------0x8fdd80e7be24fda8 ------98
52 -----------5Inch_AA ----0xfa9f1d0fc98196cc ----------0x8f59c0dcc5357050 ------94
54 -----------5Inch_AP ----0xc08dc92bc98196cc ---------0x8f59c1ad1fde8f2c -------90
56 -----------5Inch_HE ----0xda387dfbc98196cc ----------0x8fdd8192556939ec -----86
58 ----------5_25Inch_AA---0x4ebc512bc98196cc ---------0x8167a1fb96cec242 -----82
60 ----------5_25Inch_AP ---0xc09fd2d5c98196cc ---------0x8167e108746393b6 ----78
62 ----------5_25Inch_HE ---0x01013e11c98196cc ---------0x8fdd8039598e8868 ----74
64 ----------6Inch_AA ------0x41961c1dc98196cc ---------0x8167e020c4a0a546 ----70
66 ----------6Inch_AP ------0x94c7b4bbc98196cc ---------0x6ee1c1a4d929296a ----66
68 ----------6Inch_HE ------0x9b237749c98196cc ---------0x8fdd8037bbecae34 ----62
70 ----------8Inch_AA ------0xae8391b9c98196cc ---------0x8f59c11166784880 ----58
72 ----------8Inch_AP ------0x885a00abc98196cc ---------0x8f59c02a34db9768 ----54
74 ----------8Inch_HE ------0xf8d660a5c98196cc ---------0x8fdd806665b6be58 ----50
76 ---------14Inch_AA ------0x761cd737c98196cc --------0x8fdd81dafba34cd8 ----46
78 ---------14Inch_AP ------0x184e4d13c98196cc --------0x6ee1c1eb5b93f9a6 ----42
80 ---------14Inch_HE ------0xb69ce823c98196cc --------0x8fdd81f7926eed54 ----38
82 ---------15Inch_AA ------0x5f46f7bdc98196cc --------0x8fdda02157a11680 ----34
84 ---------15Inch_AP ------0xef2518d1c98196cc --------0x6ee1c067b3f769a6 ----30
86 ---------15Inch_HE ------0xb640dcd9c98196cc -------0x8fdda16df403bf84 -----26
88 ---------16Inch_AA ------0x932dffddc98196cc --------0x8fdda17d0dc1d41c ----22
90 ---------16Inch_AP ------0x3e1d083fc98196cc --------0x8cb7e0eed39f7840 ----18
92 ---------16Inch_HE ------0xae2b0cf1c98196cc --------0x8fdda105e4e8e6e0 ----14
94 --------105mm_AA -------0xf7cf3679c98196cc --------0x955a805c78336f70 ----10
96 --------105mm_AP -------0xa2802057c98196cc -------0x955a803277e310a0 -----6
98 --------105mm_HE -------0x6843a9abc98196cc -------0x955a810b956b79dc -----2

--------------------------------------------------------------------------------------------

Connecting gun to ammo:
For example 20mm_Oerlikon_Single.sim, what node number it uses in shells.zon?
- Open the file in S3D, navigate to node 7 (properties)
- + ammo_storage
- Click the AA and "shell=420804335894781292"
- In property details we got Id:
0x3a65f923c98196cc

- which I then searched in this file to find the node number.

...there probably coulda been easier way,
but at the same time I did some listing of Id's etc,
could come handy later on.


================================================== ==========================================
GerSubParts folder *deck_gun*.sim files;
================================================== ==========================================
File(s):

Deck_Gun_GE20mm_Turret.sim
Deck_Gun_GE20mm_Vierling.sim
Deck_Gun_GE20mmSingle.sim
Deck_Gun_GE20mmSingle_Shield.sim
Deck_Gun_GE20mmTwin.sim
Deck_Gun_GE20mmTwin_Shield.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA ----------------12 ---------------0xd3fece5fc98196cc
AP ----------------14 ---------------0x3a65f923c98196cc
HE ----------------16 ---------------0xcad8fd87c98196cc
SS ----------------36 ---------------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------

Deck_Gun_GE30mm_Turret.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA ---------------12 --------------0xd3fece5fc98196cc
AP ----------------4 --------------0x6c99cd09c98196cc
HE ----------------2 --------------0x765548d9c98196cc
SS ---------------36 --------------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------
Deck_Gun_GE37mm_M.sim
Deck_Gun_GE37mm_SA.sim
Deck_Gun_GE37mm_TSA.sim , have AA ammos too.

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA ----------------18 ---------------0x92e0e4c5c98196cc
AP ----------------20 ---------------0xbb09b24bc98196cc
HE ----------------16 ---------------0x68937049c98196cc
SS ----------------36 ---------------0x56545dc1c98196cc
--------------------------------------------------------------------------------------------

Deck_Gun_GE105mm.sim (has 20 SS shells)

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA ----------------98 ---------------0xf7cf3679c98196cc
AP ---------------100 ---------------0xa2802057c98196cc
HE ---------------102 ---------------0x6843a9abc98196cc
SS ----------------36 ---------------0x56545dc1c98196cc

================================================== ==========================================
USSubParts folder *deck_gun*.sim files;
================================================== ==========================================
File(s):

20mm_Oerlikon_Single.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA ----------------------------------------------------
AP -----------------14 --------------0x3a65f923c98196cc
HE -----------------16 --------------0xcad8fd87c98196cc
SS -----------------36 --------------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------

20mm_Oerlikon_Twin.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -------------------------------------------------------
AP ----------------14 --------------0x3a65f923c98196cc
HE ----------------16 --------------0xcad8fd87c98196cc
SS -------------------------------------------------------

--------------------------------------------------------------------------------------------
eck_Gun_40mm_Single.sim
Deck_Gun_40mm_Twin.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -------------------------------------------------
AP -----------------26 --------------0x13277047c98196cc
HE -----------------28 --------------0x5a10c7abc98196cc
SS -------------------------------------------------

--------------------------------------------------------------------------------------------
Deck_Gun_12mm_Browning.sim

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -----------------12 ------------0xd3fece5fc98196cc
AP -----------------14 ------------0x3a65f923c98196cc
HE -----------------16 ------------0xcad8fd87c98196cc
SS -----------------36 ------------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------

Deck_Gun_3_50.sim (3Inch shell)

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -----------------30 -----------0x42e3b49bc98196cc
AP -----------------32 -----------0x3a65f923c98196cc
HE -----------------34 -----------0x35c3f71dc98196cc
SS -----------------36 -----------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------

Deck_Gun_4_50.sim (4Inch shell)

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -----------------98 ------------0xf7cf3679c98196cc
AP ----------------100 ------------0xa2802057c98196cc
HE ----------------102 ------------0x6843a9abc98196cc
SS -----------------36 ------------0x56545dc1c98196cc

--------------------------------------------------------------------------------------------

Deck_Gun_5_25.sim (4_7Inch shell)

Ammo type___ Node in Shells.zon____Value in sim file____ " -- " means n/a

AA -----------------62 ---------------0x4ebc512bc98196cc
AP -----------------64 ---------------0xc09fd2d5c98196cc
HE -----------------66 ---------------0x01013e11c98196cc
SS -----------------36 ---------------0x56545dc1c98196cc

"""""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""
################################################## ####################


There could 'still' be some errors due excessive copypasta,
but they could be easily fixed.
"a Big Thanks" for skwasjer for the editor, it kicks butt all the time!
---> http://sh4.skwas.net/
This data is vital for modders so
feel free to use it anyway you like.
I dont mind about some credits tho,
but its not mandatory.
:P



jimbob 8.march.2008

Last edited by Webster; 03-26-09 at 09:32 AM.
  Reply With Quote
Old 03-25-09, 01:42 PM   #4
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

i have another one just like it for v1.5 but i'll post that in another thread later on because i'm tired of typing lol.
  Reply With Quote
Old 03-25-09, 02:12 PM   #5
jimbob
Ensign
 
Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
Default

Sweet stuff.

I thought it was crazy to do such a list but alteast someone found it usefull.

jimbob is offline   Reply With Quote
Old 03-26-09, 12:22 AM   #6
NEON DEON
Ace of the Deep
 
Join Date: Apr 2005
Location: Los Angeles, CA
Posts: 1,207
Downloads: 39
Uploads: 5
Default

Wow!

I was just about to pull my hair out then along came this post.

Thanks Webster.
__________________
Diesel Boats Forever!
NEON DEON is offline   Reply With Quote
Old 03-26-09, 02:05 AM   #7
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by NEON DEON View Post
Wow!

I was just about to pull my hair out then along came this post.

Thanks Webster.

i got one for v1.5 or rather hes got one i checked numbers on and fixed a typo or two is all.

i just been modding and uploading here so i havent got back to it yet but i tidied up the second chart so its readable now and ill go post that v1.5 tec

Last edited by Webster; 03-26-09 at 02:20 AM.
  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 11:51 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.