Jump to content

pls help me


Recommended Posts

hello i am new to the forum and the game

can someone please help me to make a mod for wes so i can customize his stats

i tried to do it and his hp will still stay at 113 and hunger draining quickly

i like the way he looks :D

Link to comment
Share on other sites

Just for future reference, to edit any of the characters stats:

Download a program like Notepad++, this will make any character edits easy, or script editing in general. Then make your way to the "Steam\steamapps\common\Don't Starve Together\data\scripts\prefabs" folder, open the character you wish to edit, in this case, "Wes". Scroll down and look for the script commands

"local function master_postinit(inst)
    inst.components.health:SetMaxHealth(TUNING.WILSON_HEALTH * .75)
    inst.components.hunger:SetMax(TUNING.WILSON_HUNGER * .75)
    inst.components.combat.damagemultiplier = .75
    inst.components.hunger:SetRate(TUNING.WILSON_HUNGER_RATE * 1.25)
    inst.components.sanity:SetMax(TUNING.WILSON_SANITY * .75)"

And here is the part where you change things like the characters health, sanity, damage rate, hunger rate, etc. Wilson, is chosen as the default character having all of his stats balanced, so the scripts here will refer to his stats, but with a ".75". This is basically reducing Wes's stats .25 lower than Wilson. (Or for the hunger rate, .25 higher)

So to easily edit them, just replace any of the ".75"/"1.25" with a 1 or above(depending if you want his stats to be average, or about average), save your changes, and all effects should work instantly. Considering you restarted the game afterwards.

Hope this helps. ;) 

Edited by ITSRAW
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...