Log in

View Full Version : [REQ] More Flak Ammo


Fercyful
03-17-10, 10:16 PM
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 (http://www.4shared.com/file/243999313/9af23e60/Flak_Guns_More_Ammo_10.html)

(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 :)