class ChernarusPlusDataSource
ChernarusPlusData › WorldData
All members, including inherited
Constants 10
protected static const ref array<vector> CHERNARUS_ARTY_STRIKE_POS = { "-500.00 165.00 5231.69", "-500.00 300.00 9934.41", "10406.86 192.00 15860.00", "4811.75 370.00 15860.00", "-500.00 453.00 15860.00" }Referenced by Init()
const int CLEAR_WEATHER = 1DEPRECATED (see WorldDataWeatherConstants)
const int CLOUDY_WEATHER = 2const int BAD_WEATHER = 3const int OVERCAST_MIN_TIME = 600DEPRECATED (see WorldDataWeatherSettings)
const int OVERCAST_MAX_TIME = 900const float RAIN_THRESHOLD = 0.6const int RAIN_TIME_MIN = 60const int RAIN_TIME_MAX = 120const float STORM_THRESHOLD = 0.9Members 19
int overcastChangeCount = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int badWeatherCount = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int cloudyWeatherCount = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int clearWeatherCount = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int startYear = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int startMonth = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int startDay = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int startHour = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int startMinute = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int currentDay = 0WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
int daysToRun = 10WEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
bool dayInit = falseWEATHER_DATA_LOGGINGReferenced by WeatherOnBeforeChange()
protected int m_clearWeatherChance = m_ClearWeatherChanceprotected int m_badWeatherChance = m_BadWeatherChanceprotected int m_sameWeatherCnt = m_SameWeatherCntprotected int m_stepValue = m_StepValueprotected int m_chance = m_Chanceprotected int m_choosenWeather = m_ChoosenWeatherprotected int m_lastWeather = m_LastWeatherMethods 6
override void Init()References CalculateVolFog(), array.Count(), array.Count()
Show 29 more
, array.Get(), array.Get(), CfgGameplayHandler.GetEnvironmentMaxTemps(), CfgGameplayHandler.GetEnvironmentMinTemps(), Weather.GetOvercast(), Weather.GetSnowfall(), Weather.GetWindSpeed(), WorldData.Init(), CGame.IsMultiplayer(), CGame.IsServer(), Math.RandomFloat(), WeatherPhenomenon.Set(), Weather.SetDynVolFogHeightBias(), WeatherPhenomenon.SetLimits(), CHERNARUS_ARTY_STRIKE_POS, WorldData.m_CloudsTemperatureEffectModifier, WorldDataWeatherSettings.m_DefaultHeigthBias, 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, and WorldData.m_WorldWindCoefoverride void SetupWeatherSettings()override bool WeatherOnBeforeChange(EWeatherPhenomenon type, float actual, float change, float time)References CalculateVolFog(), CalculateWind(), CloseFile()
Show 69 more
, string.Format(), FPrintln(), WeatherPhenomenon.GetActual(), WeatherPhenomenon.GetActual(), WeatherPhenomenon.GetActual(), World.GetDate(), CGame.GetDayTime(), Weather.GetDynVolFogHeightBias(), Weather.GetFog(), Weather.GetOvercast(), Weather.GetRain(), Weather.GetSnowfall(), Weather.GetWindDirection(), Weather.GetWindMagnitude(), CGame.GetWorld(), OpenFile(), Math.RandomFloatInclusive(), Math.RandomInt(), Math.RandomIntInclusive(), CGame.RequestExit(), WeatherPhenomenon.Set(), WeatherPhenomenon.Set(), WeatherPhenomenon.Set(), WeatherPhenomenon.Set(), WeatherPhenomenon.Set(), Weather.SetDynVolFogHeightBias(), WeatherPhenomenon.SetLimits(), Weather.SetRainThresholds(), Weather.SetStorm(), Weather.SetWindMaximumSpeed(), Debug.WeatherLog(), WorldDataWeatherConstants.BAD_WEATHER, badWeatherCount, WorldDataWeatherConstants.CLEAR_WEATHER, clearWeatherCount, WorldDataWeatherConstants.CLOUDY_WEATHER, cloudyWeatherCount, currentDay, dayInit, daysToRun, WorldData.m_BadWeatherChance, WorldDataWeatherSettings.m_BadWeatherChance, WorldData.m_Chance, WorldData.m_ChoosenWeather, WorldData.m_ClearWeatherChance, WorldDataWeatherSettings.m_ClearWeatherChance, WorldDataWeatherSettings.m_DefaultHeigthBias, WorldData.m_LastWeather, WorldDataWeatherSettings.m_OvercastMaxLength, WorldDataWeatherSettings.m_OvercastMaxTime, WorldDataWeatherSettings.m_OvercastMinLength, WorldDataWeatherSettings.m_OvercastMinTime, WorldDataWeatherSettings.m_RainLengthMax, WorldDataWeatherSettings.m_RainThreshold, WorldDataWeatherSettings.m_RainTimeMax, WorldDataWeatherSettings.m_RainTimeMin, WorldData.m_SameWeatherCnt, WorldData.m_StepValue, WorldDataWeatherSettings.m_StormThreshold, WorldData.m_Weather, WorldData.m_WeatherDefaultSettings, overcastChangeCount, startDay, startHour, startMinute, startMonth, startYear, WorldData.WIND_DIRECTION_TIME_MULTIPLIER, and WorldData.WIND_MAGNITUDE_TIME_MULTIPLIERprotected override void CalculateWind(int newWeather, bool suddenChange, out float magnitude, out float direction)Referenced by WeatherOnBeforeChange()
References Math.Clamp(), World.GetDate(), Weather.GetDynVolFogHeightBias()
Show 11 more
, Weather.GetWindMaximumSpeed(), CGame.GetWorld(), Math.Lerp(), Math.RandomInt(), Math.RandomIntInclusive(), Weather.SetDynVolFogDistanceDensity(), Weather.SetDynVolFogHeightBias(), Weather.SetDynVolFogHeightDensity(), WorldDataWeatherSettings.m_DefaultHeigthBias, WorldData.m_Weather, and WorldData.m_WeatherDefaultSettingsbool LogWeatherData()