Ksama Posted March 7, 2016 Share Posted March 7, 2016 (edited) Hi guys, I'm creating a mod for my friends and me because we're playing on a server together but I've got a problem. I'm trying to change some base items, so I begin with something basic to see if it's works : module DirtyMod { imports { Base } item Axe { Weight = 1, Icon = Scissors, } } Then, I launched my game to enable the mod and I started the server but the changes didn't apply. I mean, my character have an axe in his inventory but the weight remain at 3.0 and the icon is still the axe's one. My mod is located in "C:\Users\Ksama\Zomboid\mods\" and this file called "changes.txt" is in "C:\Users\Ksama\Zomboid\mods\DirtyMod\media\scripts". I also edited my server .ini to include the mod's ID which is "DirtyMod". Thank you for your help! Edited March 7, 2016 by Ksama Link to comment Share on other sites More sharing options...
Svarog Posted March 7, 2016 Share Posted March 7, 2016 If you want to change Base items module must be Base, what you did is you created a dirtymod.Axe item while the axe in your inventory is Base.Axe and you need to include all of the stats/variables of the original otherwise they will be removed. Or you can look into using this http://steamcommunity.com/sharedfiles/filedetails/?id=566115016 Ksama 1 Link to comment Share on other sites More sharing options...
Ksama Posted March 7, 2016 Author Share Posted March 7, 2016 Oh okay it's works, thanks alot! 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