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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-04-10, 08:22 PM   #1
Cptn_Enth
Watch
 
Join Date: Apr 2007
Location: NY, NY
Posts: 29
Downloads: 56
Uploads: 0
Default File locations/index references for 10.5cm, 88mm, 37mm & 20mm ammo/guns

Evening guys,

I'm trying to figure out where Ubi placed the references for the deck guns and ammo storage for the sub's deck & flak guns, but they do not seem to be in their usual locations, for example, in Basic.cfg, the ammo storage/unit for the various guns used to be referenced here, just below the conning tower data:

[SUBMARINE_AMMOLIMITS1] ;105mm
MaxAmmoPerSlot=20
[SUBMARINE_AMMOLIMITS2] ;88mm
MaxAmmoPerSlot=40
[SUBMARINE_AMMOLIMITS3] ;37mm
MaxAmmoPerSlot=400
[SUBMARINE_AMMOLIMITS4] ;20mm
MaxAmmoPerSlot=1000

I've tried changing these values by a small increment, but the changes are not applied in game. Also, I've tried browsing the shells.sim and shells.zon files to see the explosion/AP values for the various ammunition (105, 88, 37, & 22mm rounds), but the indexes aren't noted at all...I was wondering if anyone knew which indexes belonged to which round, or if there was an easy way to figure it out using the existing tools we have at our disposal...

Thanks in advance to everyone in the mod community for all of their tireless work!

Regards,

Enth
__________________
Cptn. Enth
USS Drum
Squadron 98 "Blackwater Pirannahs"
Pearl Harbor, HI
Cptn_Enth is offline   Reply With Quote
Old 03-17-10, 08:38 AM   #2
runno
Swabbie
 
Join Date: Jan 2007
Posts: 9
Downloads: 3
Uploads: 0
Default

These values are stored in data/Objects/Guns folder. Each gun has its .sim and .zon file. The ammo storage parameters are in the .sim file.

I've modified them and have now both the deck gun and flaks with storage of 32000 rounds each shell type (AP, HE) as well as modified shell speed and reload time.

They feel like miniguns
runno is offline   Reply With Quote
Old 03-17-10, 09:37 AM   #3
wamphyri
Lieutenant
 
wamphyri's Avatar
 
Join Date: May 2004
Location: Lethbridge, Alberta
Posts: 260
Downloads: 40
Uploads: 0
Default

use goblin editor to open up all the shell files and you'll see the 20mm and 30mm shell types listed. Just double click the shell you want to change and click ammodamageinfo and all the info you want is right there. If your using s3d it just has lost of listings for ammodamageinfo and hard to find the exact one you want.
wamphyri is offline   Reply With Quote
Old 03-17-10, 03:51 PM   #4
Cptn_Enth
Watch
 
Join Date: Apr 2007
Location: NY, NY
Posts: 29
Downloads: 56
Uploads: 0
Default Thanks again guys...

Thanks a ton guys...haven't messed with the Goblin Editor yet...guess this will give me something to do over the weekend. (Side note: Ubi really needs to annotate things better :P)


While I'm there, maybe I'll see what I can tinker with to get ships to sink by flooding damage/fire damage...I know other much more learned and talented modders are already working to crack the code, but another pair of eyes can't hurt, right?

Thanks again,

E.
__________________
Cptn. Enth
USS Drum
Squadron 98 "Blackwater Pirannahs"
Pearl Harbor, HI
Cptn_Enth is offline   Reply With Quote
Old 03-17-10, 06:41 PM   #5
Punkedit
Watch
 
Join Date: Mar 2010
Posts: 15
Downloads: 1
Uploads: 0
Default

Under the gun folder there is only .sim I do not see the .zon could you please help.
Punkedit is offline   Reply With Quote
Old 03-18-10, 02:11 AM   #6
JL2010
Nub
 
Join Date: Mar 2010
Posts: 2
Downloads: 16
Uploads: 0
Default

Gentlemen, where can I download the software "Goblin Editor". Thanks in adv. I can't find any download pages even with google & yahoo search.
JL2010 is offline   Reply With Quote
Old 03-18-10, 02:39 AM   #7
reboot
Mate
 
Join Date: Jul 2005
Location: Charlotte, NC USA
Posts: 59
Downloads: 64
Uploads: 0
Default

Quote:
Originally Posted by JL2010 View Post
Gentlemen, where can I download the software "Goblin Editor". Thanks in adv. I can't find any download pages even with google & yahoo search.
It's in your sh5 root folder. It comes with the game.
reboot is offline   Reply With Quote
Old 03-18-10, 02:42 AM   #8
Decoman
Frogman
 
Join Date: Sep 2005
Location: Oslo, Norway
Posts: 306
Downloads: 24
Uploads: 0
Default

I wonder, what kind of filetype is a .zon file? Is the data found in .zon files used in any particular way?
Decoman is offline   Reply With Quote
Old 03-18-10, 06:32 AM   #9
runno
Swabbie
 
Join Date: Jan 2007
Posts: 9
Downloads: 3
Uploads: 0
Default

Punkedit, there could be only .sim files there, I did not check before posting the message. However, with guns the .zon files are irrelevant anyway.

Decoman, I have used the .zon files to set the hit points and armor level values of ships and airplanes. There are a lot of armor level strings there, which usually are valued -1, but one of them is different. It's right after ColisionableObject string (that's the exact string, no typo there) and the value after the ArmorLevel string reflects the thickness of the hull (e.g. for merchant ships it was about 20-25 and for CV/BB it was over 90). The deck gun was not able to penetrate any ships with this value over 25, but after modding the value, it was. The HitPoints value is (like the name says) the value, how much damage can a ship take.
runno is offline   Reply With Quote
Old 03-18-10, 06:36 AM   #10
runno
Swabbie
 
Join Date: Jan 2007
Posts: 9
Downloads: 3
Uploads: 0
Default

I've used the Goblin, but after I already modded the files with hex editor. Goblin is easier to use for beginners, but if you know where and what to look for, I recommend a hex editor, which supports the Intel hex. From what I've used, only Hex Workshop supports it, but it is not freeware. However, it has a hex convertor (BConv32.exe), which can be used as standalone with some other freeware hex editor.

Last edited by runno; 03-18-10 at 07:36 AM.
runno is offline   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 02:24 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.