|
DayZ 1.24
|
Protected Attributes | |
| bool | m_missionWeather |
Private Member Functions | |
| void | Weather () |
| void | ~Weather () |
| proto native float | GetTime () |
| Returns actual time from start of a server (how many seconds elapsed from server start). | |
| proto native Overcast | GetOvercast () |
| Returns an overcast phenomenon object. | |
| proto native Fog | GetFog () |
| Returns a fog phenomenon object. | |
| proto native Rain | GetRain () |
| Returns a rain phenomenon object. | |
| proto native void | SetStorm (float density, float threshold, float timeOut) |
| Sets the thunderstorm properties. | |
| proto native void | SuppressLightningSimulation (bool state) |
| enables/disables thunderbolt simulation on client (together with sounds) | |
| proto native vector | GetWind () |
| Returns wind vector (direction and speed as length of the vector). | |
| proto native void | SetWind (vector wind) |
| Sets the wind vector (direction and speed as length of the vector). | |
| proto native float | GetWindSpeed () |
| Returns actual wind speed in metre per second. | |
| proto native void | SetWindSpeed (float speed) |
| Sets the actual wind speed in metre per second. | |
| proto native float | GetWindMaximumSpeed () |
| Returns maximal wind speed in metre per second. | |
| proto native void | SetWindMaximumSpeed (float maxSpeed) |
| Sets the maximal wind speed in metre per second. | |
| proto void | GetWindFunctionParams (out float fnMin, out float fnMax, out float fnSpeed) |
| Reads function parameters that controls the wind behaviour (change in time). | |
| proto native void | SetWindFunctionParams (float fnMin, float fnMax, float fnSpeed) |
| Sets function parameters that controls the wind behaviour (change in time). | |
| proto native void | SetRainThresholds (float tMin, float tMax, float tTime) |
| Sets overcast threshold values for rain phenomena. | |
| void | MissionWeather (bool use) |
| bool | GetMissionWeather () |
|
inlineprivate |
Returns a fog phenomenon object.
Referenced by DayZIntroScene::DayZIntroScene(), and DayZIntroSceneXbox::DayZIntroSceneXbox().
|
inlineprivate |
Definition at line 245 of file Weather.c.
References m_missionWeather.
Returns an overcast phenomenon object.
Referenced by DayZIntroScene::DayZIntroScene(), and DayZIntroSceneXbox::DayZIntroSceneXbox().
Returns a rain phenomenon object.
Referenced by DayZIntroScene::DayZIntroScene(), and DayZIntroSceneXbox::DayZIntroSceneXbox().
Returns actual time from start of a server (how many seconds elapsed from server start).
Returns wind vector (direction and speed as length of the vector).
|
private |
Reads function parameters that controls the wind behaviour (change in time).
| fnMin | Function relative minimum (in range <0, 1>). |
| fnMax | Function relative maximum (in range <0, 1>). |
| fnSpeed | Controls speed of change of function value. |
Returns maximal wind speed in metre per second.
Returns actual wind speed in metre per second.
Definition at line 240 of file Weather.c.
References m_missionWeather.
Sets overcast threshold values for rain phenomena.
Rain can start only if actual overcast value is in given range of <tMin, tMax>. If it's already raining and actual overcast value gets out of given range then rain will stop in given tTime seconds.
Default values are: tMin = 0.6 tMax = 1 tTime = 30
| tMin | Minimal overcast value (in range <0, 1>). |
| tMax | Maximal overcast value (in range <0, 1>). |
| tTime | Time in seconds when it stops raining. |
Sets the thunderstorm properties.
| density | A value in <0, 1> range where 0 means no thunderstorms at all and 1 means thunderstorm every time it gets cloudy. |
| threshold | The overcast value that must be exceeded so that lightning can appear. |
| timeOut | A minimal time in seconds between lightning during thunderstorm. |
Referenced by DayZIntroScene::DayZIntroScene().
Sets the wind vector (direction and speed as length of the vector).
|
private |
Sets function parameters that controls the wind behaviour (change in time).
| fnMin | Function relative minimum (in range <0, 1>). |
| fnMax | Function relative maximum (in range <0, 1>). |
| fnSpeed | Controls speed of change of function value. |
Referenced by DayZIntroScene::DayZIntroScene().
Sets the maximal wind speed in metre per second.
Referenced by DayZIntroScene::DayZIntroScene().
Sets the actual wind speed in metre per second.
Referenced by DayZIntroScene::DayZIntroScene().
enables/disables thunderbolt simulation on client (together with sounds)
|
protected |
Definition at line 152 of file Weather.c.
Referenced by GetMissionWeather(), MissionWeather(), and Weather().