class DustEffectManager
Constructors 1
void DustEffectManager()Referenced by GetDustEffectManager()
Constants 10
protected const float CLOUD_EFFECT_ORIGIN_HEIGHT = 1.5Referenced by CalculateCloudEffectPosRot()
protected const float CLOUD_EFFECT_SPEED_ADJUSTMENT = 3.5Referenced by CalculateCloudEffectPosRot()
protected const float GROUND_EFFECT_SPEED_COEFICIENT = 20protected const float GROUND_EFFECT_SPEED_ADJUSTMENT = 3Referenced by GetGroundEffectPotentialPosition()
protected const float GROUND_EFFECT_END_TEST_DISTANCE = 3Referenced by CreateGroundEffect()
protected const float GROUND_EFFECT_WIND_BIAS_SPREAD_SCALE = 0.6Referenced by ComputeWindBiasedValue()
protected const float GROUND_EFFECT_WIND_BIAS_VARIATION_RANGE = 0.4Referenced by ComputeWindBiasedValue()
const float BASE_FREQUENCY = 500const float CLOUD_BASE_FREQUENCY = 10const float CLOUD_BASE_DURATION = 20Members 33
protected static ref DustEffectManager m_Instance = NULLReferenced by GetDustEffectManager()
PlayerBase m_Playerprotected bool m_EnableCloudEffectReferenced by InitCloudEffect(), IsCloudEffectEnable(), SetCloudEffectEnable()
Show 1 more
, Update()protected int m_CloudEffectIdReferenced by CreateCloudEffect(), InitCloudEffect(), StopCloudEffect()
Show 1 more
, UpdateActiveCloudEffect()protected float m_CloudEffectBaseDistanceprotected float m_CloudEffectCooldownprotected float m_CloudEffectCooldownMinReferenced by ComputeCloudEffectCooldown(), GetCloudEffectCooldownMin(), and SetCloudEffectCooldownMin()
protected float m_CloudEffectCooldownMaxprotected float m_CloudEffectThresholdprotected float m_CloudEffectDurationMinReferenced by ComputeCloudEffectDuration(), GetCloudEffectDurationMin(), and SetCloudEffectDurationMin()
protected float m_CloudEffectDurationMaxprotected float m_CloudEffectDurationprotected bool m_CloudEffectReadFromSurfaceReferenced by CreateCloudEffect(), InitCloudEffect(), IsCloudEffectReadFromSurfaceEnable()
Show 1 more
, SetCloudEffectReadFromSurfaceEnable()protected bool m_EnableGroundEffectReferenced by InitGroundEffect(), IsGroundEffectEnable(), SetGroundEffectEnable()
Show 1 more
, Update()protected float m_GroundEffectRadiusReferenced by GetGroundEffectPotentialPosition(), GetGroundEffectRadius(), and SetGroundEffectRadius()
protected float m_GroundEffectThresholdprotected float m_GroundEffectIntensityprotected float m_TimeFromLastGroundEffectprotected float m_GroundEffectWindWeightprotected bool m_GroundEffectReadFromSurfaceprotected bool m_GroundEffectTestEndPointprotected float m_GroundEffectLifetimeMinReferenced by CreateGroundEffect(), GetGroundEffectLifetimeMin(), InitGroundEffect()
Show 1 more
, SetGroundEffectLifetimeRange()protected float m_GroundEffectLifetimeMaxReferenced by CreateGroundEffect(), GetGroundEffectLifetimeMax(), InitGroundEffect()
Show 1 more
, SetGroundEffectLifetimeRange()protected float m_GroundEffectSizeMinReferenced by CreateGroundEffect(), GetGroundEffectSizeMin(), InitGroundEffect()
Show 1 more
, SetGroundEffectSizeRange()protected float m_GroundEffectSizeMaxReferenced by CreateGroundEffect(), GetGroundEffectSizeMax(), InitGroundEffect()
Show 1 more
, SetGroundEffectSizeRange()protected bool m_EnableCeilingDustEffect = true'on' by default
particleID, effect type>
float m_Intensityfloat m_TimeFromLastEffectfloat m_ActualGroundEffectPeriodprotected float m_TimeEffectCloudprotected float m_ActualDurationCloudprotected bool m_ActiveCloudEffectReferenced by CreateCloudEffect(), InitCloudEffect(), StopCloudEffect()
Show 1 more
, UpdateCloudEffect()Methods 60
static DustEffectManager GetDustEffectManager()Referenced by CeilingDustEffectBase.Start(), DustEffectCeilingHandlerLocal.CreateEffects(), PlayerBase.CommandHandler()
Show 16 more
, PlayerBase.OnSelectPlayer(), PluginDiagMenu.RegisterDeveloperDiags(), PluginDiagMenuClient.CBDECloudCooldown(), PluginDiagMenuClient.CBDECloudDistance(), PluginDiagMenuClient.CBDECloudDuration(), PluginDiagMenuClient.CBDECloudEnable(), PluginDiagMenuClient.CBDECloudFromSurfaceEnable(), PluginDiagMenuClient.CBDECloudThreshold(), PluginDiagMenuClient.CBDEGroundEnable(), PluginDiagMenuClient.CBDEGroundFromSurfaceEnable(), PluginDiagMenuClient.CBDEGroundIntensity(), PluginDiagMenuClient.CBDEGroundLifetimeRange(), PluginDiagMenuClient.CBDEGroundRadius(), PluginDiagMenuClient.CBDEGroundSizeRange(), PluginDiagMenuClient.CBDEGroundThreshold(), and PluginDiagMenuClient.CBDEWindWeight()void Init(PlayerBase player)Referenced by PlayerBase.OnSelectPlayer()
void InitGroundEffect(DustEffectsSettings dustEffectsSettings)References SetGroundEffectEndPointTest(), SetGroundEffectIntensity(), SetGroundEffectRadius()
Show 18 more
, SetGroundEffectThreshold(), SetGroundEffectWindWeight(), m_EnableGroundEffect, DustEffectsSettings.m_GroundEffectDistance, DustEffectsSettings.m_GroundEffectEndPoindTest, DustEffectsSettings.m_GroundEffectFrequency, m_GroundEffectLifetimeMax, DustEffectsSettings.m_GroundEffectLifetimeMax, m_GroundEffectLifetimeMin, DustEffectsSettings.m_GroundEffectLifetimeMin, DustEffectsSettings.m_GroundEffectMinWindStrength, m_GroundEffectReadFromSurface, m_GroundEffectSizeMax, DustEffectsSettings.m_GroundEffectSizeMax, m_GroundEffectSizeMin, DustEffectsSettings.m_GroundEffectSizeMin, DustEffectsSettings.m_GroundEffectWindWeight, and m_TimeFromLastGroundEffectReferenced by Init()
void InitCloudEffect(DustEffectsSettings dustEffectsSettings)References SetCloudEffectCooldown(), SetCloudEffectCooldownMax(), SetCloudEffectCooldownMin()
Show 18 more
, SetCloudEffectDistance(), SetCloudEffectDuration(), SetCloudEffectDurationMax(), SetCloudEffectDurationMin(), SetCloudEffectReadFromSurfaceEnable(), SetCloudEffectThreshold(), m_ActiveCloudEffect, DustEffectsSettings.m_CloudEffectCooldownMax, DustEffectsSettings.m_CloudEffectCooldownMin, DustEffectsSettings.m_CloudEffectDistance, DustEffectsSettings.m_CloudEffectDurationMax, DustEffectsSettings.m_CloudEffectDurationMin, DustEffectsSettings.m_CloudEffectFromSurface, m_CloudEffectId, DustEffectsSettings.m_CloudEffectMinWindStrength, m_CloudEffectReadFromSurface, m_EnableCloudEffect, and m_TimeEffectCloudReferenced by Init()
protected void InitCeilingEffect()Referenced by Init()
Referenced by InitCeilingEffect()
void Update(float deltaT)Referenced by PlayerBase.CommandHandler()
References CreateGroundEffect(), m_ActualGroundEffectPeriod, m_GroundEffectThreshold
Show 2 more
, m_GroundEffectWindWeight, and m_TimeFromLastGroundEffectReferenced by Update()
Referenced by Update()
void UpdateActiveCloudEffect()References CalculateCloudEffectPosRot(), SEffectManager.GetEffectByID(), SEffectManager.IsEffectExist()
Show 3 more
, Effect.SetAttachedLocalOri(), Effect.SetLocalPosition(), and m_CloudEffectIdReferenced by UpdateCloudEffect()
protected void CreateGroundEffect()References Math.Atan2(), ComputeWindBiasedValue(), vector.Dot()
Show 26 more
, GetGame(), SurfaceInfo.GetGroundEffectParticleId(), GetGroundEffectPotentialPosition(), ParticleManager.GetInstance(), GetParticleParm(), CGame.GetSurfaceInfoOn(), SurfaceInfo.GetSurfaceType(), SurfaceInfo.GetSurfaceType(), CGame.GetWeather(), Weather.GetWind(), vector.Normalize(), ParticleManager.PlayInWorldEx(), Object.SetOrientation(), SetParticleParm(), CGame.SurfaceGetNormal(), CGame.SurfaceY(), vector.VectorToYaw(), GROUND_EFFECT_END_TEST_DISTANCE, ParticleList.INVALID, m_GroundEffectLifetimeMax, m_GroundEffectLifetimeMin, m_GroundEffectSizeMax, m_GroundEffectSizeMin, m_GroundEffectTestEndPoint, ParticleList.NONE, and Math.RAD2DEGReferenced by UpdateGroundEffect()
protected vector GetGroundEffectPotentialPosition()Referenced by CreateGroundEffect()
protected vector GetPlayerSpeed()References Human.GetCommand_Vehicle(), Object.GetSpeed(), HumanCommandVehicle.GetTransport()
Show 3 more
, DayZPlayerImplement.IsInVehicle(), Human.PhysicsGetVelocity(), and m_Playerprotected bool CreateCloudEffect()Referenced by UpdateCloudEffect()
void StopCloudEffect()References SEffectManager.IsEffectExist(), SEffectManager.Stop(), m_ActiveCloudEffect
Show 1 more
, m_CloudEffectIdvoid SetCloudEffectEnable(bool enable)bool IsCloudEffectEnable()References m_EnableCloudEffect
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectEnable(bool enable)bool IsGroundEffectEnable()References m_EnableGroundEffect
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetCloudEffectThreshold(float threshold)float GetCloudEffectThreshold()References m_CloudEffectThreshold
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetCloudEffectDistance(float distance)float GetCloudEffectDistance()References m_CloudEffectBaseDistance
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
float GetCloudEffectCooldownMin()References m_CloudEffectCooldownMin
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetCloudEffectCooldownMin(float cooldown)References m_CloudEffectCooldownMin
void SetCloudEffectCooldownMax(float cooldown)References m_CloudEffectCooldownMax
void SetCloudEffectCooldown(float cooldown)References m_CloudEffectCooldown
float GetCloudEffectCooldown()References m_CloudEffectCooldown
float ComputeCloudEffectCooldown()Referenced by UpdateCloudEffect()
float GetCloudEffectDurationMin()References m_CloudEffectDurationMin
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetCloudEffectDurationMin(float duration)References m_CloudEffectDurationMin
void SetCloudEffectDurationMax(float duration)References m_CloudEffectDurationMax
void SetCloudEffectDuration(float duration)References m_CloudEffectDuration
float GetCloudEffectDuration()References m_CloudEffectDuration
float ComputeCloudEffectDuration()Referenced by UpdateCloudEffect()
void SetCloudEffectReadFromSurfaceEnable(bool enable)bool IsCloudEffectReadFromSurfaceEnable()References m_CloudEffectReadFromSurface
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectThreshold(float threshold)float GetGroundEffectThreshold()References m_GroundEffectThreshold
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectIntensity(float intensity)References Math.ModFloat(), Math.Pow(), DiagMenu.SetRangeValue()
Show 2 more
, m_ActualGroundEffectPeriod, and m_GroundEffectIntensityfloat GetGroundEffectIntensity()References m_GroundEffectIntensity
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectRadius(float radius)float GetGroundEffectRadius()References m_GroundEffectRadius
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectWindWeight(float windWeight)void SetGroundEffectEndPointTest(bool endPointtest)References m_GroundEffectTestEndPoint
Referenced by InitGroundEffect()
float GetGroundEffectWindWeight()References m_GroundEffectWindWeight
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
void SetGroundEffectReadFromSurfaceEnable(bool enable)Referenced by PluginDiagMenuClient.CBDEGroundFromSurfaceEnable()
bool IsGroundEffectReadFromSurfaceEnable()References m_GroundEffectReadFromSurface
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
References Math.Clamp(), Math.RandomFloat(), GROUND_EFFECT_SPEED_COEFICIENT
Show 2 more
, GROUND_EFFECT_WIND_BIAS_SPREAD_SCALE, and GROUND_EFFECT_WIND_BIAS_VARIATION_RANGEReferenced by CreateGroundEffect()
Referenced by PluginDiagMenuClient.CBDEGroundLifetimeRange()
float GetGroundEffectLifetimeMin()References m_GroundEffectLifetimeMin
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
float GetGroundEffectLifetimeMax()References m_GroundEffectLifetimeMax
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
Referenced by PluginDiagMenuClient.CBDEGroundSizeRange()
float GetGroundEffectSizeMin()References m_GroundEffectSizeMin
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
float GetGroundEffectSizeMax()References m_GroundEffectSizeMax
Referenced by PluginDiagMenu.RegisterDeveloperDiags()
static void AdjustCeilingDustEffectFrequency(string surfaceType, int particleID, inout int min, inout int max)optional adjustment of frequency by particleID
References ParticleList.CEILING_WOOD
Referenced by DustEffectCeilingHandlerBase.CalculateNextEffect()
Returns effect type paired to the particleID
int IsCeilingDustEffectEnabled()References m_EnableCeilingDustEffect
void SetCeilingDustEffectEnable(bool enable)References m_EnableCeilingDustEffect