herrerik Posted April 12, 2014 Share Posted April 12, 2014 HiIm trying to make some character worse to make the game harder. I go into data/scripts/prefabs/ folder and open wes.lua with standard notepad. but changing any of these to lower multipliers:inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH * .75 )inst.components.hunger:SetMax(TUNING.WILSON_HUNGER * .75 )inst.components.combat.damagemultiplier = .75inst.components.hunger:SetRate(TUNING.WILSON_HUNGER_RATE*1.25)inst.components.sanity:SetMax(TUNING.WILSON_SANITY*.75) ...saving the lua, restarting game and launching a new game, wes has the same stats as usual... Do i need to do something more? Set some folders, enable something for changes to take effect?Thanks alotErik Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/ Share on other sites More sharing options...
Heavenfall Posted April 12, 2014 Share Posted April 12, 2014 If you have the DLC make sure you go to dont_starve\data\DLC0001\scripts\prefabs first, those files have higher priority. Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/#findComment-451874 Share on other sites More sharing options...
herrerik Posted April 13, 2014 Author Share Posted April 13, 2014 Cool man, works now! 80 Health, 80 Hunger adventure mode here we go! Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/#findComment-452277 Share on other sites More sharing options...
herrerik Posted April 13, 2014 Author Share Posted April 13, 2014 ok started a new adventure mode like this Wilsonhealth max = 75hunger max = 100sanity max = 120Do only 60 % damageNeed 150 % food Anyone set challenges like this for themselves? How low could you go and still make it? (modding is fun)Eruj Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/#findComment-452286 Share on other sites More sharing options...
iWitch Posted April 13, 2014 Share Posted April 13, 2014 what you doing its more like "editing" not "modding"for "modding" you have to make mod Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/#findComment-452290 Share on other sites More sharing options...
herrerik Posted April 13, 2014 Author Share Posted April 13, 2014 True that, but its a modified version of the game none the less (yeah i wouldnt call such a "tweak" a mod but anyway). I started on archipelago, died at day 7 of hunger. There was no gold so couldnt craft anything (no sience machine). Will start again on easier first adventure map (such as the game is afoot). REALLY hard now, really fun:) Link to comment https://forums.kleientertainment.com/forums/topic/34754-help-changing-lua-does-nothing/#findComment-452303 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