![]() |
Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
|
Protected Member Functions | |
| override void | CalculateVolFog (float lerpValue, float windMagnitude, float changeTime) |
| override void | CalculateWind (int newWeather, bool suddenChange, out float magnitude, out float direction) |
| override void | Init () |
| override void | InitYieldBank () |
| bool | LogWeatherData () |
| override void | SetupLiquidTemperatures () |
| override void | SetupWeatherSettings () |
| override bool | WeatherOnBeforeChange (EWeatherPhenomenon type, float actual, float change, float time) |
Protected Attributes | |
| const int | BAD_WEATHER = 3 |
| const int | CLEAR_WEATHER = 1 |
| DEPRECATED (see WorldDataWeatherConstants). | |
| const int | CLOUDY_WEATHER = 2 |
| int | m_badWeatherChance = m_BadWeatherChance |
| int | m_chance = m_Chance |
| int | m_choosenWeather = m_ChoosenWeather |
| int | m_clearWeatherChance = m_ClearWeatherChance |
| int | m_lastWeather = m_LastWeather |
| int | m_sameWeatherCnt = m_SameWeatherCnt |
| int | m_stepValue = m_StepValue |
| const int | OVERCAST_MAX_TIME = 900 |
| const int | OVERCAST_MIN_TIME = 600 |
| DEPRECATED (see WorldDataWeatherSettings). | |
| const float | RAIN_THRESHOLD = 0.6 |
| const int | RAIN_TIME_MAX = 120 |
| const int | RAIN_TIME_MIN = 60 |
| const float | STORM_THRESHOLD = 0.85 |
Static Protected Attributes | |
| static const ref array< vector > | LIVONIA_ARTY_STRIKE_POS |
|
inlineprotected |
Definition at line 553 of file enoch.c.
References Math::Clamp(), g_Game, Math::Lerp(), WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, Math::RandomInt(), and Math::RandomIntInclusive().
Referenced by Init(), and WeatherOnBeforeChange().
|
inlineprotected |
Definition at line 484 of file enoch.c.
References WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, Math::RandomFloatInclusive(), and Math::RandomIntInclusive().
Referenced by WeatherOnBeforeChange().
|
inlineprotected |
Definition at line 36 of file enoch.c.
References CalculateVolFog(), Count, g_Game, CfgGameplayHandler::GetEnvironmentMaxTemps(), CfgGameplayHandler::GetEnvironmentMinTemps(), LIVONIA_ARTY_STRIKE_POS, WorldData::m_CloudsTemperatureEffectModifier, WorldData::m_FiringPos, WorldData::m_MaxTemps, WorldData::m_MinTemps, WorldData::m_Sunrise_Jan, WorldData::m_Sunrise_Jul, WorldData::m_Sunset_Jan, WorldData::m_Sunset_Jul, WorldData::m_TemperaturePerHeightReductionModifier, WorldData::m_UniversalTemperatureSourceCapModifier, WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, WorldData::m_WorldWindCoef, and Math::RandomFloat().
|
inlineprotected |
Definition at line 89 of file enoch.c.
References WorldData::m_YieldBank, and YieldItemJunk().
|
inlineprotected |
Definition at line 126 of file enoch.c.
References LIQUID_CLEANWATER, LIQUID_FRESHWATER, LIQUID_RIVERWATER, LIQUID_SALTWATER, LIQUID_STILLWATER, LIQUID_WATER, and WorldData::m_LiquidSettings.
|
inlineprotected |
Definition at line 117 of file enoch.c.
References WorldData::m_WeatherDefaultSettings.
|
inlineprotected |
Definition at line 138 of file enoch.c.
References CalculateVolFog(), CalculateWind(), CloseFile(), FPrintln(), g_Game, IDC_MAIN_QUIT, WorldData::m_BadWeatherChance, WorldData::m_Chance, WorldData::m_ChoosenWeather, WorldData::m_ClearWeatherChance, WorldData::m_IsSuddenChange, WorldData::m_LastWeather, WorldData::m_SameWeatherCnt, WorldData::m_StepValue, WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, OpenFile(), Math::RandomFloatInclusive(), Math::RandomInt(), Math::RandomIntInclusive(), WorldData::SUDDENCHANGE_LENGTH_MULTIPLIER, WorldData::SUDDENCHANGE_TIME_MULTIPLIER, Debug::WeatherLog(), WorldData::WIND_DIRECTION_TIME_MULTIPLIER, and WorldData::WIND_MAGNITUDE_TIME_MULTIPLIER.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
DEPRECATED (see WorldDataWeatherSettings).