DecDuck Posted June 29, 2020 Share Posted June 29, 2020 I want to change some of Warly's abilities and stats, and I also wanted to do it for a dedicated server, so I thought a mod would be the easiest way to do this. I can't find anything on how do this. I have little experience with modding in DST, but I have tried a little, but anything will help. Link to comment Share on other sites More sharing options...
-LukaS- Posted June 29, 2020 Share Posted June 29, 2020 As far as I know, using AddPrefabPostInit("warly", function...) should do the trick. Changing characters stats is extremely easy, just put this in the funcion: inst.components.health:SetMaxHealth(350) -- This sets max hp of a character inst.components.hunger:SetMax(500) -- This sets max hunger of a character inst.components.sanity:SetMax(459) -- This sets max sanity of a character Adding some more abilities is more complicated and depending on what your ability is supposed to be it can be really hard and complicated. I suggest you check games files or mods for something that is similar to what you want and learn from it. 1 Link to comment Share on other sites More sharing options...
DecDuck Posted June 30, 2020 Author Share Posted June 30, 2020 I found a mod that is called Rebalanced Warly, which does most of the things I want to do, but I will modify it. 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