Jump to content
Get Trippy

Stamina/Fatigue System Problem

Recommended Posts

Does anybody know a way to fix the fatigue system since arma was updated? I've tried all the old things that use to work but now they're all broken. Here are some mods an scripts that I use to use but sadly they won't work for me now.

 

1.this enableFatigue false; 

2.while {true} do {

player setfatigue 0;
sleep 3;
};

 

3. unchecked the box of stamina on the unit when spawned in eden.

4. Drifters Fatigue Remover -- http://www.armaholic.com/page.php?id=26727

Share this post


Link to post
Share on other sites


if (hasInterface) then {

null = [] spawn {

waitUntil {sleep 1; !isNull player};

player enableFatigue false;

player enableStamina false;

player forceWalk false;

player allowSprint true;

};

player addEventHandler ["Respawn",{

null = [_this select 0, _this select 1] spawn {

params ["_player", "_body"];

waitUntil {sleep 1; !isNull _player};

_player enableFatigue false;

_player enableStamina false;

_player forceWalk false;

_player allowSprint true;

deleteVehicle _body;

};

}];

};

Share this post


Link to post
Share on other sites

Put this into the initPlayerLocal.sqf

player setCustomAimCoef 0.35;
player setUnitRecoilCoefficient 0.75;
player enablestamina false;

Put this into the onPlayerRespawn.sqf

player setCustomAimCoef 0.35;
player setUnitRecoilCoefficient 0.75;
player enablestamina false;

This will take care of the stamina problem.

 

If you have stamina enabled, this added to the above code will make the player last longer before getting puffed.

player setUnitTrait ['loadCoef',0.1];

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×