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

Переменные

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_FOG_TEMP_EFFECT = -2
 how many % of ENVIRO_SUN_INCREMENT is reduced by fog
 
const float GameConstants::ENVIRO_WET_PENALTY = 0.5
 how strong the effect of fog is
 
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_DEFAULT_ENTITY_HEAT = 2.5
 how many times slower is wetting/drying items in backpacks
 
const float GameConstants::ENVIRO_TEMPERATURE_INSIDE_VEHICLE_COEF = 0.051
 heat entity generates if not moving
 
const float GameConstants::ENVIRO_TEMPERATURE_UNDERROOF_COEF = 0.75
 increases temp inside vehicles
 
const float GameConstants::ENVIRO_TEMPERATURE_WIND_COEF = 2.5
 underroof wind multiplier
 
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_MAX_STEP_SIZE = 0.25
 when is sun highest on sky
 
static const float GameConstants::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 GameConstants::ENVIRO_HEATCOMFORT_MASK_WEIGHT = 0.05
 how much this body part affects final heatcomfort
 
static const float GameConstants::ENVIRO_HEATCOMFORT_VEST_WEIGHT = 0.04
 
static const float GameConstants::ENVIRO_HEATCOMFORT_BODY_WEIGHT = 0.12
 
static const float GameConstants::ENVIRO_HEATCOMFORT_BACK_WEIGHT = 0.03
 
static const float GameConstants::ENVIRO_HEATCOMFORT_GLOVES_WEIGHT = 0.04
 
static const float GameConstants::ENVIRO_HEATCOMFORT_LEGS_WEIGHT = 0.12
 
static const float GameConstants::ENVIRO_HEATCOMFORT_FEET_WEIGHT = 0.06
 
static const float GameConstants::ENVIRO_HEATCOMFORT_HIPS_WEIGHT = 0.00
 
static const float GameConstants::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 GameConstants::ENVIRO_STOMACH_WEIGHT = 0.2
 
const float GameConstants::ENVIRO_LOW_TEMP_LIMIT = -20
 how much stomach content affects final heatcomfort
 
const float GameConstants::ENVIRO_HIGH_TEMP_LIMIT = 70
 lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
 
const float GameConstants::ENVIRO_PLAYER_COMFORT_TEMP = 24
 highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
 
const float GameConstants::ENVIRO_TEMP_EFFECT_ON_PLAYER = 40
 comfort temperature of environment for the player
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_WATEREFFECT = 20
 impact of enviro temperature on player (lower value = higher, cannot be zero or below!)
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.01
 impact of water contact on player's heatbuffer
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.18
 How much heat buffer decreases per one enviro tick.
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_TEMP_AFFECT = 0.4
 How much heat buffer increases per one enviro tick.
 
const float GameConstants::ENVIRO_PLAYER_HEATBUFFER_CAPACITY_MIN = 0.35
 How much heat buffer change rates are affected by temperature.
 
static ref array< ref TFloatArrayGameConstants::ENVIRO_PLAYER_HEATBUFFER_STAGE_RATELIMIT
 Minimal heatbuffer capacity of naked character.
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRY = 1.0
 impact of item wetness to the heat isolation
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DAMP = 0.9
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_WET = 0.5
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_SOAKED = 0.1
 
const float GameConstants::ENVIRO_ISOLATION_WETFACTOR_DRENCHED = -0.15
 
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::ENVIRO_NAKED_BODY_PENALTY_RAIN_MIN_VALUE = 0.2
 
const float GameConstants::ENVIRO_NAKED_BODY_PENALTY_SNOWFALL_MIN_VALUE = 0.4
 how intensive a rain should be to enable rain penalty on naked body
 
const float GameConstants::LIQUID_RAIN_AMOUNT_COEF_BASE = 10.0
 how intensive a snowfall should be to enable snowfall penalty on naked body
 
const float GameConstants::COLD_AREA_TEMPERATURE_THRESHOLD = 5
 
const float GameConstants::COLD_AREA_DIG_WORMS_MODIF = 1.5
 (deg Celsius) temperature limit up to which player is allowed to dig garden plots
 
const float GameConstants::ENVIRO_WIND_EFFECT_SLOPE = -35.0
 time modifier, how much longer it takes to dig up worms while in a cold area
 
const float GameConstants::ENVIRO_WIND_CHILL_LIMIT = 30.0
 Affects the slope of calculation.
 
const float GameConstants::ENVIRO_SNOW_WET_COEF = 0.1
 Above this value, the wind effect increases the modified temperature.
 
const float GameConstants::FIRE_ATTACHMENT_DAMAGE_PER_SECOND = 0.07
 various damage per second constants
 
const float GameConstants::ITEM_TEMPERATURE_NEUTRAL_ZONE_LOWER_LIMIT = 15.0
 damage per second dealt to attachment by fire
 
const float GameConstants::ITEM_TEMPERATURE_NEUTRAL_ZONE_UPPER_LIMIT = 35.0
 
const float GameConstants::ITEM_TEMPERATURE_QUANTITY_WEIGHT_MULTIPLIER = 0.04
 
static const float GameConstants::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