Project Zomboid

Project Zomboid

Arsenal Settings for Less Ammo [Gunfighters]
21 Comments
Beornvig 11 Sep, 2022 @ 5:04pm 
So does this mod currently work to reduce the tidal wave of guns you get with Brita and Gunfighter? We love the mods, but it's just too many!
WalrusJones 31 Aug, 2022 @ 10:57pm 
Dang I was hoping this would remove every person doing concealed carry carrying a full box of ammo.
Danho  [author] 19 Jul, 2022 @ 6:31pm 
I could probably just add another folder for the script to overwrite the original mod script for canisters. I've done it myself for my own game and also reduced the number of ammo count per box of ammo aswell as canisters.

Been developing my own modpack so have realised many things these past few weeks. The reason Zombies drop so much guns is due to the game generating more loot based on Zombie density in the vicinity. So even when you set the chance to 0.001 and you have 15 guns and 15 ammo types in the list. They'll drop ALOT. Not sure how the math checks out on Gunfighter for the CCW modifier but the weightchance given to the pistol drops on the Zombies and to containers is the same.
Andserk 14 Jul, 2022 @ 10:16pm 
Is it possible to just remove the medium canisters from spawning? or lowering their inventory capacity (maybe medium from 8->4, small 4->2) to limit how much ammo they can hold? also, does this mod removes melee weapons or modern weapons? I've been looking for a proper 90's brita's balance but they are all pretty much abandoned sadly.
Danho  [author] 10 Jul, 2022 @ 11:23am 
Hi all.

So there are a couple of issues with the main mod that need to be patched. I have a modified version which has fixed them but I don't think I'm allowed to upload it publicly.

1. There is an issue with 1 of the settings that corrupts the loot tables. Not sure which one this is
2. Some Army containers have not been defined properly so the loot is weird.
3. It seems like the loot tables here are ADDED onto the vanilla ones, meaning we get the vanilla rules ontop of the Gunfighter ones, resulting in a fuck ton of loot.

@Thiazzi, yeah these settings set a negative chance drop for the Zombie ammo drops. But the gun drops are within the main mod, ammo will drop automatically with guns sometimes so thats whats happening.


Apologies but I may have changed the rolls on this mod all to 5, as I have balanced it for my own games where the loot tables are fixed and don't stack on the vanilla ones. I will re-upload a version where I will lower the rolls again.
thizzi 9 Jul, 2022 @ 2:50pm 
What i'm confused about is, i made my own version of this mod and even when i set all ammo to 0%, or "removed" i still get ammo and pistols dropping constantly when i spawn in zombies with the admin tools.
thizzi 9 Jul, 2022 @ 1:16pm 
Seems nice. Would be nice with a version where the drop rates are lowered to like 1/4th of the current ones though
FR_Alucard88 9 Jul, 2022 @ 4:23am 
Hello, do you have the changelog for the new update ? :)
Danho  [author] 2 Jul, 2022 @ 6:59pm 
Hello. Further update.

After some more testing, I have a sneaking suspicion that this could possibly be related to the trim options. Can't 100% confirm today but it seems very likely.
Danho  [author] 2 Jul, 2022 @ 5:31pm 
I'm not 100% sure what does it. It seems to be specifically any loot tables that contain guns and the army ones especially are more bugged. I think its only when you start to alter the Gunfighter settings in the mod options menu, then it starts to break. As I'm writing this I was actually testing again and just fixed the loot tables by replacing my ModOptions.ini file with the original default file and the loot is working normally again. Not sure how deep it goes, I've had tests where only the gun loot tables were bugged out and then I've done where all the gunfighter loot tables were bugged out. I suggest doing a fresh install of mod options and saving the ModOptions.ini file. There are also problems with the military spawns for gunfighter as "MilitaryCrate" and "MilitaryLocker" have not been used in the gunfighter definitions, aswell as the ammo table name not matching the games definition.
Heman 2 Jul, 2022 @ 1:13pm 
Care to elaborate a bit more about mod options? I heard it's broken but no one told how much. What do you mean "when you change the settings it breaks the loot tables"? As in if you change ANY settings or only specific stuff like the arsenal loot? Thanks in advance.
Danho  [author] 1 Jul, 2022 @ 10:43pm 
HELLO

