So this increases the prevalence of weapons spawning with a magazine in them? Or increases the general spawn of them?[/quote]
Most weapons I find do spawn with a magazine in them, though some do not. The problem is that there are almost no loose magazines spawning. The biggest problem I’ve seen, from looking at the files, is that MANY of the files deciding which loot spawns were haven’t been updated since like, 2013. Magazine spawns outside of weapons so far only happen in a very limited amount of locations. Most of the military locations DO NOT have any magazine spawns set at all.
Even in a gun shop, though, the amount of magazines spawning is set far too low. I’m fixing that for myself, but unfortunately I don’t really know how to make mods that ‘replace’ the way stuff works ingame, so I can’t easily make it available for everyone, and I’ll have to keep using Winmerge to copy the changes over every time I update my game.
If you know an easy way to add items to a spawnlist (for example, the itemgroup “helicopter” that determines what you find at a crash site) without editing the game’s own json files, I can try to make it a proper mod, and then rebalance it based on your feedback.
Actually I figured it out by examining Artyom’s mod. Will probably post it in a new topic at some point, and link it here, if that’s alright.
Another question, however. Does anyone know, if I were to modify a vanilla weapon to accept magazines (ie, one that is currently present in ‘ranged.json’ and has not yet been updated to use magazines), how I would go about making that an external mod? How do I ‘overwrite’ a weapon from a vanilla file with a modded one?