DayZ 1.24
Loading...
Searching...
No Matches
Configurations for StaminaHandler class
Collaboration diagram for Configurations for StaminaHandler class:

Variables

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

Detailed Description

\desc Configurations for StaminaHandler class

Variable Documentation

◆ STAMINA_CLIMB_THRESHOLD

const float GameConstants::STAMINA_CLIMB_THRESHOLD = 42
private

Definition at line 652 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_DRAIN_CLIMB

const float GameConstants::STAMINA_DRAIN_CLIMB = 42
private

Definition at line 629 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC

const int GameConstants::STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 1
private

Definition at line 620 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_DRAIN_HOLD_BREATH_DURATION

const float GameConstants::STAMINA_DRAIN_HOLD_BREATH_DURATION = 5.0
private

Definition at line 635 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_HOLD_BREATH_END

const float GameConstants::STAMINA_DRAIN_HOLD_BREATH_END = 1.0
private

Definition at line 626 of file constants.c.

◆ STAMINA_DRAIN_HOLD_BREATH_EXPONENT

const float GameConstants::STAMINA_DRAIN_HOLD_BREATH_EXPONENT = 3
private

Definition at line 636 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_HOLD_BREATH_START

const float GameConstants::STAMINA_DRAIN_HOLD_BREATH_START = 0.2
private

Definition at line 625 of file constants.c.

Referenced by Init().

◆ STAMINA_DRAIN_JUMP

const float GameConstants::STAMINA_DRAIN_JUMP = 25
private

Definition at line 627 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_LADDER_FAST_PER_SEC

const int GameConstants::STAMINA_DRAIN_LADDER_FAST_PER_SEC = 8
private

Definition at line 623 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Ladder().

◆ STAMINA_DRAIN_MELEE_EVADE

const float GameConstants::STAMINA_DRAIN_MELEE_EVADE = 8
private

Definition at line 632 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_MELEE_HEAVY

const float GameConstants::STAMINA_DRAIN_MELEE_HEAVY = 25
private

Definition at line 631 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_MELEE_LIGHT

const float GameConstants::STAMINA_DRAIN_MELEE_LIGHT = 5
private

Definition at line 630 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_PRONE_SPRINT_PER_SEC

const int GameConstants::STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 3
private

Definition at line 621 of file constants.c.

◆ STAMINA_DRAIN_ROLL

const float GameConstants::STAMINA_DRAIN_ROLL = 5
private

Definition at line 633 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_DRAIN_STANDING_SPRINT_PER_SEC

const int GameConstants::STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 4
private

Definition at line 619 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_DRAIN_SWIM_FAST_PER_SEC

const int GameConstants::STAMINA_DRAIN_SWIM_FAST_PER_SEC = 5
private

Definition at line 622 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Swimming().

◆ STAMINA_DRAIN_VAULT

const float GameConstants::STAMINA_DRAIN_VAULT = 20
private

Definition at line 628 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaModifiers().

◆ STAMINA_GAIN_BONUS_CAP

const float GameConstants::STAMINA_GAIN_BONUS_CAP = 3.0
private

Definition at line 644 of file constants.c.

Referenced by StaminaHandler::CalcStaminaGainBonus().

◆ STAMINA_GAIN_IDLE_PER_SEC

◆ STAMINA_GAIN_JOG_PER_SEC

const int GameConstants::STAMINA_GAIN_JOG_PER_SEC = 2
private

Definition at line 638 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_GAIN_LADDER_PER_SEC

const int GameConstants::STAMINA_GAIN_LADDER_PER_SEC = 1
private

Definition at line 642 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Ladder().

◆ STAMINA_GAIN_ROLL_PER_SEC

const int GameConstants::STAMINA_GAIN_ROLL_PER_SEC = 0
private

Definition at line 643 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_GAIN_SWIM_PER_SEC

const int GameConstants::STAMINA_GAIN_SWIM_PER_SEC = 1
private

Definition at line 641 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Swimming().

◆ STAMINA_GAIN_WALK_PER_SEC

const int GameConstants::STAMINA_GAIN_WALK_PER_SEC = 4
private

Definition at line 639 of file constants.c.

Referenced by StaminaHandler::StaminaProcessor_Move().

◆ STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE

const float GameConstants::STAMINA_HOLD_BREATH_THRESHOLD_ACTIVATE = 10
private

Definition at line 648 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_HOLD_BREATH_THRESHOLD_DRAIN

const float GameConstants::STAMINA_HOLD_BREATH_THRESHOLD_DRAIN = 0
private

Definition at line 649 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_JUMP_THRESHOLD

const float GameConstants::STAMINA_JUMP_THRESHOLD = 25
private

Definition at line 650 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_KG_TO_GRAMS

const float GameConstants::STAMINA_KG_TO_GRAMS = 1000
private

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

Definition at line 661 of file constants.c.

Referenced by StaminaHandler::Update().

◆ STAMINA_KG_TO_STAMINAPERCENT_PENALTY

const float GameConstants::STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 1.75
private

Definition at line 646 of file constants.c.

◆ STAMINA_MAX

const float GameConstants::STAMINA_MAX = 100
private

Definition at line 663 of file constants.c.

Referenced by ManBase::EEHitBy(), PlayerStatsPCO_Base::Init(), and ManBase::ResetPlayer().

◆ STAMINA_MELEE_EVADE_THRESHOLD

const float GameConstants::STAMINA_MELEE_EVADE_THRESHOLD = 8
private

Definition at line 657 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_MELEE_HEAVY_THRESHOLD

const float GameConstants::STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY
private

Definition at line 656 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_MIN_CAP

const float GameConstants::STAMINA_MIN_CAP = 5
private

Definition at line 647 of file constants.c.

◆ STAMINA_REGEN_COOLDOWN_DEPLETION

const float GameConstants::STAMINA_REGEN_COOLDOWN_DEPLETION = 0.45
private

◆ STAMINA_REGEN_COOLDOWN_EXHAUSTION

const float GameConstants::STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0.5
private

Definition at line 659 of file constants.c.

Referenced by StaminaHandler::CheckStaminaState().

◆ STAMINA_ROLL_THRESHOLD

const float GameConstants::STAMINA_ROLL_THRESHOLD = 5
private

Definition at line 653 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_SYNC_RATE

const float GameConstants::STAMINA_SYNC_RATE = 0.5
private

Definition at line 662 of file constants.c.

Referenced by StaminaHandler::Update().

◆ STAMINA_VAULT_THRESHOLD

const float GameConstants::STAMINA_VAULT_THRESHOLD = 20
private

Definition at line 651 of file constants.c.

Referenced by StaminaHandler::RegisterStaminaConsumers().

◆ STAMINA_WEIGHT_LIMIT_THRESHOLD

const float GameConstants::STAMINA_WEIGHT_LIMIT_THRESHOLD = 6000
private

Definition at line 660 of file constants.c.