SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH5 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=249)
-   -   [REQ] More Flak Ammo (https://www.subsim.com/radioroom/showthread.php?t=165305)

Fercyful 03-17-10 10:16 PM

[REQ] More Flak Ammo
 
please ! :know:

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 :damn: I want to can press the trigger and keep firing until those damn planes go down :rock:

thanks for the help mod masters!

runno 03-18-10 06:43 AM

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 :up:

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).

Fercyful 03-18-10 02:12 PM

hey runno :up: THANKS for your great help, I just finish editing and I have 32500 clips here :rock:

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

and here is the result... :know:

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 :arrgh!:

thanks again runno ! :yeah:

runno 03-19-10 03:42 AM

Glad I could be helpful :)


All times are GMT -5. The time now is 10:36 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.