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-17-10, 10:16 PM   #1
Fercyful
Medic
 
Join Date: Apr 2005
Location: Argentina
Posts: 165
Downloads: 97
Uploads: 0
[REQ] More Flak Ammo

please !

how can I add more flak gun ammo?
(magazine size + more clips reserves)

I tried editing some files but always I got the same ammo quantity I want to can press the trigger and keep firing until those damn planes go down

thanks for the help mod masters!
__________________
Fercyful is offline   Reply With Quote
Old 03-18-10, 06:43 AM   #2
runno
Swabbie
 
Join Date: Jan 2007
Posts: 9
Downloads: 3
Uploads: 0
Default

Go to <sh5 folder>/data/Objects/Guns, open up the .sim file of the flak you want to use, either in Goblin or some hex editor. Look for clip_size and ammo_storage strings. Under ammo_storage, there are AP, HE, AA and SS shells, all of them have the "amount" string and after the amount string comes the amount value (in hex editor there is the amount string hex, then 00 and then the next four numbers (e.g. 00 10) are the amount in hex. If you use Goblin, then you'll see the real value as integer.

Both the clip_size and amount values can be up to ~32500. I've used 32000 for both of them (00 7D in hex) and it works just fine. No need to change the clip also

Note that the hex values are not in raw hex, but in Intel hex, which most of the hex editors do not support (you'll check the value in hex editor and if the editor does not support Intel hex, it shows some random values, which do not make sense).
runno is offline   Reply With Quote
Old 03-18-10, 02:12 PM   #3
Fercyful
Medic
 
Join Date: Apr 2005
Location: Argentina
Posts: 165
Downloads: 97
Uploads: 0
hey runno THANKS for your great help, I just finish editing and I have 32500 clips here

I use this freeware HEX editor
http://mh-nexus.de/en/hxd/

and here is the result...

I build a little mod with the changes to each flak gun (no need to reload)

it can be downloaded here

Flak Guns More Ammo 1.0.rar

(is compatible with "Wamphyri's Plane Attack Mod - Version 0.5")

so start using that 32500 clips men

thanks again runno !
__________________
Fercyful is offline   Reply With Quote
Old 03-19-10, 03:42 AM   #4
runno
Swabbie
 
Join Date: Jan 2007
Posts: 9
Downloads: 3
Uploads: 0
Default

Glad I could be helpful
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 06:48 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.