Keeps information about currently loaded world, like temperature. More...
Static Private Attributes | |
static protected const ref array< vector > | CHERNARUS_ARTY_STRIKE_POS |
Keeps information about currently loaded world, like temperature.
|
inlineprivate |
References CreateYieldBank(), Init(), InitYieldBank(), and UpdateBaseEnvTemperature().
References GetBaseEnvTemperatureExact(), and Print().
References Math::AbsFloat(), Math::Floor(), GetApproxSunriseTime(), GetApproxSunsetTime(), Math::Lerp(), m_MaxTemps, and m_MinTemps.
Referenced by GetBaseEnvTemperatureExact(), and UpdateBaseEnvTemperature().
Referenced by Init(), and WeatherOnBeforeChange().
|
inlineprivate |
References Math::Clamp(), World::GetDate(), Weather::GetDynVolFogHeightBias(), GetGame(), Weather::GetWindMaximumSpeed(), CGame::GetWorld(), Math::Lerp(), m_Weather, Math::RandomInt(), Math::RandomIntInclusive(), Weather::SetDynVolFogDistanceDensity(), Weather::SetDynVolFogHeightBias(), and Weather::SetDynVolFogHeightDensity().
|
private |
Referenced by WeatherOnBeforeChange().
Returns the desired snowflake scale based on weather simulation state.
weather | Weather instance |
References Math::Clamp(), WeatherPhenomenon::GetActual(), Weather::GetOvercast(), Weather::GetWindMaximumSpeed(), Weather::GetWindSpeed(), Math::InverseLerp(), and Math::Lerp().
Referenced by UpdateWeatherEffects().
|
inlineprivate |
References m_YieldBank.
Referenced by WorldData().
References SPAWN_CHANCE_CHOLERA_DEF.
Referenced by Bottle_Base::EEOnCECreate().
References m_Sunrise_Jan, and m_Sunrise_Jul.
Referenced by CalcBaseEnvironmentTemperature().
References m_Sunset_Jan, and m_Sunset_Jul.
Referenced by CalcBaseEnvironmentTemperature().
References m_FiringPos.
Referenced by ContaminatedArea_Dynamic::EEOnCECreate().
|
inlineprivate |
References m_EnvironmentTemperature.
Referenced by Apple::EEOnCECreate(), CraterellusMushroom::EEOnCECreate(), GreenBellPepper::EEOnCECreate(), Pear::EEOnCECreate(), Plum::EEOnCECreate(), Potato::EEOnCECreate(), Tomato::EEOnCECreate(), Zucchini::EEOnCECreate(), Environment::GetDebugMessage(), and GetTemperature().
References GetBaseEnvTemperatureAtPosition(), and GetPosition.
Referenced by Environment::GetDebugMessage(), GetTemperature(), Environment::Init(), and Environment::SetAreaGenericColdness().
References m_EnvironmentTemperature, m_TemperaturePerHeightReductionModifier, and Math::Max().
Referenced by GetBaseEnvTemperatureAtObject().
References CalcBaseEnvironmentTemperature().
Referenced by BaseTempDebug().
|
inlineprivate |
References m_YieldBank.
Referenced by Init(), ItemBase::PlayCatchEffectsClient(), and ItemBase::PlayCatchEffectsServer().
|
inlineprivate |
References COLD_AREA_TOOL_DMG_MODIF_DEF.
Referenced by DealEvinronmentAdjustedDmg().
|
inlineprivate |
References m_DayTemperature.
|
inlineprivate |
|
inlineprivate |
References m_DefaultPlayerRestrictedAreas.
References ErrorEx, INDEX_NOT_FOUND, m_EnvironmentTemperature, and m_LiquidSettings.
Referenced by FilteringBottle::AffectLiquidContainerOnFill(), Bottle_Base::AffectLiquidContainerOnFill(), ManBase::Consume(), Environment::GetEnvironmentTemperature(), GetLiquidTypeEnviroTemperature(), and Environment::SetProcessedItemTemperature().
|
inlineprivate |
References m_NightTemperature.
|
inlineprivate |
References m_Pollution.
Referenced by ManBase::Consume(), and PluginBase::TransmitAgentsEx().
|
inlineprivate |
Return actual temperature of environment based on provided parameters.
object | Reference to object that is used mainly for sea height related calculation |
properties | Flag made of EEnvironmentTemperatureComponent which will influence the resulting value of temperature based on combination of the parts |
References GameConstants::ENVIRO_FOG_TEMP_EFFECT, WeatherPhenomenon::GetActual(), GetBaseEnvTemperature(), GetBaseEnvTemperatureAtObject(), Weather::GetFog(), Weather::GetOvercast(), m_CloudsTemperatureEffectModifier, m_Weather, and WindEffectTemperatureValue().
Referenced by Environment::GetEnvironmentTemperature().
|
inlineprivate |
Return value of queried EEnvironmentTemperatureComponent which can be used in future calculation(s)
temperature | Base temperature which will be used in component calculation (currently WIND only) |
properties | Flag made of EEnvironmentTemperatureComponent which will influence the resulting value of temperature based on combination of the parts |
References GameConstants::ENVIRO_FOG_TEMP_EFFECT, WeatherPhenomenon::GetActual(), Weather::GetFog(), Weather::GetOvercast(), Debug::Log(), m_CloudsTemperatureEffectModifier, m_Weather, and WindEffectTemperatureValue().
Referenced by Environment::GetEnvironmentTemperature().
|
inlineprivate |
References m_UniversalTemperatureSourceCapModifier.
|
inlineprivate |
References m_WorldWindCoef.
Referenced by WindEffectTemperatureValue(), and Environment::WindEffectTemperatureValue().
|
inlineprivate |
References g_Game, m_BadWeatherChance, WorldDataWeatherSettings::m_BadWeatherChance, m_ClearWeatherChance, WorldDataWeatherSettings::m_ClearWeatherChance, m_CloudsTemperatureEffectModifier, m_DefaultPlayerRestrictedAreas, m_EnTempUpdated, m_EnvironmentTemperature, m_MaxTemps, m_MinTemps, m_Pollution, m_Sunrise_Jan, m_Sunrise_Jul, m_Sunset_Jan, m_Sunset_Jul, m_TemperatureInsideBuildingsModifier, m_TemperaturePerHeightReductionModifier, m_Timer, m_UniversalTemperatureSourceCapModifier, m_WaterContactTemperatureModifier, m_Weather, m_WeatherDefaultSettings, m_WorldWindCoef, SetupLiquidTemperatures(), and SetupWeatherSettings().
Referenced by WorldData().
|
inlineprivate |
References CalculateVolFog(), CHERNARUS_ARTY_STRIKE_POS, Count, CfgGameplayHandler::GetEnvironmentMaxTemps(), CfgGameplayHandler::GetEnvironmentMinTemps(), GetGame(), Weather::GetOvercast(), Weather::GetWindSpeed(), m_Weather, Math::RandomFloat(), WeatherPhenomenon::Set(), and Weather::SetDynVolFogHeightBias().
|
inlineprivate |
override this to properly register world-specific yields
References GetDayZGame(), and m_YieldBank.
Referenced by WorldData().
|
inlineprivate |
|
inlineprivate |
References LIQUID_CLEANWATER, LIQUID_FRESHWATER, LIQUID_RIVERWATER, LIQUID_SALTWATER, LIQUID_SNOW, LIQUID_STILLWATER, LIQUID_WATER, and m_LiquidSettings.
Referenced by Init().
|
inlineprivate |
References m_WeatherDefaultSettings.
Referenced by Init().
|
inlineprivate |
|
inlineprivate |
References CalcBaseEnvironmentTemperature(), World::GetDate(), GetGame(), CGame::GetWorld(), m_EnTempUpdated, m_EnvironmentTemperature, and m_Timer.
Referenced by WorldData().
Updates local weather effects.
weather | Weather instance |
timeslice | Time delta since last update |
References ComputeSnowflakeScale(), and Weather::SetSnowflakeScale().
Referenced by CGame::OnUpdate().
|
inlineprivate |
Referenced by WeatherPhenomenon::OnBeforeChange().
|
inlineprivate |
References CalculateVolFog(), CalculateWind(), CloseFile(), FPrintln(), g_Game, WeatherPhenomenon::GetActual(), World::GetDate(), Weather::GetDynVolFogHeightBias(), Weather::GetFog(), GetGame(), Weather::GetOvercast(), Weather::GetRain(), Weather::GetWindDirection(), Weather::GetWindMagnitude(), CGame::GetWorld(), IDC_MAIN_QUIT, m_SameWeatherCnt, m_StepValue, m_Weather, OpenFile(), Math::RandomFloatInclusive(), Math::RandomInt(), Math::RandomIntInclusive(), WeatherPhenomenon::Set(), Weather::SetDynVolFogHeightBias(), Weather::SetRainThresholds(), Weather::SetStorm(), Weather::SetWindMaximumSpeed(), and Debug::WeatherLog().
|
private |
Referenced by Init().
|
private |
DEPRECATED (see WorldDataWeatherConstants)
|
private |
|
private |
Referenced by GetColdAreaToolDamageModifier().
|
private |
weather related
Referenced by Init(), SakhalData::Init(), EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
Referenced by Init(), SakhalData::Init(), EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
amount of °C reduced for each 100 meteres of height above water level
Referenced by GetTemperature(), GetTemperatureComponentValue(), Init(), and EnochData::Init().
|
private |
DEPRECATED
Referenced by GetDayTemperature().
|
private |
Referenced by GetDefaultPRAPaths(), Init(), and SakhalData::Init().
|
private |
Referenced by Init(), and UpdateBaseEnvTemperature().
|
private |
Referenced by GetArtyFiringPos(), and EnochData::Init().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
|
private |
Referenced by CalcBaseEnvironmentTemperature(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by CalcBaseEnvironmentTemperature(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by GetNightTemperature().
|
private |
Referenced by GetPollution(), Init(), and SakhalData::Init().
|
private |
Referenced by WeatherOnBeforeChange(), EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
Referenced by WeatherOnBeforeChange(), EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
|
private |
Referenced by GetApproxSunriseTime(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by GetApproxSunriseTime(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by GetApproxSunsetTime(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by GetApproxSunsetTime(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
how many % of environment temperature can be lowered by clouds
Referenced by Environment::GetEnvironmentTemperature(), Init(), and SakhalData::Init().
|
private |
directly accesible (defined/overriden in Init())
Referenced by GetBaseEnvTemperatureAtPosition(), Environment::GetTemperatureHeightCorrection(), Init(), and EnochData::Init().
|
private |
Referenced by Init(), and UpdateBaseEnvTemperature().
|
private |
Referenced by GetUniversalTemperatureSourceCapModifier(), Init(), EnochData::Init(), and SakhalData::Init().
|
private |
Referenced by Environment::GetEnvironmentTemperature(), and Init().
|
private |
Referenced by EnochData::CalculateVolFog(), SakhalData::CalculateVolFog(), EnochData::CalculateWind(), SakhalData::CalculateWind(), GetTemperature(), GetTemperatureComponentValue(), Init(), EnochData::Init(), SakhalData::Init(), EnochData::WeatherOnBeforeChange(), SakhalData::WeatherOnBeforeChange(), and WindEffectTemperatureValue().
|
private |
|
private |
Referenced by GetWindCoef(), Init(), and EnochData::Init().
|
private |
Referenced by CreateYieldBank(), GetCatchYieldBank(), InitYieldBank(), EnochData::InitYieldBank(), and SakhalData::InitYieldBank().
|
private |
|
private |
DEPRECATED (see WorldDataWeatherSettings)
|
private |
|
private |
|
private |
|
private |
Referenced by GetAgentSpawnChance().
|
private |
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().
|
private |
Referenced by EnochData::WeatherOnBeforeChange(), and SakhalData::WeatherOnBeforeChange().