So its time to go chop down another ten acres of forest cause I need to build a couple of walls for my base. I'd better eat and drink before I go cause I don't want to start starving while I work.
Oh wait I've cut down 80 pieces of firewood, look I'm nearly starving again.
Oh crap I need to stop crafting lumber because I'm nearly starving again.
Oh god I had to afk for 57 minutes to helping a player on the server with a lost vehicle bug....and I've died of dehydration because I forgot to log out.
Listen, this shit needs some tweaks and I know its DayZ code not Epoch code.
Anyways I tried a fix yesterday and it doesn't work. So I need some help. I run a real time Epoch server, there are full day and night cycles. I'd prefer something closer to about a three hour decay state on hunger and thirst. The changes as I added them to player_spawn_2.sqf follow.
//Hunger
_hunger = +((((r_player_bloodTotal - r_player_blood) / r_player_bloodTotal) * 5) + _speed + dayz_myLoad) * 3;
if (time - dayz_panicCooldown < 120) then {
_hunger = _hunger * 2;
};
dayz_hunger = dayz_hunger + (_hunger / 180); //60 is default
//Thirst
_thirst = 2;
if (!_inVehicle) then {
_thirst = (_speed + 4) * 3;
};
dayz_thirst = dayz_thirst + (_thirst / 180) * (dayz_temperatur / dayz_temperaturnormal); //TeeChange Temperatur effects added Max Effects: -25% and + 16.6% waterloss //60 is default
Now the defaults there as stated are 60 which I am assuming means minutes but changing to 180 did not affect any visible change to decay rates for hunger and thirst. And it caused a minor on log bug where the hunger indicator was black for everyone that connected.
I'm not really trying to make things easier I'm just trying to make the hunger and thirst rates more applicable to a 24 hour day and night cycle, the current decay rates seem focused heavily on either short term play sessions or servers running 4 hour day and night cycles. But in real time the decay rates do not make sense.
Anyways I make the above changes and added the player_spawn_2.sqf to my mission fixes folder and executed the script from init and it didn't seem to change anything.
What am I doing wrong? Cause it seems pretty cut and dried to me unless that divisor is counting seconds instead of minutes but I could be completely off track too.
I searched around Google looking for examples on this and came up mostly with threads of people complaining about having to eat and drink constantly. I figured it would be a relatively easy tweak but....not so much it appears.
Any help would be appreciated. Thank you.

