![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 | ||
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
[TEC] Shells.dat + Shells.zon Node Numbers in 1.5 v1.1
Ahoy Skippers und Kapitäns!
Now version at 1.1. - found some typos (copypasta). - added info about US and GE submarine guns ammos. - I have had this updated version for some time but didn't update it until today, 18.march.08 "Inspired" by the post in second page of the Progress on TM and SH4 ver 1.5 thread: Quote:
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: Code:
Node: Shell: Id: 2 105mm_HE 0x6843a9abc98196cc 6 105mm_AP 0xa2802057c98196cc 10 105mm_AA 0xf7cf3679c98196cc 12 16Inch_HE 0xae2b0cf1c98196cc 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. ![]() You could just copy the code and save it as a textfile if you need this data: Code:
SH4 v.1.5
v.1.1.
- found some typos (copypasta)
- added info about US and GE submarine guns ammos.
This data found with Silent-3ditor-beta06 in Shells.zon:
Also, I added the corresponding Node Number that Shells.dat has, in the end,
note how the numbering goes backwards. :doh:
--------------------------------------------------------------------------------------------
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
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 12
98 105mm_AA 0xf7cf3679c98196cc 0x955a805c78336f70 10
100 105mm_AP 0xa2802057c98196cc 0x955a803277e310a0 6
102 105mm_HE 0x6843a9abc98196cc 0x955a810b956b79dc 2
--------------------------------------------------------------------------------------------
"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 8.march.2008
Code:
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): Ammo type - Node in Shells.zon - Shell value in sim file 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 AP 14 0x3a65f923c98196cc HE 16 0xcad8fd87c98196cc AA 12 0xd3fece5fc98196cc SS 36 0x56545dc1c98196cc Deck_Gun_GE30mm_Turret.sim AP 4 0x6c99cd09c98196cc HE 2 0x765548d9c98196cc AA 12 0xd3fece5fc98196cc SS 36 0x56545dc1c98196cc Deck_Gun_GE37mm_M.sim Deck_Gun_GE37mm_SA.sim Deck_Gun_GE37mm_TSA.sim , have AA ammos too. AP 20 0xbb09b24bc98196cc HE 16 0x68937049c98196cc AA 18 0x92e0e4c5c98196cc SS 36 0x56545dc1c98196cc Deck_Gun_GE105mm.sim (has 20 SS shells) AP 100 0xa2802057c98196cc HE 102 0x6843a9abc98196cc AA 98 0xf7cf3679c98196cc SS 36 0x56545dc1c98196cc USSubParts folder *deck_gun*.sim files; File(s): Ammo type - Node in Shells.zon - Value in sim file 20mm_Oerlikon_Single.sim " -- " means there's a 0. AP 14 0x3a65f923c98196cc HE 16 0xcad8fd87c98196cc AA -- ------------------ SS 36 0x56545dc1c98196cc 20mm_Oerlikon_Twin.sim AP 14 0x3a65f923c98196cc HE 16 0xcad8fd87c98196cc AA -- ------------------ SS -- ------------------ Deck_Gun_40mm_Single.sim Deck_Gun_40mm_Twin.sim AP 26 0x13277047c98196cc HE 28 0x5a10c7abc98196cc AA -- ------------------ SS -- ------------------ Deck_Gun_12mm_Browning.sim AP 14 0x3a65f923c98196cc HE 16 0xcad8fd87c98196cc AA 12 0xd3fece5fc98196cc SS 36 0x56545dc1c98196cc Deck_Gun_3_50.sim AP 32 0x3a65f923c98196cc HE 34 0x35c3f71dc98196cc AA 30 0x42e3b49bc98196cc SS 36 0x56545dc1c98196cc Deck_Gun_4_50.sim AP 100 0xa2802057c98196cc HE 102 0x6843a9abc98196cc AA 98 0xf7cf3679c98196cc SS 36 0x56545dc1c98196cc Deck_Gun_5_25.sim AP 64 0xc09fd2d5c98196cc HE 66 0x01013e11c98196cc AA 62 0x4ebc512bc98196cc SS 36 0x56545dc1c98196cc ..or, you could just DOWNLOAD these txt files. There could be some errors due excessive copypasta, but they could be easily fixed. ![]() Have fun. Last edited by jimbob; 03-19-08 at 01:31 AM. |
||
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Sep 2007
Posts: 921
Downloads: 75
Uploads: 0
|
![]()
Thanks a lot!!!!
__________________
"There are only two types of ships- submarines...... and targets" Unknown "you wouldn't catch me on a ship that deliberately sinks itself"- comment to me from a surface sailor. ![]() System: AMD 6300 3.5 GHz | 32GB DDR3 | SATA 300 320GB HD, SATA III 1TB HD, SATA III 1.TB HD | ASUS Sonar DS sound card NVIDIA 1660 Super OC | Windows 10 |
![]() |
![]() |
![]() |
#3 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
extremely helpfull info here
![]() |
![]() |
![]() |
#4 |
Weps
![]() Join Date: Apr 2005
Location: Illinois
Posts: 366
Downloads: 176
Uploads: 5
|
![]()
__________________
=============
![]() My Game starts with GFO - Keepin' it real as it needs to be! |
![]() |
![]() |
![]() |
#5 |
Rear Admiral
![]() |
![]()
Wow, a two year old thread? Your on a crusade.
![]() ![]() |
![]() |
![]() |
![]() |
#6 | ||
Weps
![]() Join Date: Apr 2005
Location: Illinois
Posts: 366
Downloads: 176
Uploads: 5
|
![]() Quote:
Well, I received 76% hull damage at a range of well over 600 yards before he went down! ![]() You are right about the string of expletives that issued forth! But that was as nothing compared to... Later in the patrol, when I had to dive quickly to avoid aircraft who were on a course to practically fly right over my conning tower.. I reacted immediately by ordering we dive to a safe depth of 200 feet, Then, I leisurely left the room for just a moment- secure in the knowledge that I had time to evade detection and all was well... I returned in time to hear the harried shouts from my crew mixed in with breaking glass and the sounds of stressed metal giving way... my weakened hull had given in like an egg shell. It was too late, over in an instant and nothing I could do... it was a horrible way to go. The closing images still haunt me. ![]() === An excerpt; Billfish (SS-286) commanded by Edward Beach: Quote:
__________________
=============
![]() My Game starts with GFO - Keepin' it real as it needs to be! Last edited by JoeCorrado; 06-22-10 at 11:53 AM. |
||
![]() |
![]() |
![]() |
#7 |
Ensign
![]() Join Date: May 2005
Location: Suomi Finland
Posts: 225
Downloads: 365
Uploads: 6
|
![]()
There was some hassle with filefront some months ago, they almost quit,
thought I've fixed that link on my sig but it didn't work for a while. Now it should work. ![]() |
![]() |
![]() |
![]() |
|
|