Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
SpotLightBase Class Reference

Private Member Functions

void AggregateLight ()
void CarLightBase ()
void FlashlightLight ()
void HeadtorchLight ()
void PerformVisibilityCheck (EntityAI owner)
void PistollightLight ()
void SegregateLight ()
void SetColorToRed ()
void SetColorToWhite ()
void SetIntensity (float coef, float time)
void SetIntensity (float coef, float time)
void SetIntensity (float coef, float time)
void SetIntensity (float coef, float time)
void SpotlightLight ()
void UniversallightLight ()
override void UpdateLightMode (string slotName)
override void UpdateLightMode (string slotName)

Private Attributes

float m_AggregatedAngle = 100
float m_AggregatedBrightness = 30
vector m_AggregatedColorRGB = Vector(1.0, 0.8, 0.6)
float m_AggregatedRadius = 100
float m_SegregatedAngle = 90
float m_SegregatedBrightness = 20
vector m_SegregatedColorRGB = Vector(1.0, 0.8, 0.6)
float m_SegregatedRadius = 66

Static Private Attributes

static float m_DefaultAngle = 100
static float m_DefaultBrightness = 4
static float m_DefaultRadius = 25

Detailed Description

Definition at line 1 of file carlightbase.c.

Member Function Documentation

◆ AggregateLight()

void AggregateLight ( )
inlineprivate

◆ CarLightBase()

void CarLightBase ( )
inlineprivate

Definition at line 18 of file carlightbase.c.

◆ FlashlightLight()

void FlashlightLight ( )
inlineprivate

Definition at line 6 of file flashlightlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ HeadtorchLight()

void HeadtorchLight ( )
inlineprivate

Definition at line 6 of file headtorchlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ PerformVisibilityCheck()

void PerformVisibilityCheck ( EntityAI owner)
inlineprivate

Definition at line 38 of file headtorchlight.c.

References IsEnabled(), and SetEnabled().

◆ PistollightLight()

void PistollightLight ( )
inlineprivate

Definition at line 8 of file pistollightlight.c.

References m_DefaultAngle, m_DefaultBrightness, and m_DefaultRadius.

◆ SegregateLight()

void SegregateLight ( )
inlineprivate

◆ SetColorToRed()

void SetColorToRed ( )
inlineprivate

Definition at line 26 of file headtorchlight.c.

◆ SetColorToWhite()

void SetColorToWhite ( )
inlineprivate

Definition at line 20 of file headtorchlight.c.

◆ SetIntensity() [1/4]

void SetIntensity ( float coef,
float time )
inlineprivate

Definition at line 19 of file flashlightlight.c.

References m_DefaultBrightness.

◆ SetIntensity() [2/4]

void SetIntensity ( float coef,
float time )
inlineprivate

Definition at line 32 of file headtorchlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ SetIntensity() [3/4]

void SetIntensity ( float coef,
float time )
inlineprivate

Definition at line 21 of file pistollightlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ SetIntensity() [4/4]

void SetIntensity ( float coef,
float time )
inlineprivate

Definition at line 20 of file universallightlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ SpotlightLight()

void SpotlightLight ( )
inlineprivate

Definition at line 3 of file spotlightlight.c.

◆ UniversallightLight()

void UniversallightLight ( )
inlineprivate

Definition at line 7 of file universallightlight.c.

References m_DefaultAngle, m_DefaultBrightness, and m_DefaultRadius.

◆ UpdateLightMode() [1/2]

override void UpdateLightMode ( string slotName)
inlineprivate

Definition at line 27 of file pistollightlight.c.

References m_DefaultAngle, m_DefaultRadius, and slotName.

◆ UpdateLightMode() [2/2]

override void UpdateLightMode ( string slotName)
inlineprivate

Definition at line 26 of file universallightlight.c.

References m_DefaultAngle, m_DefaultRadius, and slotName.

Field Documentation

◆ m_AggregatedAngle

float m_AggregatedAngle = 100
private

Definition at line 15 of file carlightbase.c.

Referenced by AggregateLight().

◆ m_AggregatedBrightness

float m_AggregatedBrightness = 30
private

Definition at line 13 of file carlightbase.c.

Referenced by AggregateLight().

◆ m_AggregatedColorRGB

vector m_AggregatedColorRGB = Vector(1.0, 0.8, 0.6)
private

Definition at line 16 of file carlightbase.c.

Referenced by AggregateLight().

◆ m_AggregatedRadius

float m_AggregatedRadius = 100
private

Definition at line 14 of file carlightbase.c.

Referenced by AggregateLight().

◆ m_DefaultAngle

float m_DefaultAngle = 100
staticprivate

Definition at line 5 of file pistollightlight.c.

Referenced by PistollightLight(), UniversallightLight(), and UpdateLightMode().

◆ m_DefaultBrightness

float m_DefaultBrightness = 4
staticprivate

◆ m_DefaultRadius

float m_DefaultRadius = 25
staticprivate

◆ m_SegregatedAngle

float m_SegregatedAngle = 90
private

Definition at line 10 of file carlightbase.c.

Referenced by SegregateLight().

◆ m_SegregatedBrightness

float m_SegregatedBrightness = 20
private

Definition at line 8 of file carlightbase.c.

Referenced by SegregateLight().

◆ m_SegregatedColorRGB

vector m_SegregatedColorRGB = Vector(1.0, 0.8, 0.6)
private

Definition at line 11 of file carlightbase.c.

Referenced by SegregateLight().

◆ m_SegregatedRadius

float m_SegregatedRadius = 66
private

Definition at line 9 of file carlightbase.c.

Referenced by SegregateLight().


The documentation for this class was generated from the following files:
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/carlightbase.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/flashlightlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/headtorchlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/pistollightlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/universallightlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/spotlightbase/spotlightlight.c