32 {
33 super.Init();
34
35
40
41 int tempIdx;
42 m_MinTemps = {-3,-2,0,4,9,14,18,17,13,11,9,0};
43 if (CfgGameplayHandler.GetEnvironmentMinTemps() && CfgGameplayHandler.GetEnvironmentMinTemps().Count() == 12)
44 {
45 for (tempIdx = 0; tempIdx < CfgGameplayHandler.GetEnvironmentMinTemps().
Count(); tempIdx++)
46 {
47 m_MinTemps[tempIdx] = CfgGameplayHandler.GetEnvironmentMinTemps().Get(tempIdx);
48 }
49 }
50
51 m_MaxTemps = {3,5,7,14,19,24,26,25,18,14,10,5};
52 if (CfgGameplayHandler.GetEnvironmentMaxTemps() && CfgGameplayHandler.GetEnvironmentMaxTemps().Count() == 12)
53 {
54 for (tempIdx = 0; tempIdx < CfgGameplayHandler.GetEnvironmentMaxTemps().
Count(); tempIdx++)
55 {
56 m_MaxTemps[tempIdx] = CfgGameplayHandler.GetEnvironmentMaxTemps().Get(tempIdx);
57 }
58 }
59
61
65
67
69 {
71
73 {
74 float startingOvercast = Math.RandomFloat(0.2,0.75);
75 m_Weather.GetOvercast().Set(startingOvercast,0,5);
77 }
78 }
79 }
ref WorldDataWeatherSettings m_WeatherDefaultSettings
static const ref array< vector > CHERNARUS_ARTY_STRIKE_POS
ref array< vector > m_FiringPos
float m_TemperaturePerHeightReductionModifier
directly accesible (defined/overriden in Init())
float m_CloudsTemperatureEffectModifier
amount of °C reduced for each 100 meteres of height above water level
void CalculateVolFog(float lerpValue, float windMagnitude, float changeTime)
float m_UniversalTemperatureSourceCapModifier
proto native CGame GetGame()