510 data.m_FogInterpolation = 0;
511 data.m_FogDuration = 960;
515 data.m_RainInterpolation = 0;
516 data.m_RainDuration = 960;
520 data.m_OvercastInterpolation = 0;
521 data.m_OvercastDuration = 960;
547 float fog =
GetGame().GetWeather().GetFog().GetActual();
551 float rain =
GetGame().GetWeather().GetRain().GetActual();
override void InitValues()
The class that will be instanced (moddable)
override void Update(float timeslice)
SliderWidget m_OvercastInterpolationTimeSlider
TextWidget m_FogDurationMaxText
EditBoxWidget m_FogValueEditbox
void SendRPC(DebugWeatherRPCData data)
static float m_FogDurationTimeValue
EditBoxWidget m_FogInterpolationEditbox
void UpdateSliderValues()
SliderWidget m_OvercastDurationTimeSlider
TextWidget m_RainValueSetText
TextWidget m_FogInterpolationMaxText
TextWidget m_FogValueSetText
ButtonWidget m_PasteButton
EditBoxWidget m_RainInterpolationEditbox
ButtonWidget m_UpdateButton
EditBoxWidget m_RainValueEditbox
void InitValues(bool forceCurrent=false)
SliderWidget m_OvercastValueGetSlider
EditBoxWidget m_OvercastInterpolationEditbox
SliderWidget m_RainValueSetSlider
EditBoxWidget m_OvercastDurationEditbox
ButtonWidget m_ApplyButton
SliderWidget m_RainDurationTimeSlider
TextWidget m_OvercastValueSetText
void UpdateEditboxValues()
override bool OnChange(Widget w, int x, int y, bool finished)
SliderWidget m_FogInterpolationTimeSlider
SliderWidget m_FogValueGetSlider
TextWidget m_OvercastDurationMaxText
TextWidget m_RainDurationMaxText
override bool OnClick(Widget w, int x, int y, int button)
static float m_OvercastDurationTimeValue
SliderWidget m_OvercastValueSetSlider
TextWidget m_RainInterpolationMaxText
const int INTERPOLATION_MAX
EditBoxWidget m_FogDurationEditbox
static float m_FogInterpolationTimeValue
DebugWeatherRPCData GetRPCDataNormal()
SliderWidget m_FogDurationTimeSlider
SliderWidget m_RainValueGetSlider
SliderWidget m_FogValueSetSlider
ButtonWidget m_CopyButton
DebugWeatherRPCData GetRPCDataImmediate()
void ~ScriptConsoleWeatherTab()
TextWidget m_OvercastInterpolationMaxText
EditBoxWidget m_OvercastValueEditbox
SliderWidget m_RainInterpolationTimeSlider
static float m_OvercastValue
EditBoxWidget m_RainDurationEditbox
void PasteValues(string clipboard)
ButtonWidget m_ResetButton
static float m_RainInterpolationTimeValue
static float m_RainDurationTimeValue
static float m_OvercastInterpolationTimeValue
void ScriptConsoleWeatherTab(Widget root, ScriptConsole console, Widget button, ScriptConsoleTabBase parent=null)
proto native CGame GetGame()
array< string > TStringArray
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
proto native int GetMouseState(MouseState index)