StaminaSettings

If you liked this item, please rate it up on Steam Workshop page.

Author: tannerng

Last revision: 30 Jun, 2020 at 18:14 UTC

File size: 30.72 KB

On Steam Workshop

Description:

Allows you to set multipliers to stamina gain and drain constants of certain movements. You can also set multipliers for metabolic drain rates when walking, jogging and sprinting. This mod properly syncs the multipliers with the client, which fixes issues with the stamina bar jumping around and player animations glitching at low stamina.

Installation Steps

Run the server once with the mod installed, then go to your server profile folder and change the StaminaSettings config as needed.

Unlimited sprinting when max stamina is above a certain value

m_StaminaWhenSprintDrains
Your stamina will not drain from sprint when your max stamina(due to weight) is above this value. Stamina from all other actions will drain as usual. Setting to 100 is vanilla.

Multiplier/Coefficient Explanation

A multiplier or coefficient is a decimal number that is multiplied by the original DayZ constants. This allows you to always return to the default values by setting the multiplier to 1.
Example
If you want to reduce stamina drain when sprinting by 50% then you would set the multiplier to 0.5

Drain Multipliers

Climbm_StaminaDrainClimbMult
Stamina drain when climbing over a large fence. (big vault)

Crouched Sprintm_StaminaDrainCrouchedSprintMult
Stamina drain when sprinting while crouched.

Swim Sprintm_StaminaDrainFastSwimMult
Stamina drain when swimming while holding down the sprint button.

Jumpm_StaminaDrainJumpMult
Stamina drain when you perform a regular jump.

Ladder Sprintm_StaminaDrainLadderFastMult
Stamina drain when climbing a ladder

Melee Evade(dodge)m_StaminaDrainMeleeEvadeMult
Stamina drain when you perform a dodge in melee combat.

Melee Heavym_StaminaDrainMeleeHeavyMult
Stamina drain when you perform a heavy melee swing(holding shift).

Melee Lightm_StaminaDrainMeleeLightMult
Stamina drain when you perform a light melee swing.

Sprintm_StaminaDrainSprintingMult
Stamina drain while sprinting upright.

Vaultm_StaminaDrainVaultMult
Stamina drain when the player performs a small vault.

Gain Multipliers

Idlem_StaminaGainIdleMult
Stamina gained when the player is idle.

Jogm_StaminaGainJogMult
Stamina gained when the player is jogging.

Swimm_StaminaGainSwimMult
Stamina gained when the player is swimming.

Walkm_StaminaGainWalkMult
Stamina gained when the player is walking.

Threshold Multipliers

A threshold basically defines how much stamina you need to perform an action.DO NOT MESS WITH THESE UNLESS YOU REALLY UNDERSTAND THEM

Climbm_StaminaThresholdClimbMult
Stamina needed to climb over a wall(big vault).

Hold Breathm_StaminaThresholdHoldBreathMult
Stamina needed to start holding your breath.

Jumpm_StaminaThresholdJumpMult
Stamina needed to jump.

Melee Evadem_StaminaThresholdMeleeEvadeMult
Stamina needed to perform a melee evade.

Melee Heavym_StaminaThresholdMeleeHeavyMult
Stamina needed to perform a heavy melee swing.

Sprintm_StaminaThresholdSprintMult
Stamina needed to start sprinting.

Vaultm_StaminaThresholdVaultMult
Stamina needed to vault.

Weight Multipliers

Weight Limitm_StaminaThresholdWeightLimitMult
A player’s max stamina will start to be affected by their weight once they exceed this value.

Stamina Penaltym_StaminaKgPenaltyMult
This is how much your max stamina gets reduced by your weight. Once you exceed the weight limit above, your max stamina will be reduced.

Metabolic Multipliers

Walk Energy Drainm_MetabolicEnergyWalkMult
Energy drain when player is walking.

Jog Energy Drainm_MetabolicEnergyJogMult
Energy drain when player is jogging.

Sprint Energy Drainm_MetabolicEnergySprintMult
Energy drain when player is sprinting.

Walk Water Drainm_MetabolicWaterWalkMult
Water drain when player is walking.

Jog Water Drainm_MetabolicWaterJogMult
Water drain when player is jogging.

Sprint Water Drainm_MetabolicWaterSprintMult
Water drain when player is sprinting.

Hold Breath Settings

These values are strange and have unexpected outcomes. You will have to play with them to get them where you want it.
Hold Breath Startm_StaminaDrainHoldBreathStartMult
Initial stamina drain when starting to hold breath.

Hold Breath Fasterm_StaminaDrainHoldBreathFasterMult
Stamina drain when drain becomes faster.

Hold Breathm_StaminaDrainHoldBreathMult
Stamina drain while holding breath.

Hold Breath Durationm_StaminaHoldBreathDuration
Time it takes for stamina drain to speed up while holding breath.

Hold Breath Sway Stablem_HoldBreathSwayTimeStable
Time it takes to stabilize your aim when aiming down sights and holding breath.

Hold Breath Sway Timem_HoldBreathSwayTimeIn
Time you have stable aim while holding breath.