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

Variables

const float GameConstants::ENVIRO_TICK_RATE = 3
 
const float GameConstants::ENVIRO_TICKS_TO_WETNESS_CALCULATION = 2
 in secs. how often should enviro effet process
 
const float GameConstants::ENVIRO_TICK_ROOF_RC_CHECK = 10
 each X (ticks) is processed wetness on items on player
 
const float GameConstants::ENVIRO_WET_INCREMENT = 0.01
 in secs. how often we should check if player is under the roof (raycast)
 
const float GameConstants::ENVIRO_DRY_INCREMENT = 0.00005
 amount of wetness added to items wet value each tick if is raining
 
const float GameConstants::ENVIRO_SUN_INCREMENT = 0.002
 amount of wetness subtracted from items wet value each tick if is not raining due to player heat
 
const float GameConstants::ENVIRO_FIRE_INCREMENT = 23.5
 (not used) amount of wetness subtracted from items wet value each tick if is not raining due to sun
 
const float GameConstants::ENVIRO_CLOUD_DRY_EFFECT = 0.7
 how much is the generic temp effect increased when player is next to a fireplace
 
const float GameConstants::ENVIRO_FOG_DRY_EFFECT = 0.9
 how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky
 
const float GameConstants::ENVIRO_CLOUDS_TEMP_EFFECT = 0.35
 how many % of ENVIRO_SUN_INCREMENT is reduced by fog
 
const float GameConstants::ENVIRO_FOG_TEMP_EFFECT = 0.24
 how many % of environment temperature can be lowered by clouds
 
const float GameConstants::ENVIRO_WET_PENALTY = 0.5
 how many % of environment temperature can be lowered by fog
 
const float GameConstants::ENVIRO_WET_PASSTHROUGH_COEF = 0.1
 at which state of item wetness (0-1) will heat isolation start having negative effect on heat comfort of item
 
const float GameConstants::ENVIRO_ITEM_HEAT_TRANSFER_COEF = 0.01
 how many times slower is wetting/drying items in backpacks
 
const float GameConstants::ENVIRO_WATER_TEMPERATURE_COEF = 1.5
 converts temperature of items to entities heatcomfort gain
 
const float GameConstants::ENVIRO_DEFAULT_ENTITY_HEAT = 2.5
 how many time is water colder than air
 
const float GameConstants::ENVIRO_TEMPERATURE_HEIGHT_REDUCTION = 0.02
 heat entity generates if not moving
 
const float GameConstants::ENVIRO_TEMPERATURE_INSIDE_COEF = 0.085
 amount of ?C reduced for each 100 meteres of height above water level
 
const float GameConstants::ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF = 0.051
 increases temp in interiors
 
const float GameConstants::ENVIRO_TEMPERATURE_UNDERROOF_COEF = 0.072
 increases temp inside vehicles
 
const float GameConstants::ENVIRO_TEMPERATURE_WIND_COEF = 2.5
 
const float GameConstants::ENVIRO_WIND_EFFECT = 0.25
 windchill effect on base temperature
 
const float GameConstants::ENVIRO_HIGH_NOON = 12
 amount of % wind affect drying/wetting
 
const float GameConstants::ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT = 0.3
 when is sun highest on sky
 
const float GameConstants::ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT = 1.0
 how much this head parts (clothing) affects final heatcomfort
 
const float GameConstants::ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT = 0.5
 how much this body parts (clothing) affects final heatcomfort
 
const float GameConstants::ENVIRO_HEATISOLATION_BACK_WEIGHT = 0.45
 how much this feet parts (clothing) affects final heatcomfort
 
const float GameConstants::ENVIRO_HEATISOLATION_VEST_WEIGHT = 0.64
 weight of back for the sum of heat isolation
 
const float GameConstants::ENVIRO_LOW_TEMP_LIMIT = -40
 weight of vest for the sum of heat isolation
 
