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-26-09, 02:27 AM   #1
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default [TEC] Shells.dat + Shells.zon Node Numbers in v1.5

SH4 v.1.5
[TEC] Shells.dat + Shells.zon Node Numbers in 1.5 v.1.1
v.1.1.
- found some typos (copypasta).
- added info about US and GE submarine guns ammos.
"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----------30mm_HE----------0x765548d9c98196cc----------0x01ff205e96cb1c67----------202
4----------30mm_AP----------0x6c99cd09c98196cc----------0x01ff00624e0b0264----------198
6----------2pdr_AA----------0x7f6ddabdc98196cc----------0x8ddf41f95d5de9f0----------194
8----------2pdr_AP----------0xf15ae9d9c98196cc----------0x8ddf41859bb40de0----------190
10---------2pdr_HE----------0x240b417fc98196cc----------0x8fdd61870683c468----------186
12---------20mm_AA----------0xd3fece5fc98196cc----------0x8fdd6020c9944f4c----------182

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:33 AM.
  Reply With Quote
Old 03-26-09, 02:27 AM   #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 the 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:33 AM.
  Reply With Quote
Old 03-26-09, 02:28 AM   #3
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

SH4 v.1.5

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:--------------------------Dat Node

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

Deck_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 copy paste,
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:36 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 09:37 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.