BFT2020
Well-known member
I am using a mod that increases the stack size of ammo but it doesn't appear to effect the special ammo types that your mods add. Is there possibly an addon mod for this? If not, is there a way to change the stack sizes myself?
- Take the mod that modifies ammo stack sizes and make a copy.
- Rename it so that it is Alphabetically after Izayo's mod - I would do something like ZZZZ_Izayo_AmmoStacks.
- Rename the modinfo file for the new name of the mod.
- Remove all files except for items.xml and the modinfo file.
- In items.xml file, remove all code and put in the following:
<config>
<set xpath="//item[contains(@name,'IZYammo')]/property[@name='Stacknumber']/@value">X</set>
</config>
Change X in the second line to the value you want. Any ammo in the game that contains IZYammo will update the stack size to your number.
If you want to only change specific ones, then you just need to change the following
item[contains(@name,IZYammo')]
to
item(@name='IZYammo556mmBulletBall']
Black_Wolf's method works also, but if you download any updates to the mod, you will lose those changes. If you make a small modlet patch, it should always work as long as TFP don't change the variable names or code structure, or Izayo change's the name of the ammo.