Dr_Cox1911 Posted January 7, 2018 Share Posted January 7, 2018 (edited) with the help of @Fenris_Wolf I've made a little mod that further customizes the way loot is spawned. I made that for the gameserver project-zomboid.de, but of course everyone can use it. Right now it's pretty much in the testing phase and I therefore could use your help. You can Download the mod from github: https://github.com/DrCox1911/CoxisLootSpawn The way this works: With the mod there ships a "CoxisDistribution.ini", where you can define loot modifiers for categories and for special items. If you don't define a loot modifier for a category the one set with the normal sandbox options will be used. This mod needs the CoxisUtil mod, which you can download from github here: https://github.com/DrCox1911/coxisutil Steam Workshop Edited January 14, 2018 by Dr_Cox1911 added steam workshop link NorthRoad 1 Link to comment Share on other sites More sharing options...
Fenris_Wolf Posted January 7, 2018 Share Posted January 7, 2018 Just took a brief look (haven't tested yet), the only potential problem I see is no override for ItemPicker.rollContainerItem To clarify, if .rollItem spawns a container (like a backpack on a zombie, or a garbage bag inside a garbage can), .rollContainerItem is then called (at line 96 in your file) to fill out items inside that new container. Without overriding that as well, it will bypass the new loot settings. Link to comment Share on other sites More sharing options...
Dr_Cox1911 Posted January 7, 2018 Author Share Posted January 7, 2018 Thanks for the hint @Fenris_Wolf! I already noticed this, but would like some feedback on the normal containers first. If there are bigger adjustments to be made then the mod is more streamlined to do so. After the initial testing I will also override the rollContainerItem. Fenris_Wolf 1 Link to comment Share on other sites More sharing options...
Dr_Cox1911 Posted February 16, 2018 Author Share Posted February 16, 2018 Seems like it's working pretty well, I also included the rollContainerItem now. If a mod would be so kind to move this out of the WIP section Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now