![]() |
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 () |
| bool | LogWeatherData () |
| 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.9 |
Static Protected Attributes | |
| static const ref array< vector > | CHERNARUS_ARTY_STRIKE_POS |
Definition at line 2 of file chernarusplus.c.
|
inlineprotected |
Definition at line 468 of file chernarusplus.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 399 of file chernarusplus.c.
References WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, Math::RandomFloatInclusive(), and Math::RandomIntInclusive().
Referenced by WeatherOnBeforeChange().
|
inlineprotected |
Definition at line 31 of file chernarusplus.c.
References CalculateVolFog(), CHERNARUS_ARTY_STRIKE_POS, Count, g_Game, CfgGameplayHandler::GetEnvironmentMaxTemps(), CfgGameplayHandler::GetEnvironmentMinTemps(), 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 517 of file chernarusplus.c.
|
inlineprotected |
Definition at line 82 of file chernarusplus.c.
References WorldData::m_WeatherDefaultSettings.
|
inlineprotected |
Definition at line 92 of file chernarusplus.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_LastWeather, WorldData::m_SameWeatherCnt, WorldData::m_StepValue, WorldData::m_Weather, WorldData::m_WeatherDefaultSettings, OpenFile(), Math::RandomFloatInclusive(), Math::RandomInt(), Math::RandomIntInclusive(), Debug::WeatherLog(), WorldData::WIND_DIRECTION_TIME_MULTIPLIER, and WorldData::WIND_MAGNITUDE_TIME_MULTIPLIER.
|
protected |
Definition at line 528 of file chernarusplus.c.
Definition at line 22 of file chernarusplus.c.
Referenced by Init().
|
protected |
DEPRECATED (see WorldDataWeatherConstants).
Definition at line 526 of file chernarusplus.c.
|
protected |
Definition at line 527 of file chernarusplus.c.
|
protected |
Definition at line 540 of file chernarusplus.c.
Definition at line 544 of file chernarusplus.c.
|
protected |
Definition at line 546 of file chernarusplus.c.
|
protected |
Definition at line 539 of file chernarusplus.c.
|
protected |
Definition at line 547 of file chernarusplus.c.
|
protected |
Definition at line 542 of file chernarusplus.c.
|
protected |
Definition at line 543 of file chernarusplus.c.
|
protected |
Definition at line 532 of file chernarusplus.c.
|
protected |
DEPRECATED (see WorldDataWeatherSettings).
Definition at line 531 of file chernarusplus.c.
|
protected |
Definition at line 534 of file chernarusplus.c.
|
protected |
Definition at line 536 of file chernarusplus.c.
|
protected |
Definition at line 535 of file chernarusplus.c.
|
protected |
Definition at line 537 of file chernarusplus.c.