Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
EnochData Class Reference
Inheritance diagram for EnochData:
WorldData

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 ()
override void InitYieldBank ()
bool LogWeatherData ()
override void SetupLiquidTemperatures ()
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.85

Static Protected Attributes

static const ref array< vectorLIVONIA_ARTY_STRIKE_POS

Additional Inherited Members

Private Member Functions inherited from WorldData
void WorldData ()
void BaseTempDebug (int month, int day)
float CalcBaseEnvironmentTemperature (float monthday, float daytime)
void CalculateVolFog (float lerpValue, float windMagnitude, float changeTime)
void CalculateWind (int newWeather, bool suddenChange, out float magnitude, out float direction)
float ComputeSnowflakeScale (Weather weather)
 Returns the desired snowflake scale based on weather simulation state.
void CreateYieldBank ()
float GetAgentSpawnChance (eAgents agent)
float GetApproxSunriseTime (float monthday)
float GetApproxSunsetTime (float monthday)
array< vectorGetArtyFiringPos ()
float GetBaseEnvTemperature ()
float GetBaseEnvTemperatureAtObject (notnull Object object)
float GetBaseEnvTemperatureAtPosition (vector pos)
float GetBaseEnvTemperatureExact (int month, int day, int hour, int minute)
CatchYieldBank GetCatchYieldBank ()
float GetColdAreaToolDamageModifier ()
float GetDayTemperature ()
int GetDaytime ()
TStringArray GetDefaultPRAPaths ()
float GetLiquidTypeEnviroTemperature (int liquidType)
float GetNightTemperature ()
int GetPollution ()
float GetTemperature (Object object, EEnvironmentTemperatureComponent properties=EEnvironmentTemperatureComponent.BASE)
 Return actual temperature of environment based on provided parameters.
float GetTemperatureComponentValue (float temperatureIn, EEnvironmentTemperatureComponent properties=0)
 Return value of queried EEnvironmentTemperatureComponent which can be used in future calculation(s).
float GetUniversalTemperatureSourceCapModifier ()
float GetWindCoef ()
void Init ()
void InitYieldBank ()
 override this to properly register world-specific yields
void SetupLiquidTemperatures ()
void SetupWeatherSettings ()
void UpdateBaseEnvTemperature (float timeslice)
void UpdateWeatherEffects (Weather weather, float timeslice)
 Updates local weather effects.
bool WeatherOnBeforeChange (EWeatherPhenomenon type, float actual, float change, float time)
float WindEffectTemperatureValue (float temperatureInput)
Private Attributes inherited from WorldData
int m_BadWeatherChance
 weather related
int m_Chance = 50
int m_ChoosenWeather = 1
int m_ClearWeatherChance
float m_DayTemperature = 10
 DEPRECATED.
ref TStringArray m_DefaultPlayerRestrictedAreas
bool m_EnTempUpdated
float m_EnvironmentTemperature
ref array< vectorm_FiringPos
bool m_IsSuddenChange
int m_LastWeather = 0
ref WorldDataLiquidSettings m_LiquidSettings
float m_MaxTemps [12]
float m_MinTemps [12]
float m_NightTemperature = 6
bool m_Pollution
int m_SameWeatherCnt = 0
int m_StepValue = 5
float m_Sunrise_Jan
float m_Sunrise_Jul
float m_Sunset_Jan
float m_Sunset_Jul
float m_Timer
float m_UniversalTemperatureSourceCapModifier
Weather m_Weather
ref WorldDataWeatherSettings m_WeatherDefaultSettings
float m_WorldWindCoef
ref CatchYieldBank m_YieldBank
float SUDDENCHANGE_LENGTH_MULTIPLIER = 0.4
float SUDDENCHANGE_TIME_MULTIPLIER = 0.2
float WIND_DIRECTION_TIME_MULTIPLIER = 0.05
float WIND_MAGNITUDE_TIME_MULTIPLIER = 0.1