const float GameConstants::ENVIRO_HIGH_TEMP_LIMIT = 50
 lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
 
const float GameConstants::ENVIRO_PLAYER_COMFORT_TEMP = 26
 highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
 
const float GameConstants::ENVIRO_TEMP_EFFECT_ON_PLAYER = 60
 comfort temperature of environment for the player
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.34
 impact of enviro temperature on player (lower value = higher, cannot be zero or below!)
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.51
 Multiplier of enviro temperature for heat buffer decrease (after its static timer runs out)
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_TICK = 0.011
 How much heat buffer increases per one enviro tick.
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRY = 1.0
 Heat buffer static timer tick (set for 2s enviro tick, 180s to 1.0)
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DAMP = 0.9
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_WET = 0.75
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_SOAKED = 0.5
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRENCHED = 0.0
 
const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE = 1.0
 impact of item health (state) to the heat isolation
 
const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_WORN = 0.9
 
const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED = 0.8
 
const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED = 0.5
 
const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_RUINED = 0.0
 
const float GameConstants::ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS = 20.0
 
const float GameConstants::LIQUID_RAIN_AMOUNT_COEF_BASE = 10.0
 
const float GameConstants::FIRE_ATTACHMENT_DAMAGE_PER_SECOND = 0.07
 various damage per second constants
 

Detailed Description

\desc Configurations for Environment class

Variable Documentation

◆ ENVIRO_CLOUD_DRY_EFFECT

const float GameConstants::ENVIRO_CLOUD_DRY_EFFECT = 0.7
private

how much is the generic temp effect increased when player is next to a fireplace

Definition at line 678 of file constants.c.

Referenced by Environment::GetWetDelta().

◆ ENVIRO_CLOUDS_TEMP_EFFECT

const float GameConstants::ENVIRO_CLOUDS_TEMP_EFFECT = 0.35
private

how many % of ENVIRO_SUN_INCREMENT is reduced by fog

Definition at line 680 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_DEFAULT_ENTITY_HEAT

const float GameConstants::ENVIRO_DEFAULT_ENTITY_HEAT = 2.5
private

how many time is water colder than air

Definition at line 686 of file constants.c.

Referenced by Environment::GetPlayerHeat().

◆ ENVIRO_DRY_INCREMENT

const float GameConstants::ENVIRO_DRY_INCREMENT = 0.00005
private

amount of wetness added to items wet value each tick if is raining

Definition at line 675 of file constants.c.

Referenced by Environment::GetWetDelta().

◆ ENVIRO_FIRE_INCREMENT

const float GameConstants::ENVIRO_FIRE_INCREMENT = 23.5
private

(not used) amount of wetness subtracted from items wet value each tick if is not raining due to sun

Definition at line 677 of file constants.c.

◆ ENVIRO_FOG_DRY_EFFECT

const float GameConstants::ENVIRO_FOG_DRY_EFFECT = 0.9
private

how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky

Definition at line 679 of file constants.c.

Referenced by Environment::GetWetDelta().

◆ ENVIRO_FOG_TEMP_EFFECT

const float GameConstants::ENVIRO_FOG_TEMP_EFFECT = 0.24
private

how many % of environment temperature can be lowered by clouds

Definition at line 681 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT

const float GameConstants::ENVIRO_HEATCOMFORT_BODYPARTS_WEIGHT = 1.0
private

how much this head parts (clothing) affects final heatcomfort

Definition at line 696 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT

const float GameConstants::ENVIRO_HEATCOMFORT_FEETPARTS_WEIGHT = 0.5
private

how much this body parts (clothing) affects final heatcomfort

Definition at line 697 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT

const float GameConstants::ENVIRO_HEATCOMFORT_HEADPARTS_WEIGHT = 0.3
private

when is sun highest on sky

Definition at line 695 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_HEATISOLATION_BACK_WEIGHT

const float GameConstants::ENVIRO_HEATISOLATION_BACK_WEIGHT = 0.45
private

