Arusu Posted November 15, 2021 Share Posted November 15, 2021 I'm trying to understand - how to create mods on this game and can't found documentation for mod creators, therefore i created this topic How to change hunger rate of character/add passive hunger decreasing on the last version of game? (v483468) I tried inst.components.hunger:SetRate(x) inst.components.hunger:SetRate(TUNING.WILSON_HUNGER_RATE * x) But it does'nt works, Also i don't understand what is inst.components.hunger:SetKillRate(x) I tried to change x in last string, but it had no effect. Link to comment https://forums.kleientertainment.com/forums/topic/135311-mod-creating/ Share on other sites More sharing options...
Wonderlarr Posted November 15, 2021 Share Posted November 15, 2021 Sadly there isn't that much documentation for this game at all. A lot of it will lie in your LUA abilities, studying other mods, and participating in this forum you're on at the moment. The guide below is a huge collection of tutorials for newcomers like yourself, it's how I got my start and I hope it can help you. As for what you're trying to do, SetKillRate(x) sets how much damage your character takes when starving, it doesn't effect actual hunger rate. There should be something in the tutorial collection I linked above to help with hunger rates, but if not I can help. Link to comment https://forums.kleientertainment.com/forums/topic/135311-mod-creating/#findComment-1513300 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