Detailed Description

Definition at line 2 of file enoch.c.

Member Function Documentation

◆ CalculateVolFog()

override void CalculateVolFog ( float lerpValue,
float windMagnitude,
float changeTime )
inlineprotected

◆ CalculateWind()

override void CalculateWind ( int newWeather,
bool suddenChange,
out float magnitude,
out float direction )
inlineprotected

◆ Init()

◆ InitYieldBank()

override void InitYieldBank ( )
inlineprotected

Definition at line 89 of file enoch.c.

References WorldData::m_YieldBank, and YieldItemJunk().

◆ LogWeatherData()

bool LogWeatherData ( )
inlineprotected

Definition at line 606 of file enoch.c.

◆ SetupLiquidTemperatures()

override void SetupLiquidTemperatures ( )
inlineprotected

◆ SetupWeatherSettings()

override void SetupWeatherSettings ( )
inlineprotected

Definition at line 117 of file enoch.c.

References WorldData::m_WeatherDefaultSettings.

◆ WeatherOnBeforeChange()

Field Documentation

◆ BAD_WEATHER

const int BAD_WEATHER = 3
protected

Definition at line 617 of file enoch.c.

◆ CLEAR_WEATHER

const int CLEAR_WEATHER = 1
protected

DEPRECATED (see WorldDataWeatherConstants).

Definition at line 615 of file enoch.c.

◆ CLOUDY_WEATHER

const int CLOUDY_WEATHER = 2
protected

Definition at line 616 of file enoch.c.

◆ LIVONIA_ARTY_STRIKE_POS

const ref array<vector> LIVONIA_ARTY_STRIKE_POS
staticprotected
Initial value:
=
{
"7440.00 417.00 -500.00",
"-500.00 276.00 5473.00",
"-500.00 265.00 9852.00",
"4953.00 240.00 13300.00",
"9620.00 188.00 13300.00",
"13300.00 204.00 10322.00",
"13300.00 288.00 6204.00",
"13300.00 296.00 -500.00"
}

Definition at line 24 of file enoch.c.

Referenced by Init().

◆ m_badWeatherChance

int m_badWeatherChance = m_BadWeatherChance
protected

Definition at line 629 of file enoch.c.

◆ m_chance

int m_chance = m_Chance
protected

Definition at line 633 of file enoch.c.

◆ m_choosenWeather

int m_choosenWeather = m_ChoosenWeather
protected

Definition at line 635 of file enoch.c.

◆ m_clearWeatherChance

int m_clearWeatherChance = m_ClearWeatherChance
protected

Definition at line 628 of file enoch.c.

◆ m_lastWeather

int m_lastWeather = m_LastWeather
protected

Definition at line 636 of file enoch.c.

◆ m_sameWeatherCnt

int m_sameWeatherCnt = m_SameWeatherCnt
protected

Definition at line 631 of file enoch.c.

◆ m_stepValue

int m_stepValue = m_StepValue
protected

Definition at line 632 of file enoch.c.

◆ OVERCAST_MAX_TIME

const int OVERCAST_MAX_TIME = 900
protected

Definition at line 621 of file enoch.c.

◆ OVERCAST_MIN_TIME

const int OVERCAST_MIN_TIME = 600
protected

DEPRECATED (see WorldDataWeatherSettings).

Definition at line 620 of file enoch.c.

◆ RAIN_THRESHOLD

const float RAIN_THRESHOLD = 0.6
protected

Definition at line 623 of file enoch.c.

◆ RAIN_TIME_MAX

const int RAIN_TIME_MAX = 120
protected

Definition at line 625 of file enoch.c.

◆ RAIN_TIME_MIN

const int RAIN_TIME_MIN = 60
protected

Definition at line 624 of file enoch.c.

◆ STORM_THRESHOLD

const float STORM_THRESHOLD = 0.85
protected

Definition at line 626 of file enoch.c.


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/worlds/enoch.c