how much this feet parts (clothing) affects final heatcomfort

Definition at line 698 of file constants.c.

Referenced by Environment::BodyPartHeatProperties().

◆ ENVIRO_HEATISOLATION_VEST_WEIGHT

const float GameConstants::ENVIRO_HEATISOLATION_VEST_WEIGHT = 0.64
private

weight of back for the sum of heat isolation

Definition at line 699 of file constants.c.

Referenced by Environment::BodyPartHeatProperties().

◆ ENVIRO_HIGH_NOON

const float GameConstants::ENVIRO_HIGH_NOON = 12
private

amount of % wind affect drying/wetting

Definition at line 693 of file constants.c.

◆ ENVIRO_HIGH_TEMP_LIMIT

const float GameConstants::ENVIRO_HIGH_TEMP_LIMIT = 50
private

lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)

Definition at line 701 of file constants.c.

Referenced by Environment::EnvTempToCoef().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED

const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED = 0.5
private

Definition at line 718 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED

const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED = 0.8
private

Definition at line 717 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE

const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE = 1.0
private

impact of item health (state) to the heat isolation

Definition at line 715 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_RUINED

const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_RUINED = 0.0
private

Definition at line 719 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_WORN

const float GameConstants::ENVIRO_ISOLATION_HEALTHFACTOR_WORN = 0.9
private

Definition at line 716 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_DAMP

const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DAMP = 0.9
private

Definition at line 710 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_DRENCHED

const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRENCHED = 0.0
private

Definition at line 713 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_DRY

const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRY = 1.0
private

Heat buffer static timer tick (set for 2s enviro tick, 180s to 1.0)

impact of item wetness to the heat isolation

Definition at line 709 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_SOAKED

const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_SOAKED = 0.5
private

Definition at line 712 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_WET

const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_WET = 0.75
private

Definition at line 711 of file constants.c.

Referenced by GetCurrentItemHeatIsolation().

◆ ENVIRO_ITEM_HEAT_TRANSFER_COEF

const float GameConstants::ENVIRO_ITEM_HEAT_TRANSFER_COEF = 0.01
private

how many times slower is wetting/drying items in backpacks

Definition at line 684 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_LOW_TEMP_LIMIT

const float GameConstants::ENVIRO_LOW_TEMP_LIMIT = -40
private

weight of vest for the sum of heat isolation

Definition at line 700 of file constants.c.

Referenced by Environment::EnvTempToCoef().

◆ ENVIRO_PLAYER_COMFORT_TEMP

const float GameConstants::ENVIRO_PLAYER_COMFORT_TEMP = 26
private

highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)

Definition at line 702 of file constants.c.

Referenced by Environment::EnvTempToCoef().

◆ ENVIRO_PLAYER_HEATBUFFER_DECREASE

const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.34
private

impact of enviro temperature on player (lower value = higher, cannot be zero or below!)

Definition at line 704 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_PLAYER_HEATBUFFER_INCREASE

const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.51
private

Multiplier of enviro temperature for heat buffer decrease (after its static timer runs out)

Definition at line 705 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_PLAYER_HEATBUFFER_TICK

const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_TICK = 0.011
private

How much heat buffer increases per one enviro tick.

Definition at line 706 of file constants.c.

Referenced by Environment::ProcessItemsHeat().

◆ ENVIRO_SUN_INCREMENT

const float GameConstants::ENVIRO_SUN_INCREMENT = 0.002
private

amount of wetness subtracted from items wet value each tick if is not raining due to player heat

Definition at line 676 of file constants.c.

◆ ENVIRO_TEMP_EFFECT_ON_PLAYER

const float GameConstants::ENVIRO_TEMP_EFFECT_ON_PLAYER = 60
private

comfort temperature of environment for the player

Definition at line 703 of file constants.c.

Referenced by Environment::EnvTempToCoef().

