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 02-09-13, 07:51 PM   #1
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default shells.zon ammo numbers?

Installed Webster's deck gun mod and thought it was a bit over the top, so I increased the reload time and reduced the ammo storage a bit. One other thing I'd like to change is increasing the armor piercing power of the AP shells, but the numbers are giving me fits.



None of them have any description of what they are, I'm trying to mod a 3 inch AP and for all I know the one I've selected could be a 16 inch or a .177 BB to shoot Ralphie's eye out. I copied the numbers from the 3 inch 50 and 4 inch 50 to notepad, then went through all the numbers in shells.zon, can't find anything that matches the ID or parent ID numbers anyplace.
Sniper297 is offline   Reply With Quote
Old 02-10-13, 12:48 AM   #2
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

You're almost there!!

Inside the Data/Library folder, open the "Shells.dat" file. All the specific ammunition types are there. The 3_50 is found under the "88mm_" headings. The 4_50's are under the "105mm_" name. The 5_25 are under "5_25Inch_" group (go figure!). Follow the id's of the specific ammunition found in this file, to match the id's in the .sim files your looking in.

That 3_50 AP shell: ID=0x7cf440f1c98196cc........see if it isn't under the Parent ID of the node #32-33 of the Shells.zon file?
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"

Last edited by CapnScurvy; 02-10-13 at 01:01 AM.
CapnScurvy is offline   Reply With Quote
Old 02-11-13, 04:42 PM   #3
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

Thanks, sort of. Looks like 28 is 3-50 AP, 30 is 3-50 HE.
Sniper297 is offline   Reply With Quote
Old 02-11-13, 06:25 PM   #4
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Quote:
Originally Posted by Sniper297 View Post
Thanks, sort of. Looks like 28 is 3-50 AP, 30 is 3-50 HE.
Not with my Gold Edition of the stock SH4 1.5 version. The 3_50 AP shell: ID=0x7cf440f1c98196cc is at the #32-33 node. There are 104 node's in the file (the 104th is the :END node).

Couple of things you should look at. Checking the Shells.zon file "Proprities"......when was the file "Modified"? Mine reads October 16, 2007 at 3:34pm.

Also, check your JSGME "Compare Snapshot" of your original game files. You did take a "Snapshot" of your cleanly installed game files didn't you before modding anything? Your original file snapshot should look like the one you have now (except for screen images you've taken that are in the main game folder; and the file named SI.bin, which is always added after running the game for the first time).
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 02-11-13, 07:25 PM   #5
Sniper297
The Old Man
 
Join Date: Dec 2005
Location: Philadelphia Shipyard Brig
Posts: 1,386
Downloads: 160
Uploads: 19
Default

I haven't bought 1.5 yet, still chugging along with 1.4, so there was probably one or two more guns added to 1.5. I keep a virgin backup copy of the game patched to 1.4, got August 2004 for shells.dat and June 2005 for shells.zon.



Would have been a bit simpler if they had just added comments/labels in the shells.zon file, hey?
Sniper297 is offline   Reply With Quote
Old 02-12-13, 10:53 AM   #6
CapnScurvy
Admiral
 
CapnScurvy's Avatar
 
Join Date: Apr 2005
Location: Dayton, Ohio
Posts: 2,292
Downloads: 474
Uploads: 64


Default

Version 1.4 compared to 1.5? That explains the difference in the file.

Yes, it would be nice to have a map of what's what, but using the Shells.dat file (or any .dat file for that matter) sets up your ID's for the other files related to the .dat model object.
__________________


The HMS Shannon vs. USS Chesapeake outside Boston Harbor June 1, 1813

USS Chesapeake Captain James Lawrence lay mortally wounded...
Quote:
.."tell the men to fire faster, fight 'till she sinks,..boys don't give up the ship!"
CapnScurvy is offline   Reply With Quote
Old 01-27-23, 08:02 PM   #7
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,894
Downloads: 431
Uploads: 26


Default 50 cal shells location

i realize that this is a 10 year old thread but it was the most appropriate one here.

in shells.dat, are the 2 pdr entries for the 50 cal machine gun?

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

in all of the explanations shells.dat i have found, there are no entries for a 50 cal.

thanks.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 01-28-23, 02:10 AM   #8
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

In my SH4 install the .50cal machinegun (Deck_Gun_12mm_Browning.sim) uses 20mm AP ammo.

  Reply With Quote
Old 01-28-23, 10:56 AM   #9
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,894
Downloads: 431
Uploads: 26


Default

Quote:
Originally Posted by JapLance View Post
In my SH4 install the .50cal machinegun (Deck_Gun_12mm_Browning.sim) uses 20mm AP ammo.
thank you!
i must admit that, although i understand the design aspects of the parent-child id's, when i get into the details, my eyes water and my head throbs.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 01-28-23, 12:33 PM   #10
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by KaleunMarco View Post
thank you!
i must admit that, although i understand the design aspects of the parent-child id's, when i get into the details, my eyes water and my head throbs.
Yes, head aches when having to find ID's in big files like that .
  Reply With Quote
Old 01-28-23, 11:06 PM   #11
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,894
Downloads: 431
Uploads: 26


Default

Quote:
Originally Posted by JapLance View Post
In my SH4 install the .50cal machinegun (Deck_Gun_12mm_Browning.sim) uses 20mm AP ammo.
it took me a few minutes to get the lay-of-the-land with these files and decided i would test it out.
so, i slaved the 3"-50 cal cannon shells to the 12mm Browning and headed out to find some fishing boats or crab boats or something i could shoot at without drawing fire back.

oh man! (lol)

if only i could get a 3/4/5 inch cannon to rapid fire like the Ma Deuce!

THANK YOU for this.
my new secret weapon.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Reply

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 06:10 AM.


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