PLEASE EVERYONE UPDATE. I HAVE SPENT SO LONG WITH THIS MOD TRYING TO FIGURE OUT WHATS WRONG AND I HAVE NARROWED IT DOWN.

When using ModOptions in single player there seems to be a problem and when you change the settings it breaks the loot tables. I'm not sure how this will effect multiplayer if you are hosting as a listen server as I've yet to test it. Creating a fresh install and leaving the mod option settings on default is the only way to get the loot tables working properly.

One of the big reasons ammo spawns so often is because the ammo boxes are technically counted as "Containers", however, how much ammo is inside of them seems to be affected by the ammo settings. The ammo boxes themselves are not.

But for now, on Multiplayer, I can confirm that this will work. You may still have problems with ammo if you have increase bag spawns.

Now that i know it is 100% working. I am slowly testing and adjusting it to how I like to play in coop with friends.
FR_Alucard88 1 Jul, 2022 @ 6:25am 
"I will update this again tonight. Once i've done more testing." Thank :) and good luck !

You think i can use your mod to, or i need to wait your update ?
Danho  [author] 1 Jul, 2022 @ 6:06am 
I will update this again tonight. Once i've done more testing.

The main issues with regards to ammo are the canisters and zombie drop rates. Canisters spawn way too often and far too much ammo inside. Zombies drop whole boxes of ammo too frequently. If your loot tables are messed up then theres not much you can do about the first one and zombies dropping ammo seem to be a little more complex to change.
Danho  [author] 1 Jul, 2022 @ 6:00am 
The only time I got the mod to work correctly was last night. Where I completely uninstalled and re-downloaded all the mods. Left the settings on default, and removed 1 piece of code from the mod and it was clear that the game was following the sandbox ammo settings.

After I changed the settings in mod options, it broke. Debug was throwing up errors with the loot tables and missing translations.

My suggestion is that you try to do that same, possibly need to re-download mod options aswell and make sure you wipe out all traces of both mods. Don't use the mod-options settings and manually adjust it with another mod, like the More Loot Options mod.
Danho  [author] 1 Jul, 2022 @ 5:55am 
HI THERE.

I HAVE SPENT THE PAST 3 DAYS HARD TESTING THIS OVER AND OVER. And even re-writing some of the code in the actual mod.

Using debug mode, the mod is broken and messes up the loot tables. It seems to be something that happens when you alter the settings in mod options. I have tested this over and over again in debug mode and isolated it to that cause. So the settings don't actually work when you change them and breaks the loot tables if you try to.

Not 100% exactly sure which part of the code is causing this as I have been unable to fix it. I know it something to do with any loot-table that has guns in it.

Currently I'm re-writing the mod, as part of a game overhaul im working on, but I won't be allowed to publish it because its not mine and I don't have permission.
FR_Alucard88 1 Jul, 2022 @ 5:23am 
You think is balanced now ?
FR_Alucard88 27 Jun, 2022 @ 3:44pm 
Ok, thank for your reply :)
Danho  [author] 27 Jun, 2022 @ 3:40pm 
FYI I am using the More Loot Settings mod in conjunction. Ammo on extremely rare, rolls for Ammo/Magazines down to 3 and multiplier of 0.5.
Danho  [author] 27 Jun, 2022 @ 3:39pm 
Hi there. I am still testing with different settings. My main focus was nerfing ammo canisters and ammo dropping on zombie bodies.. While trying to keep magazines, weapons and attachments abundant. Did a few test runs and seems to have worked, but more testing needed.
FR_Alucard88 27 Jun, 2022 @ 1:12pm 
Hello thank for your config, only ammo is reduce ?