Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
Configurations for StaminaHandler class

\desc Configurations for StaminaHandler class More...

Variables

const float STAMINA_CLIMB_THRESHOLD = 42
const float STAMINA_DRAIN_CLIMB = 42
const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1
const float STAMINA_DRAIN_HOLD_BREATH_DURATION = 5.0
const float STAMINA_DRAIN_HOLD_BREATH_END = 1.0
const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 3
const float STAMINA_DRAIN_HOLD_BREATH_START = 0.2
const float STAMINA_DRAIN_JUMP = 25
const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8
const float STAMINA_DRAIN_MELEE_EVADE = 8
const float STAMINA_DRAIN_MELEE_HEAVY = 25
const float STAMINA_DRAIN_MELEE_LIGHT = 5
const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3
const float STAMINA_DRAIN_ROLL = 5
const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4
const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5
const float STAMINA_DRAIN_VAULT = 20
const float STAMINA_GAIN_BONUS_CAP = 3.0
const int STAMINA_GAIN_IDLE_PER_SEC = 5
const int STAMINA_GAIN_JOG_PER_SEC = 2
const int STAMINA_GAIN_LADDER_PER_SEC = 1
const int STAMINA_GAIN_ROLL_PER_SEC = 0
const int STAMINA_GAIN_SWIM_PER_SEC = 1
const int STAMINA_GAIN_WALK_PER_SEC = 4
const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10
const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0
const float STAMINA_JUMP_THRESHOLD = 25
const float STAMINA_KG_TO_GRAMS = 1000
 in grams (weight where the player is not penalized by stamina)
const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75
const float STAMINA_MAX = 100
const float STAMINA_MELEE_EVADE_THRESHOLD = 8
const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY
const float STAMINA_MIN_CAP = 5
const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45
const float STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0.5
const float STAMINA_ROLL_THRESHOLD = 5
const float STAMINA_SYNC_RATE = 0.5
const float STAMINA_VAULT_THRESHOLD = 20
const float STAMINA_WEIGHT_LIMIT_THRESHOLD = 6000

Detailed Description

\desc Configurations for StaminaHandler class

Variable Documentation

◆ STAMINA_CLIMB_THRESHOLD

const float STAMINA_CLIMB_THRESHOLD = 42
private

Definition at line 704 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_DRAIN_CLIMB

const float STAMINA_DRAIN_CLIMB = 42
private

Definition at line 681 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC

const int STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1
private

Definition at line 672 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_DRAIN_HOLD_BREATH_DURATION

const float STAMINA_DRAIN_HOLD_BREATH_DURATION = 5.0
private

Definition at line 687 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_HOLD_BREATH_END

const float STAMINA_DRAIN_HOLD_BREATH_END = 1.0
private

Definition at line 678 of file constants.c.

◆ STAMINA_DRAIN_HOLD_BREATH_EXPONENT

const float STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 3
private

Definition at line 688 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_HOLD_BREATH_START

const float STAMINA_DRAIN_HOLD_BREATH_START = 0.2
private

Definition at line 677 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_JUMP

const float STAMINA_DRAIN_JUMP = 25
private

Definition at line 679 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_LADDER_FAST_PER_SEC

const int STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8
private

Definition at line 675 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Ladder().

◆ STAMINA_DRAIN_MELEE_EVADE

const float STAMINA_DRAIN_MELEE_EVADE = 8
private

Definition at line 684 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_MELEE_HEAVY

const float STAMINA_DRAIN_MELEE_HEAVY = 25
private

Definition at line 683 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_MELEE_LIGHT

const float STAMINA_DRAIN_MELEE_LIGHT = 5
private

Definition at line 682 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_PRONE_SPRINT_PER_SEC

const int STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3
private

Definition at line 673 of file constants.c.

◆ STAMINA_DRAIN_ROLL

const float STAMINA_DRAIN_ROLL = 5
private

Definition at line 685 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_STANDING_SPRINT_PER_SEC

const int STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4
private

Definition at line 671 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_DRAIN_SWIM_FAST_PER_SEC

const int STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5
private

Definition at line 674 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Swimming().

◆ STAMINA_DRAIN_VAULT

const float STAMINA_DRAIN_VAULT = 20
private

Definition at line 680 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_GAIN_BONUS_CAP

const float STAMINA_GAIN_BONUS_CAP = 3.0
private

Definition at line 696 of file constants.c.

Referenced by StaminaHandler::CalcStaminaGainBonus().

◆ STAMINA_GAIN_IDLE_PER_SEC

◆ STAMINA_GAIN_JOG_PER_SEC

const int STAMINA_GAIN_JOG_PER_SEC = 2
private

Definition at line 690 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_GAIN_LADDER_PER_SEC

const int STAMINA_GAIN_LADDER_PER_SEC = 1
private

Definition at line 694 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Ladder().

◆ STAMINA_GAIN_ROLL_PER_SEC

const int STAMINA_GAIN_ROLL_PER_SEC = 0
private

Definition at line 695 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_GAIN_SWIM_PER_SEC

const int STAMINA_GAIN_SWIM_PER_SEC = 1
private

Definition at line 693 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Swimming().

◆ STAMINA_GAIN_WALK_PER_SEC

const int STAMINA_GAIN_WALK_PER_SEC = 4
private

Definition at line 691 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE

const float STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10
private

Definition at line 700 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_HOLD_BREATH_THRESHOLD_DRAIN

const float STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0
private

Definition at line 701 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_JUMP_THRESHOLD

const float STAMINA_JUMP_THRESHOLD = 25
private

Definition at line 702 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_KG_TO_GRAMS

const float STAMINA_KG_TO_GRAMS = 1000
private

in grams (weight where the player is not penalized by stamina)

Definition at line 713 of file constants.c.

Referenced by StaminaHandler::RecalculateStaminaCap().

◆ STAMINA_KG_TO_STAMINAPERCENT_PENALTY

const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75
private

Definition at line 698 of file constants.c.

◆ STAMINA_MAX

const float STAMINA_MAX = 100
private

◆ STAMINA_MELEE_EVADE_THRESHOLD

const float STAMINA_MELEE_EVADE_THRESHOLD = 8
private

Definition at line 709 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_MELEE_HEAVY_THRESHOLD

const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY
private

Definition at line 708 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_MIN_CAP

const float STAMINA_MIN_CAP = 5
private

Definition at line 699 of file constants.c.

◆ STAMINA_REGEN_COOLDOWN_DEPLETION

const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45
private

◆ STAMINA_REGEN_COOLDOWN_EXHAUSTION

const float STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0.5
private

Definition at line 711 of file constants.c.

Referenced by StaminaHandler::CheckStaminaState().

◆ STAMINA_ROLL_THRESHOLD

const float STAMINA_ROLL_THRESHOLD = 5
private

Definition at line 705 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_SYNC_RATE

const float STAMINA_SYNC_RATE = 0.5
private

Definition at line 714 of file constants.c.

Referenced by StaminaHandler::ProcessStaminaChanges().

◆ STAMINA_VAULT_THRESHOLD

const float STAMINA_VAULT_THRESHOLD = 20
private

Definition at line 703 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_WEIGHT_LIMIT_THRESHOLD

const float STAMINA_WEIGHT_LIMIT_THRESHOLD = 6000
private

Definition at line 712 of file constants.c.