. . . Posted August 15, 2016 Share Posted August 15, 2016 (edited) Hello, I have a question if someone can kindly help me with ! So, my mod character's stats mostly change with the use of hungerdelta like for example inst.AnimState:SetBuild("adam") inst.components.health.absorb = -2 inst.components.combat.damagemultiplier = 1.50 inst.components.locomotor.runspeed = 2 * TUNING.WILSON_RUN_SPEED inst.components.hunger.hungerrate = 2 * TUNING.WILSON_HUNGER_RATE inst.components.locomotor:SetExternalSpeedMultiplier(inst, "adam_speed_mod", 0.75) Now what I want to know is since hungerdelta I think triggers every second would the way i'm making my character update his stats cause lag? What I want to know is that does adding lots off different things in the hungerdelta cause lag or using hungerdelta's bad in general because it's almost always active? I don't want my character to cause performance issues... Thanks for reading !!! PS. I'd really love anyone to give me a answer because without knowing this I can't work on my mod anymore Edited August 20, 2016 by SuperDavid Link to comment Share on other sites More sharing options...
DarkXero Posted August 16, 2016 Share Posted August 16, 2016 It's cool, Wolfgang does similar. Link to comment Share on other sites More sharing options...
. . . Posted August 16, 2016 Author Share Posted August 16, 2016 I was worried I was causing unnecessary lag , thanks for getting rid of my worries DarkXero !! Link to comment 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