DayZ 1.26
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
Configurations for Environment class

Переменные

const float ENVIRO_TICK_RATE = 3
 
const float ENVIRO_TICKS_TO_WETNESS_CALCULATION = 2
 in secs. how often should enviro effet process
 
const float ENVIRO_TICK_ROOF_RC_CHECK = 10
 each X (ticks) is processed wetness on items on player
 
const float ENVIRO_WET_INCREMENT = 0.01
 in secs. how often we should check if player is under the roof (raycast)
 
const float ENVIRO_DRY_INCREMENT = 0.00005
 amount of wetness added to items wet value each tick if is raining
 
const float 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 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 ENVIRO_CLOUD_DRY_EFFECT = 0.7
 how much is the generic temp effect increased when player is next to a fireplace
 
const float ENVIRO_FOG_DRY_EFFECT = 0.9
 how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky
 
const float ENVIRO_FOG_TEMP_EFFECT = -2
 how many % of ENVIRO_SUN_INCREMENT is reduced by fog
 
const float ENVIRO_WET_PENALTY = 0.5
 how strong the effect of fog is
 
const float 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 ENVIRO_DEFAULT_ENTITY_HEAT = 2.5
 how many times slower is wetting/drying items in backpacks
 
const float ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF = 0.051
 heat entity generates if not moving
 
const float ENVIRO_TEMPERATURE_UNDERROOF_COEF = 0.75
 increases temp inside vehicles
 
const float ENVIRO_TEMPERATURE_WIND_COEF = 2.5
 underroof wind multiplier
 
const float ENVIRO_WIND_EFFECT = 0.25
 windchill effect on base temperature
 
const float ENVIRO_HIGH_NOON = 12
 amount of % wind affect drying/wetting
 
const float ENVIRO_HEATCOMFORT_MAX_STEP_SIZE = 0.25
 when is sun highest on sky
 
static const float ENVIRO_HEATCOMFORT_HEADGEAR_WEIGHT = 0.05
 max step of dynamic heatcomfort change (applies if diff between target and dynamic HC is bigger than this value)
 
static const float ENVIRO_HEATCOMFORT_MASK_WEIGHT = 0.05
 how much this body part affects final heatcomfort
 
static const float ENVIRO_HEATCOMFORT_VEST_WEIGHT = 0.04
 
static const float ENVIRO_HEATCOMFORT_BODY_WEIGHT = 0.12
 
static const float ENVIRO_HEATCOMFORT_BACK_WEIGHT = 0.03
 
static const float ENVIRO_HEATCOMFORT_GLOVES_WEIGHT = 0.04
 
static const float ENVIRO_HEATCOMFORT_LEGS_WEIGHT = 0.12
 
static const float ENVIRO_HEATCOMFORT_FEET_WEIGHT = 0.06
 
static const float ENVIRO_HEATCOMFORT_HIPS_WEIGHT = 0.00
 
static const float ENVIRO_HEATCOMFORT_WEIGHT_SUMMARY = ENVIRO_HEATCOMFORT_HEADGEAR_WEIGHT + ENVIRO_HEATCOMFORT_MASK_WEIGHT +ENVIRO_HEATCOMFORT_VEST_WEIGHT + ENVIRO_HEATCOMFORT_BODY_WEIGHT + ENVIRO_HEATCOMFORT_BACK_WEIGHT + ENVIRO_HEATCOMFORT_GLOVES_WEIGHT + ENVIRO_HEATCOMFORT_LEGS_WEIGHT + ENVIRO_HEATCOMFORT_FEET_WEIGHT + ENVIRO_HEATCOMFORT_HIPS_WEIGHT
 don't forget to update the weights from above if you are adding/removing them
 
const float ENVIRO_STOMACH_WEIGHT = 0.2
 
const float ENVIRO_LOW_TEMP_LIMIT = -20
 how much stomach content affects final heatcomfort
 
const float ENVIRO_HIGH_TEMP_LIMIT = 70
 lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
 
const float ENVIRO_PLAYER_COMFORT_TEMP = 24
 highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
 
const float ENVIRO_TEMP_EFFECT_ON_PLAYER = 40
 comfort temperature of environment for the player
 
const float ENVIRO_PLAYER_HEATBUFFER_WATEREFFECT = 20
 impact of enviro temperature on player (lower value = higher, cannot be zero or below!)
 
const float ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.03
 impact of water contact on player's heatbuffer
 
const float ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.3
 How much heat buffer decreases per one enviro tick.
 
const float ENVIRO_PLAYER_HEATBUFFER_TEMP_AFFECT = 0.50
 How much heat buffer increases per one enviro tick.
 
const float ENVIRO_PLAYER_HEATBUFFER_CAPACITY_MIN = 0.3
 How much heat buffer change rates are affected by temperature.
 
