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