lGhostWolfel Posted November 15, 2019 Share Posted November 15, 2019 Is there a way to make it so when you're starving you lose more health than normal? I want my character to starve to death faster. Link to comment https://forums.kleientertainment.com/forums/topic/113592-higher-starvation-damage-taken/ Share on other sites More sharing options...
Well-met Posted November 16, 2019 Share Posted November 16, 2019 I believe it's called "hunger kill time" or similar. Can't check right now but it's in the hunger component. The DPS is calculated off Wilson's health. Link to comment https://forums.kleientertainment.com/forums/topic/113592-higher-starvation-damage-taken/#findComment-1283868 Share on other sites More sharing options...
NikMik Posted November 17, 2019 Share Posted November 17, 2019 On 11/16/2019 at 9:53 AM, D1R3W0LF22 said: Is there a way to make it so when you're starving you lose more health than normal? I want my character to starve to death faster. There is! Located in the hunger component (scripts/components/hunger.lua) is "self.hurtrate" When it comes to "self.." lines in component files, outside of that file (specifically in the player's prefab) you would refer to it as inst.components.hunger.hurtrate = CUSTOM VALUE Hope that helps give you what you're looking forwards to as well as well as a lil' tip for the future! Link to comment https://forums.kleientertainment.com/forums/topic/113592-higher-starvation-damage-taken/#findComment-1284300 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