const float ENVIRO_ISOLATION_WETFACTOR_DRY = 1.0
 Minimal heatbuffer capacity of naked character.
 
const float ENVIRO_ISOLATION_WETFACTOR_DAMP = 0.9
 
const float ENVIRO_ISOLATION_WETFACTOR_WET = 0.5
 
const float ENVIRO_ISOLATION_WETFACTOR_SOAKED = 0.1
 
const float ENVIRO_ISOLATION_WETFACTOR_DRENCHED = -0.15
 
const float ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE = 1.0
 impact of item health (state) to the heat isolation
 
const float ENVIRO_ISOLATION_HEALTHFACTOR_WORN = 0.9
 
const float ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED = 0.8
 
const float ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED = 0.5
 
const float ENVIRO_ISOLATION_HEALTHFACTOR_RUINED = 0.0
 
const float ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS = 20.0
 
const float ENVIRO_NAKED_BODY_PENALTY_RAIN_MIN_VALUE = 0.2
 
const float ENVIRO_NAKED_BODY_PENALTY_SNOWFALL_MIN_VALUE = 0.4
 how intensive a rain should be to enable rain penalty on naked body
 
const float LIQUID_RAIN_AMOUNT_COEF_BASE = 10.0
 how intensive a snowfall should be to enable snowfall penalty on naked body
 
const float COLD_AREA_TEMPERATURE_THRESHOLD = 5
 
const float COLD_AREA_DIG_WORMS_MODIF = 1.5
 (deg Celsius) temperature limit up to which player is allowed to dig garden plots
 
const float ENVIRO_WIND_EFFECT_SLOPE = -35.0
 time modifier, how much longer it takes to dig up worms while in a cold area
 
const float ENVIRO_WIND_CHILL_LIMIT = 30.0
 Affects the slope of calculation.
 
const float ENVIRO_SNOW_WET_COEF = 0.1
 Above this value, the wind effect increases the modified temperature.
 
const float FIRE_ATTACHMENT_DAMAGE_PER_SECOND = 0.07
 various damage per second constants
 
const float ITEM_TEMPERATURE_NEUTRAL_ZONE_LOWER_LIMIT = 15.0
 damage per second dealt to attachment by fire
 
const float ITEM_TEMPERATURE_NEUTRAL_ZONE_UPPER_LIMIT = 35.0
 
const float ITEM_TEMPERATURE_QUANTITY_WEIGHT_MULTIPLIER = 0.04
 
static const float ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE = (GameConstants.ITEM_TEMPERATURE_NEUTRAL_ZONE_UPPER_LIMIT + GameConstants.ITEM_TEMPERATURE_NEUTRAL_ZONE_LOWER_LIMIT) * 0.5
 

Подробное описание

\desc Configurations for Environment class

Переменные

◆ COLD_AREA_DIG_WORMS_MODIF

const float COLD_AREA_DIG_WORMS_MODIF = 1.5
private

(deg Celsius) temperature limit up to which player is allowed to dig garden plots

Используется в ActionDigWormsCB::CreateActionComponent().

◆ COLD_AREA_TEMPERATURE_THRESHOLD

◆ ENVIRO_CLOUD_DRY_EFFECT

const float ENVIRO_CLOUD_DRY_EFFECT = 0.7
private

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

Используется в Environment::GetWetDelta().

◆ ENVIRO_DEFAULT_ENTITY_HEAT

const float ENVIRO_DEFAULT_ENTITY_HEAT = 2.5
private

how many times slower is wetting/drying items in backpacks

Используется в Environment::GetPlayerHeat().

◆ ENVIRO_DRY_INCREMENT

const float ENVIRO_DRY_INCREMENT = 0.00005
private

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

Используется в Environment::GetWetDelta().

◆ ENVIRO_FIRE_INCREMENT

const float 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

◆ ENVIRO_FOG_DRY_EFFECT

const float ENVIRO_FOG_DRY_EFFECT = 0.9
private

how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky

Используется в Environment::GetWetDelta().

◆ ENVIRO_FOG_TEMP_EFFECT

const float ENVIRO_FOG_TEMP_EFFECT = -2
private

how many % of ENVIRO_SUN_INCREMENT is reduced by fog

Используется в Environment::GetEnvironmentTemperature().

◆ ENVIRO_HEATCOMFORT_BACK_WEIGHT

const float ENVIRO_HEATCOMFORT_BACK_WEIGHT = 0.03
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_BODY_WEIGHT

const float ENVIRO_HEATCOMFORT_BODY_WEIGHT = 0.12
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_FEET_WEIGHT

const float ENVIRO_HEATCOMFORT_FEET_WEIGHT = 0.06
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_GLOVES_WEIGHT

