SphereCommunity
hunger - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: hunger (/Thread-hunger)

Pages: 1 2


hunger - Rattlehead - 08-04-2013 09:01 PM

is it just me, or do players go hungry really fast?

i was writing a script to help control this issue, but the more i scripted the more i realized maybe there is a setting i can set, or maybe *looks at ben* in future releases there can be an ini setting that controls how fast players get hungry?

cus the script is getting pretty involved lol


RE: hunger - Mordaunt - 08-04-2013 10:51 PM

The only setting I know of for hunger in the ini is the one that dictates % of hitpoints a player loses when starving.


RE: hunger - Ben - 08-04-2013 11:15 PM

REGEN3 ini setting...

There is also an OVERRIDE.REGEN_X and OVERRIDE.REGENVAL_X for individual char settings.

ALSO...

@Hunger trigger?

I'm a little disappointed from you 2 lol


RE: hunger - darksun84 - 08-05-2013 12:21 AM

[Image: 55569d1365197413-pt709-ejector-misaligne...ly_966.jpg]


RE: hunger - Mordaunt - 08-05-2013 01:53 AM

I'd like to use my "pre first coffee off the day" disclaimer Smile
Also he was talking about settings not triggers so your @hunger argument is invalid.


RE: hunger - Rattlehead - 08-05-2013 03:08 AM

Code:
// Time in minutes for food regeneration
// 1*60*24 = 1 day of real life time
Regen3=90

so this controls how fast a character will go from full to starving? cus it makes it sound like its for crops and such

and, how else would i be making a script for it without using @hunger? Tongue


RE: hunger - kn4tseb - 08-27-2014 07:09 AM

(08-04-2013 11:15 PM)Ben Wrote:  REGEN3 ini setting...

There is also an OVERRIDE.REGEN_X and OVERRIDE.REGENVAL_X for individual char settings.

ALSO...

@Hunger trigger?

I'm a little disappointed from you 2 lol

whats the difference between both overrides????


RE: hunger - Extreme - 08-27-2014 07:16 AM

Each one for each stat..


RE: hunger - kn4tseb - 08-27-2014 07:53 AM

i know but for example i want to override the time value for regen3 which is food... how would it be?

TAG.OVERRIDE.REGENVAL_3 = T_TIME??

or i necessary have to use both

TAG.OVERRIDE.REGEN_3
TAG.OVERRIDE.REGENVALUE = T_TIME

Ok i got it, one is for timing and the other one is the amount of regen

well i tried to override it and nothing happens, it always depends of regen3 setting at ini.file even with 0 as value...
tried TAG.OVERRIDE.REGEN_3 = 1000
but i dont know if it increases the default value or set a new value, tried with both and no changes... i want to set the food "increase" to the overrided tag value


RE: hunger - Ben - 08-27-2014 09:16 AM

They no longer exists... it's mentioned in the revision file.
They are replaced with RegenHits/Mana/Stam/Food and RegenValHits/Mana/Stam/Food.
While checking this, I found 1 place in the code where it was not replaced, so this will be fixed in next nightly