Project Zomboid

Project Zomboid

STALKER Armor Pack
 This topic has been pinned, so it's probably important
Kyne's Peace  [developer] 21 Aug, 2022 @ 2:31am
How can I change or completly remove the spawn rates of some items in my game/server?
Until distributions are more clear with game versions, I will not change the spawn rates. However, you can change them in your own game or server.

For your game:
- Go to your mods folder in Project Zomboid, and to 2831715402\mods\STALKER Armor Pack\media\lua\Server\Items.
- Open StalkerArmorPack_Distributions.lua with a text editor, I recommend Notepad++.
- Here you can see the numbers of spawn rates of each object. There is a lot, I know. To change them all easier, use a "Replace" or "Overwrite" utility within your text editor, that allows you to put a number, for example "0.9", and tell it to "Replace All" to for example "0.5". This will change all the 0.9 to 0.5, and reduce the spawn rates.
- Save and play. I recommend you save this file somewhere as backup, as in future updates of the mod you'd have to redo this again otherwise.


For your server:
- Asuming you've a mod done for your server in which you include any changes to any mods in general (if you don't have it, you must create a mod that is loaded last in your server, which include certain specific files, in short, a mod of mods. This has to be uploaded to the Workshop too so people who play your server can download it), create a folder in media\lua\Server\Items.
- Copy and paste the original StalkerArmorPack_Distributions.lua in it. Remove everything you don't want to appear. You can make this a completly blank file if you don't want anything to spawn at all, or keep a few.
- Remember that if you remove one of the items, you must also remove the line below it that contains the number, or it will not work.
< >
Showing 1-2 of 2 comments
kamykrak 10 Oct, 2022 @ 11:26am 
is there a way to change distribution so it only spawns in military or police buildings ? i keep finding amor in schouls
Pych 12 Dec, 2022 @ 8:07am 
Originally posted by kamykrak:
is there a way to change distribution so it only spawns in military or police buildings ? i keep finding amor in schouls
That's exactly why I removed this mod. The content is awesome and very well made, but the distribution and spawn rate is just insane.

By day 2, you have a full armor set even with Very rare loot settings...
< >
Showing 1-2 of 2 comments
Per page: 1530 50