Teeg Posted February 28, 2015 Share Posted February 28, 2015 I was trying to make a character mod for myself. I want him to eat less, hit weaker, and know science machine recipes. What would I put to make this happen you really smart modders. Pls help. Link to comment https://forums.kleientertainment.com/forums/topic/51584-listen-help-me-pls/ Share on other sites More sharing options...
Crestonia Posted February 28, 2015 Share Posted February 28, 2015 Alright. I know how to do 2 out of three of those things. First of all, to mod you need the Don't Starve mod tools. And for the character mod, I use http://forums.kleientertainment.com/topic/46849-tutorial-using-extended-sample-character-template/Also I suggest following the tutorial on the modpage, and download the DST version, not the DSTo make your character know the science machine recipes, go into your character's script->prefab->esctemplate and under local master_postinit = function(inst)put inst.components.builder.science_bonus = 1 For the hitting weaker part, under the same part in the same file, put inst.components.combat.damagemultiplier = 0.6 (for the 0.6 you can insert whatever damage you want your character to have) 0.6 is hitting weaker than normal, so I'd just keep it there. Sorry if I confused you, If you need to you can ask me questions. Link to comment https://forums.kleientertainment.com/forums/topic/51584-listen-help-me-pls/#findComment-618029 Share on other sites More sharing options...
ELEMENTALCRAFTER009 Posted February 28, 2015 Share Posted February 28, 2015 (edited) Just a question, what do you mean by "eat less" do you want his stomach to be larger or his hunger rate to be slower? inst.components.hunger:SetRate(TUNING.WILSON_HUNGER_RATE * 0.5)for slower hunger rate^inst.components.hunger:SetMax(200)for a larger stomach ^ Edited February 28, 2015 by ELEMENTALCRAFTER009 Link to comment https://forums.kleientertainment.com/forums/topic/51584-listen-help-me-pls/#findComment-618034 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