![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
\desc Configurations for Environment class More...
Variables | |
| 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 | COLD_AREA_TEMPERATURE_THRESHOLD = 5 |
| 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_DEFAULT_ENTITY_HEAT = 2.5 |
| how many times slower is wetting/drying items in backpacks | |
| const float | ENVIRO_DRY_INCREMENT = 0.00005 |
| amount of wetness added to items wet value each tick if is raining | |
| 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_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 | |
| 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 |
| max step of dynamic heatcomfort change (applies if diff between target and dynamic HC is bigger than this value) | |
| 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 |
| how much this body part affects final heatcomfort | |
| const float | ENVIRO_HEATCOMFORT_MAX_STEP_SIZE = 0.25 |
| when is sun highest on sky | |
| 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 |
| amount of % wind affect drying/wetting | |
| const float | ENVIRO_HIGH_TEMP_LIMIT = 70 |
| lowest temperature(deg Celsius) where the player gets lowest 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 |
| how much stomach content affects final heatcomfort | |
| 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 | ENVIRO_PLAYER_COMFORT_TEMP = 24 |
| highest temperature(deg Celsius) where the player gets highest possible heat comfort (1) | |
| const float | ENVIRO_PLAYER_HEATBUFFER_CAPACITY_MIN = 0.35 |
| How much heat buffer change rates are affected by temperature. | |
| const float | ENVIRO_PLAYER_HEATBUFFER_DECREASE = 0.01 |
| impact of water contact on player's heatbuffer | |
| const float | ENVIRO_PLAYER_HEATBUFFER_INCREASE = 0.18 |
| How much heat buffer decreases per one enviro tick. | |
| static ref array< ref TFloatArray > | ENVIRO_PLAYER_HEATBUFFER_STAGE_RATELIMIT |
| Minimal heatbuffer capacity of naked character. | |
| const float | ENVIRO_PLAYER_HEATBUFFER_TEMP_AFFECT = 0.4 |
| How much heat buffer increases per one enviro tick. | |
| const float | ENVIRO_PLAYER_HEATBUFFER_WATEREFFECT = 20 |
| impact of enviro temperature on player (lower value = higher, cannot be zero or below!) | |
| const float | ENVIRO_SNOW_WET_COEF = 0.1 |
| Above this value, the wind effect increases the modified temperature. | |
| const float | ENVIRO_STOMACH_WEIGHT = 0.2 |
| 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_TEMP_EFFECT_ON_PLAYER = 40 |
| comfort temperature of environment for the player | |
| const float | ENVIRO_TEMP_SOURCES_LOOKUP_RADIUS = 20.0 |
| 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_TICK_RATE = 3 |
| const float | ENVIRO_TICK_ROOF_RC_CHECK = 10 |
| each X (ticks) is processed wetness on items on player | |
| const float | ENVIRO_TICKS_TO_WETNESS_CALCULATION = 2 |
| in secs. how often should enviro effet process | |
| const float | ENVIRO_WET_INCREMENT = 0.01 |
| in secs. how often we should check if player is under the roof (raycast) | |
| 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_WET_PENALTY = 0.5 |
| how strong the effect of fog is | |
| const float | ENVIRO_WIND_CHILL_LIMIT = 30.0 |
| Affects the slope of calculation. | |
| const float | ENVIRO_WIND_EFFECT = 0.25 |
| windchill effect on base temperature | |
| 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 | 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 | |
| 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 |
| how intensive a snowfall should be to enable snowfall penalty on naked body | |
\desc Configurations for Environment class
|
private |
(deg Celsius) temperature limit up to which player is allowed to dig garden plots
Definition at line 795 of file constants.c.
Referenced by ActionDigWormsCB::CreateActionComponent().
|
private |
Definition at line 794 of file constants.c.
Referenced by Apple::EEOnCECreate(), CraterellusMushroom::EEOnCECreate(), GreenBellPepper::EEOnCECreate(), Pear::EEOnCECreate(), Plum::EEOnCECreate(), Potato::EEOnCECreate(), Tomato::EEOnCECreate(), Zucchini::EEOnCECreate(), and SetAreaGenericColdness().
|
private |
how much is the generic temp effect increased when player is next to a fireplace
Definition at line 730 of file constants.c.
Referenced by GetWetDelta().
|
private |
how many times slower is wetting/drying items in backpacks
Definition at line 735 of file constants.c.
Referenced by GetPlayerHeat().
|
private |
amount of wetness added to items wet value each tick if is raining
Definition at line 727 of file constants.c.
Referenced by GetWetDelta().
|
private |
(not used) amount of wetness subtracted from items wet value each tick if is not raining due to sun
Definition at line 729 of file constants.c.
|
private |
how many % of ENVIRO_SUN_INCREMENT is reduced by cloudy sky
Definition at line 731 of file constants.c.
Referenced by GetWetDelta().
|
private |
how many % of ENVIRO_SUN_INCREMENT is reduced by fog
Definition at line 732 of file constants.c.
Referenced by WorldData::GetTemperature(), and WorldData::GetTemperatureComponentValue().
|
staticprivate |
Definition at line 748 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 747 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 751 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 749 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
max step of dynamic heatcomfort change (applies if diff between target and dynamic HC is bigger than this value)
Definition at line 744 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 752 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 750 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
how much this body part affects final heatcomfort
Definition at line 745 of file constants.c.
Referenced by ProcessHeatComfort().
|
private |
when is sun highest on sky
Definition at line 742 of file constants.c.
Referenced by ProcessHeatComfort().
|
staticprivate |
Definition at line 746 of file constants.c.
Referenced by ProcessHeatComfort().
| staticprivate |
don't forget to update the weights from above if you are adding/removing them
Definition at line 754 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
amount of % wind affect drying/wetting
Definition at line 740 of file constants.c.
|
private |
lowest temperature(deg Celsius) where the player gets lowest possible heat comfort (-1)
Definition at line 758 of file constants.c.
|
private |
Definition at line 785 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 784 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
impact of item health (state) to the heat isolation
Definition at line 782 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 786 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 783 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 777 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 780 of file constants.c.
Referenced by GetCurrentItemHeatIsolation(), and NakedBodyPartHeatComfortPenalty().
|
private |
impact of item wetness to the heat isolation
Definition at line 776 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 779 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
Definition at line 778 of file constants.c.
Referenced by GetCurrentItemHeatIsolation().
|
private |
how much stomach content affects final heatcomfort
Definition at line 757 of file constants.c.
|
private |
Definition at line 790 of file constants.c.
Referenced by NakedBodyPartHeatComfortPenalty().
|
private |
how intensive a rain should be to enable rain penalty on naked body
Definition at line 791 of file constants.c.
Referenced by NakedBodyPartHeatComfortPenalty().
|
private |
highest temperature(deg Celsius) where the player gets highest possible heat comfort (1)
Definition at line 759 of file constants.c.
Referenced by EnvTempToCoef().
|
private |
How much heat buffer change rates are affected by temperature.
Definition at line 765 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
impact of water contact on player's heatbuffer
Definition at line 762 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
How much heat buffer decreases per one enviro tick.
Definition at line 763 of file constants.c.
Referenced by ProcessHeatBuffer().
|
staticprivate |
Minimal heatbuffer capacity of naked character.
heatbuffer per stage decrease rate limiting - each entry represents the {min, max} value per HB stage
Definition at line 768 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
How much heat buffer increases per one enviro tick.
Definition at line 764 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
impact of enviro temperature on player (lower value = higher, cannot be zero or below!)
Definition at line 761 of file constants.c.
Referenced by ProcessHeatBuffer().
|
private |
Above this value, the wind effect increases the modified temperature.
Definition at line 800 of file constants.c.
Referenced by GetWetDelta().
|
private |
Definition at line 756 of file constants.c.
Referenced by ProcessHeatComfort().
|
private |
amount of wetness subtracted from items wet value each tick if is not raining due to player heat
Definition at line 728 of file constants.c.
|
private |
comfort temperature of environment for the player
Definition at line 760 of file constants.c.
Referenced by EnvTempToCoef().
|
private |
Definition at line 788 of file constants.c.
Referenced by GatherTemperatureSources().
|
private |
heat entity generates if not moving
Definition at line 736 of file constants.c.
Referenced by GetEnvironmentTemperature().
|
private |
increases temp inside vehicles
Definition at line 737 of file constants.c.
Referenced by GetEnvironmentTemperature().
|
private |
underroof wind multiplier
Definition at line 738 of file constants.c.
|
private |
Definition at line 723 of file constants.c.
Referenced by ApplyDrynessToItemEx(), ApplyWetnessToItem(), ProcessItemsDryness(), ProcessItemsWetness(), SetProcessedItemTemperature(), and Update().
|
private |
each X (ticks) is processed wetness on items on player
Definition at line 725 of file constants.c.
Referenced by GetNextRoofCheck(), and Update().
|
private |
in secs. how often should enviro effet process
Definition at line 724 of file constants.c.
Referenced by GetWetDelta(), and Update().
|
private |
in secs. how often we should check if player is under the roof (raycast)
Definition at line 726 of file constants.c.
Referenced by GetWetDelta().
|
private |
at which state of item wetness (0-1) will heat isolation start having negative effect on heat comfort of item
Definition at line 734 of file constants.c.
|
private |
how strong the effect of fog is
Definition at line 733 of file constants.c.
|
private |
Affects the slope of calculation.
Definition at line 798 of file constants.c.
Referenced by WindEffectTemperatureValue(), and WorldData::WindEffectTemperatureValue().
|
private |
windchill effect on base temperature
Definition at line 739 of file constants.c.
Referenced by GetWetDelta().
|
private |
time modifier, how much longer it takes to dig up worms while in a cold area
Definition at line 797 of file constants.c.
Referenced by WindEffectTemperatureValue(), and WorldData::WindEffectTemperatureValue().
|
private |
various damage per second constants
Definition at line 804 of file constants.c.
Referenced by AddDamageToItemByFireEx(), CAContinuousTimeCooking::Execute(), and ItemBase::OnWork().
|
private |
damage per second dealt to attachment by fire
Definition at line 806 of file constants.c.
Referenced by GetTemperatureColor(), NormalizedTemperature(), and ProcessHeatComfort().
|
staticprivate |
Definition at line 811 of file constants.c.
Referenced by FireplaceFireBarrel::FireplaceFireBarrel(), FireplaceBase::BarrelHoles_ColorBase(), RecipeBase::Do(), BuildingSuper::EEInit(), CarScript::EEInit(), FlammableBase::EEInit(), ItemBase::EEInit(), Misc_TirePile_Burning_DE::EEInit(), FireplaceBase::Fireplace(), FireplaceBase(), ManBase::FixAllInventoryItems(), HotSpringArea::InitZoneServer(), VolcanicArea::InitZoneServer(), and SetProcessedItemTemperature().
|
private |
Definition at line 807 of file constants.c.
Referenced by BodyPartHeatProperties(), BodyPartHeatProperties(), GetTemperatureColor(), NormalizedTemperature(), and ProcessHeatComfort().
|
private |
Definition at line 809 of file constants.c.
Referenced by InventoryItem::GetTemperaturePerQuantityWeight().
|
private |
how intensive a snowfall should be to enable snowfall penalty on naked body
Definition at line 793 of file constants.c.
Referenced by RainProcurementComponentBase::GetBaseLiquidAmount().