const float ENVIRO_HEATCOMFORT_GLOVES_WEIGHT = 0.04
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_HEADGEAR_WEIGHT

const float ENVIRO_HEATCOMFORT_HEADGEAR_WEIGHT = 0.05
staticprivate

max step of dynamic heatcomfort change (applies if diff between target and dynamic HC is bigger than this value)

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_HIPS_WEIGHT

const float ENVIRO_HEATCOMFORT_HIPS_WEIGHT = 0.00
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_LEGS_WEIGHT

const float ENVIRO_HEATCOMFORT_LEGS_WEIGHT = 0.12
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_MASK_WEIGHT

const float ENVIRO_HEATCOMFORT_MASK_WEIGHT = 0.05
staticprivate

how much this body part affects final heatcomfort

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_MAX_STEP_SIZE

const float ENVIRO_HEATCOMFORT_MAX_STEP_SIZE = 0.25
private

when is sun highest on sky

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_VEST_WEIGHT

const float ENVIRO_HEATCOMFORT_VEST_WEIGHT = 0.04
staticprivate

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_HEATCOMFORT_WEIGHT_SUMMARY

◆ ENVIRO_HIGH_NOON

const float ENVIRO_HIGH_NOON = 12
private

amount of % wind affect drying/wetting

◆ ENVIRO_HIGH_TEMP_LIMIT

const float ENVIRO_HIGH_TEMP_LIMIT = 70
private

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

◆ ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED

const float ENVIRO_ISOLATION_HEALTHFACTOR_B_DAMAGED = 0.5
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED

const float ENVIRO_ISOLATION_HEALTHFACTOR_DAMAGED = 0.8
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE

const float ENVIRO_ISOLATION_HEALTHFACTOR_PRISTINE = 1.0
private

impact of item health (state) to the heat isolation

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_RUINED

const float ENVIRO_ISOLATION_HEALTHFACTOR_RUINED = 0.0
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_HEALTHFACTOR_WORN

const float ENVIRO_ISOLATION_HEALTHFACTOR_WORN = 0.9
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_DAMP

const float ENVIRO_ISOLATION_WETFACTOR_DAMP = 0.9
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_DRENCHED

const float ENVIRO_ISOLATION_WETFACTOR_DRENCHED = -0.15
private

◆ ENVIRO_ISOLATION_WETFACTOR_DRY

const float ENVIRO_ISOLATION_WETFACTOR_DRY = 1.0
private

Minimal heatbuffer capacity of naked character.

impact of item wetness to the heat isolation

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_SOAKED

const float ENVIRO_ISOLATION_WETFACTOR_SOAKED = 0.1
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_ISOLATION_WETFACTOR_WET

const float ENVIRO_ISOLATION_WETFACTOR_WET = 0.5
private

Используется в GetCurrentItemHeatIsolation().

◆ ENVIRO_LOW_TEMP_LIMIT

const float ENVIRO_LOW_TEMP_LIMIT = -20
private

how much stomach content affects final heatcomfort

◆ ENVIRO_NAKED_BODY_PENALTY_RAIN_MIN_VALUE

const float ENVIRO_NAKED_BODY_PENALTY_RAIN_MIN_VALUE = 0.2
private

Используется в Environment::NakedBodyPartHeatComfortPenalty().

◆ ENVIRO_NAKED_BODY_PENALTY_SNOWFALL_MIN_VALUE

const float ENVIRO_NAKED_BODY_PENALTY_SNOWFALL_MIN_VALUE = 0.4
private

how intensive a rain should be to enable rain penalty on naked body

Используется в Environment::NakedBodyPartHeatComfortPenalty().

◆ ENVIRO_PLAYER_COMFORT_TEMP

const float ENVIRO_PLAYER_COMFORT_TEMP = 24
private

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

Используется в Environment::EnvTempToCoef().

◆ ENVIRO_PLAYER_HEATBUFFER_CAPACITY_MIN

const float ENVIRO_PLAYER_HEATBUFFER_CAPACITY_MIN = 0.3
private

How much heat buffer change rates are affected by temperature.

Используется в Environment::ProcessHeatBuffer().

◆ ENVIRO_PLAYER_HEATBUFFER_DECREASE

const float ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.03
private

impact of water contact on player's heatbuffer

Используется в Environment::ProcessHeatBuffer().

◆ ENVIRO_PLAYER_HEATBUFFER_INCREASE

const float ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.3
private

How much heat buffer decreases per one enviro tick.

Используется в Environment::ProcessHeatBuffer().

◆ ENVIRO_PLAYER_HEATBUFFER_TEMP_AFFECT

const float ENVIRO_PLAYER_HEATBUFFER_TEMP_AFFECT = 0.50
private

How much heat buffer increases per one enviro tick.

Используется в Environment::ProcessHeatBuffer().