◆ ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS

const float GameConstants::ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS = 20.0
private

Definition at line 721 of file constants.c.

Referenced by Environment::GatherTemperatureSources().

◆ ENVIRO_TEMPERATURE_HEIGHT_REDUCTION

const float GameConstants::ENVIRO_TEMPERATURE_HEIGHT_REDUCTION = 0.02
private

heat entity generates if not moving

Definition at line 687 of file constants.c.

Referenced by Environment::GetTemperatureHeightCorrection().

◆ ENVIRO_TEMPERATURE_INSIDE_COEF

const float GameConstants::ENVIRO_TEMPERATURE_INSIDE_COEF = 0.085
private

amount of ?C reduced for each 100 meteres of height above water level

Definition at line 688 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF

const float GameConstants::ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF = 0.051
private

increases temp in interiors

Definition at line 689 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_TEMPERATURE_UNDERROOF_COEF

const float GameConstants::ENVIRO_TEMPERATURE_UNDERROOF_COEF = 0.072
private

increases temp inside vehicles

Definition at line 690 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_TEMPERATURE_WIND_COEF

const float GameConstants::ENVIRO_TEMPERATURE_WIND_COEF = 2.5
private

Definition at line 691 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_TICK_RATE

◆ ENVIRO_TICK_ROOF_RC_CHECK

const float GameConstants::ENVIRO_TICK_ROOF_RC_CHECK = 10
private

each X (ticks) is processed wetness on items on player

Definition at line 673 of file constants.c.

Referenced by Environment::GetNextRoofCheck(), and Environment::Update().

◆ ENVIRO_TICKS_TO_WETNESS_CALCULATION

const float GameConstants::ENVIRO_TICKS_TO_WETNESS_CALCULATION = 2
private

in secs. how often should enviro effet process

Definition at line 672 of file constants.c.

Referenced by Environment::GetWetDelta(), and Environment::Update().

◆ ENVIRO_WATER_TEMPERATURE_COEF

const float GameConstants::ENVIRO_WATER_TEMPERATURE_COEF = 1.5
private

converts temperature of items to entities heatcomfort gain

Definition at line 685 of file constants.c.

Referenced by Environment::GetEnvironmentTemperature().

◆ ENVIRO_WET_INCREMENT

const float GameConstants::ENVIRO_WET_INCREMENT = 0.01
private

in secs. how often we should check if player is under the roof (raycast)

Definition at line 674 of file constants.c.

Referenced by Environment::GetWetDelta().

◆ ENVIRO_WET_PASSTHROUGH_COEF

const float GameConstants::ENVIRO_WET_PASSTHROUGH_COEF = 0.1
private

at which state of item wetness (0-1) will heat isolation start having negative effect on heat comfort of item

Definition at line 683 of file constants.c.

◆ ENVIRO_WET_PENALTY

const float GameConstants::ENVIRO_WET_PENALTY = 0.5
private

how many % of environment temperature can be lowered by fog

Definition at line 682 of file constants.c.

◆ ENVIRO_WIND_EFFECT

const float GameConstants::ENVIRO_WIND_EFFECT = 0.25
private

windchill effect on base temperature

Definition at line 692 of file constants.c.

Referenced by Environment::GetWetDelta().

◆ FIRE_ATTACHMENT_DAMAGE_PER_SECOND

const float GameConstants::FIRE_ATTACHMENT_DAMAGE_PER_SECOND = 0.07
private

various damage per second constants

Definition at line 727 of file constants.c.

Referenced by AddDamageToItemByFireEx(), CAContinuousTimeCooking::Execute(), and ItemBase::OnWork().

◆ LIQUID_RAIN_AMOUNT_COEF_BASE

const float GameConstants::LIQUID_RAIN_AMOUNT_COEF_BASE = 10.0
private

Definition at line 723 of file constants.c.

Referenced by RainProcurementComponentBase::GetBaseLiquidAmount().