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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 


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 02:44 PM.


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.