◆ ENVIRO_PLAYER_HEATBUFFER_WATEREFFECT

const float ENVIRO_PLAYER_HEATBUFFER_WATEREFFECT = 20
private

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

Используется в Environment::ProcessHeatBuffer().

◆ ENVIRO_SNOW_WET_COEF

const float ENVIRO_SNOW_WET_COEF = 0.1
private

Above this value, the wind effect increases the modified temperature.

Используется в Environment::GetWetDelta().

◆ ENVIRO_STOMACH_WEIGHT

const float ENVIRO_STOMACH_WEIGHT = 0.2
private

Используется в Environment::ProcessHeatComfort().

◆ ENVIRO_SUN_INCREMENT

const float ENVIRO_SUN_INCREMENT = 0.002
private

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

◆ ENVIRO_TEMP_EFFECT_ON_PLAYER

const float ENVIRO_TEMP_EFFECT_ON_PLAYER = 40
private

comfort temperature of environment for the player

Используется в Environment::EnvTempToCoef().

◆ ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS

const float ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS = 20.0
private

Используется в Environment::GatherTemperatureSources().

◆ ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF

const float ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF = 0.051
private

heat entity generates if not moving

Используется в Environment::GetEnvironmentTemperature().

◆ ENVIRO_TEMPERATURE_UNDERROOF_COEF

const float ENVIRO_TEMPERATURE_UNDERROOF_COEF = 0.75
private

increases temp inside vehicles

Используется в Environment::GetEnvironmentTemperature().

◆ ENVIRO_TEMPERATURE_WIND_COEF

const float ENVIRO_TEMPERATURE_WIND_COEF = 2.5
private

underroof wind multiplier

◆ ENVIRO_TICK_RATE

◆ ENVIRO_TICK_ROOF_RC_CHECK

const float ENVIRO_TICK_ROOF_RC_CHECK = 10
private

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

Используется в Environment::GetNextRoofCheck() и Environment::Update().

◆ ENVIRO_TICKS_TO_WETNESS_CALCULATION

const float ENVIRO_TICKS_TO_WETNESS_CALCULATION = 2
private

in secs. how often should enviro effet process

Используется в Environment::GetWetDelta() и Environment::Update().

◆ ENVIRO_WET_INCREMENT

const float ENVIRO_WET_INCREMENT = 0.01
private

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

Используется в Environment::GetWetDelta().

◆ ENVIRO_WET_PASSTHROUGH_COEF

const float 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

◆ ENVIRO_WET_PENALTY

const float ENVIRO_WET_PENALTY = 0.5
private

how strong the effect of fog is

◆ ENVIRO_WIND_CHILL_LIMIT

const float ENVIRO_WIND_CHILL_LIMIT = 30.0
private

Affects the slope of calculation.

Используется в Environment::WindEffectTemperatureValue().

◆ ENVIRO_WIND_EFFECT

const float ENVIRO_WIND_EFFECT = 0.25
private

windchill effect on base temperature

Используется в Environment::GetWetDelta().

◆ ENVIRO_WIND_EFFECT_SLOPE

const float ENVIRO_WIND_EFFECT_SLOPE = -35.0
private

time modifier, how much longer it takes to dig up worms while in a cold area

Используется в Environment::WindEffectTemperatureValue().

◆ FIRE_ATTACHMENT_DAMAGE_PER_SECOND

const float FIRE_ATTACHMENT_DAMAGE_PER_SECOND = 0.07
private

various damage per second constants

Используется в AddDamageToItemByFireEx(), CAContinuousTimeCooking::Execute() и ItemBase::OnWork().

◆ ITEM_TEMPERATURE_NEUTRAL_ZONE_LOWER_LIMIT

const float ITEM_TEMPERATURE_NEUTRAL_ZONE_LOWER_LIMIT = 15.0
private

damage per second dealt to attachment by fire

Используется в GetTemperatureColor() и Environment::NormalizedTemperature().

◆ ITEM_TEMPERATURE_NEUTRAL_ZONE_MIDDLE

◆ ITEM_TEMPERATURE_NEUTRAL_ZONE_UPPER_LIMIT

const float ITEM_TEMPERATURE_NEUTRAL_ZONE_UPPER_LIMIT = 35.0
private

◆ ITEM_TEMPERATURE_QUANTITY_WEIGHT_MULTIPLIER

const float ITEM_TEMPERATURE_QUANTITY_WEIGHT_MULTIPLIER = 0.04
private

◆ LIQUID_RAIN_AMOUNT_COEF_BASE

const float LIQUID_RAIN_AMOUNT_COEF_BASE = 10.0
private

how intensive a snowfall should be to enable snowfall penalty on naked body

Используется в RainProcurementComponentBase::GetBaseLiquidAmount().