class UndergroundHandlerClientSource
UndergroundBunkerHandlerClient › UndergroundHandlerClient
Constructors 2
void UndergroundHandlerClient(PlayerBase player)References Class.Cast(), PPERequesterBank.GetRequester(), CGame.GetWorld()
Show 5 more
, World.LoadUserLightingCfg(), m_NVRequester, m_Player, PPERequesterBank.REQ_CAMERANV, and UNDERGROUND_LIGHTINGReferenced by PlayerBase.GetUndergroundHandler()
void ~UndergroundHandlerClient()Constants 8
const float LIGHT_BLEND_SPEED_IN = 5const float LIGHT_BLEND_SPEED_OUT = 1.75const float MAX_RATIO = 0.9how much max ratio between 0..1 can a single breadcrumb occupy
Referenced by CalculateBreadCrumbs()
const float RATIO_CUTOFF = 0what's the minimum ratio a breadcrumb needs to have to be considered when calculatiing accommodation
Referenced by CalculateBreadCrumbs()
const float DISTANCE_CUTOFF = 5we ignore breadcrumbs further than this distance
Referenced by CalculateBreadCrumbs()
const float ACCO_MODIFIER = 1when we calculate eye accommodation between 0..1 based on the breadcrumbs values and distances, we multiply the result by this modifier to get the final eye accommodation value
const float DEFAULT_INTERPOLATION_SPEED = 7Referenced by OnTriggerInsiderUpdate()
const string UNDERGROUND_LIGHTING = "dz\\data\\lighting\\lighting_underground.txt"Referenced by UndergroundHandlerClient()
Members 14
protected ref AnimationTimer m_AnimTimerLightBlendReferenced by CalculateLinePointFade(), OnUndergroundPresenceUpdate(), OnUpdateTimerIn()
Show 1 more
, OnUpdateTimerOut()protected PlayerBase m_PlayerReferenced by CalculateBreadCrumbs(), CalculateEyeAcco(), CalculateLinePointFade()
Show 6 more
, PlayAmbientSound(), ProcessEyeAcco(), SetUndergroundPresence(), StopAmbientSound(), Tick(), and UndergroundHandlerClient()protected PPERUndergroundAcco m_RequesterReferenced by GetRequester()
protected PPERequester_CameraNV m_NVRequesterprotected ref set<UndergroundTrigger> m_InsideTriggers = new set<UndergroundTrigger>()protected float m_EyeAccoTarget = 1Referenced by CalculateBreadCrumbs(), CalculateEyeAcco(), CalculateLinePointFade()
Show 1 more
, OnTriggerInsiderUpdate()protected float m_AccoInterpolationSpeedprotected float m_EyeAcco = 1protected float m_LightingLerpTargetprotected float m_LightingLerpReferenced by ApplyEyeAcco(), CalculateBreadCrumbs(), CalculateLinePointFade()
Show 5 more
, OnUndergroundPresenceUpdate(), OnUpdateTimerIn(), OnUpdateTimerOut(), ProcessLighting(), and Tick()protected string m_AmbientControlleractive sound controlelr for ambient
protected EffectSound m_AmbientSoundReferenced by ~UndergroundHandlerClient(), PlayAmbientSound(), ProcessSound()
Show 1 more
, StopAmbientSound()protected UndergroundTrigger m_BestTriggerReferenced by OnTriggerInsiderUpdate(), OnUndergroundPresenceUpdate(), PlayAmbientSound()
Show 1 more
, ProcessSound()protected UndergroundTrigger m_TransitionalTriggerReferenced by CalculateBreadCrumbs(), CalculateEyeAcco(), CalculateEyeAccoTarget()
Show 3 more
, CalculateLinePointFade(), OnTriggerInsiderUpdate(), and ProcessSound()Methods 23
protected PPERUndergroundAcco GetRequester()References Class.Cast(), PPERequesterBank.GetRequester(), PPERequesterBase.Start()
Show 2 more
, m_Requester, and PPERequesterBank.REQ_UNDERGROUNDvoid OnTriggerEnter(UndergroundTrigger trigger)Referenced by UndergroundTrigger.OnEnterClientEvent()
void OnTriggerLeave(UndergroundTrigger trigger)Referenced by UndergroundTrigger.OnLeaveClientEvent()
protected void CalculateEyeAccoTarget()References CalculateBreadCrumbs(), CalculateLinePointFade(), array.Count()
Show 2 more
, UndergroundTrigger.m_Data, and m_TransitionalTriggerReferenced by ProcessEyeAcco()
protected void CalculateBreadCrumbs()References ARGB(), new BreadcrumbDoorStateController(), Class.Cast()
Show 31 more
, Math.Clamp(), vector.Distance(), Debug.DrawLine(), Debug.DrawSphere(), Easing.EaseInOutQuint(), Easing.EaseInQuint(), Entity.GetAnimationPhase(), DiagMenu.GetBool(), MiscGameplayFunctions.GetHeadBonePos(), CGame.GetPlayer(), GetPosition(), Object.GetPosition(), Object.GetPosition(), JsonUndergroundAreaBreadcrumb.GetPosition(), UndergroundTrigger.GetTriggerParentObject(), array.Insert(), array.Insert(), DayZPhysics.RayCastBullet(), Math.Remap(), ACCO_MODIFIER, DISTANCE_CUTOFF, UndergroundTrigger.m_Data, m_EyeAccoTarget, m_LightingLerp, m_LightingLerpTarget, m_Player, m_TransitionalTrigger, float.MAX, MAX_RATIO, RATIO_CUTOFF, and BreadcrumbDoorStateController.SelectionNameReferenced by CalculateEyeAccoTarget()
protected void CalculateLinePointFade()References new AnimationTimer(), DbgUI.Begin(), array.Count()
Show 29 more
, vector.DistanceSq(), Debug.DrawLine(), Debug.DrawSphere(), DbgUI.End(), array.Find(), DiagMenu.GetBool(), MiscGameplayFunctions.GetHeadBonePos(), JsonUndergroundAreaBreadcrumb.GetPosition(), Object.GetPosition(), JsonUndergroundAreaBreadcrumb.GetPosition(), JsonUndergroundAreaBreadcrumb.GetPosition(), JsonUndergroundAreaBreadcrumb.GetPosition(), AnimationTimer.IsRunning(), Math.Lerp(), AnimationTimer.Run(), String(), DbgUI.Text(), ACCO_MODIFIER, JsonUndergroundAreaBreadcrumb.EyeAccommodation, LIGHT_BLEND_SPEED_IN, LIGHT_BLEND_SPEED_OUT, JsonUndergroundAreaBreadcrumb.LightLerp, m_AnimTimerLightBlend, UndergroundTrigger.m_Data, m_EyeAccoTarget, m_LightingLerp, m_LightingLerpTarget, m_Player, and m_TransitionalTriggerReferenced by CalculateEyeAccoTarget()
protected void ProcessEyeAcco(float timeSlice)Referenced by Tick()
protected void ProcessLighting(float timeSlice)References DiagMenu.GetBool(), CGame.GetWorld(), World.SetUserLightingLerp()
Show 1 more
, m_LightingLerpReferenced by Tick()
protected void ProcessSound(float timeSlice)Referenced by Tick()
void Tick(float timeSlice)References DisplayDebugInfo(), DiagMenu.GetBool(), World.GetEyeAccom()
Show 7 more
, CGame.GetWorld(), Object.IsAlive(), ProcessEyeAcco(), ProcessLighting(), ProcessSound(), m_LightingLerp, and m_PlayerReferenced by PlayerBase.EOnFrame()
protected void ApplyEyeAcco()Referenced by ProcessEyeAcco()
protected void UpdateNVGRequester(float value)References Math.AbsFloat(), m_AccoInterpolationSpeed, m_EyeAcco
Show 4 more
, m_EyeAccoTarget, m_Player, m_TransitionalTrigger, and PlayerBase.m_UndergroundPresenceReferenced by ProcessEyeAcco()
protected void OnTriggerInsiderUpdate()protected void SetUndergroundPresence(UndergroundTrigger trigger)References OnUndergroundPresenceUpdate(), PlayerBase.SetUnderground(), m_Player
Show 2 more
, UndergroundTrigger.m_Type, and PlayerBase.m_UndergroundPresenceReferenced by OnTriggerInsiderUpdate()
protected void EnableLights(bool enable)References EntityLightSource.SetVisibleDuringDaylight(), and ScriptedLightBase.m_NightTimeOnlyLights
Referenced by OnUndergroundPresenceUpdate()
void OnUpdateTimerEnd()void OnUpdateTimerIn()References Easing.EaseInQuint(), AnimationTimer.GetValue(), m_AnimTimerLightBlend
Show 1 more
, m_LightingLerpvoid OnUpdateTimerOut()References Easing.EaseOutCubic(), AnimationTimer.GetValue(), m_AnimTimerLightBlend
Show 1 more
, m_LightingLerpprotected void PlayAmbientSound()References EffectSound.GetSoundSet(), Object.PlaySoundSetLoop(), SetSoundControllerOverride()
Show 7 more
, StopAmbientSound(), string.Empty, m_AmbientController, m_AmbientSound, m_BestTrigger, UndergroundTrigger.m_Data, and m_PlayerReferenced by OnUndergroundPresenceUpdate()
protected void StopAmbientSound()References SetSoundControllerOverride(), Object.StopSoundSet(), string.Empty
Show 3 more
, m_AmbientController, m_AmbientSound, and m_Playerprotected void OnUndergroundPresenceUpdate(EUndergroundPresence newPresence, EUndergroundPresence oldPresence)Referenced by SetUndergroundPresence()
protected void DisplayDebugInfo(float acco, float lighting)DIAG_DEVELOPERReferences DbgUI.Begin(), DbgUI.End(), String()
Show 3 more
, DbgUI.Text(), float.ToString(), and float.ToString()Referenced by Tick()