Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
PointLightBase Class Reference
Inheritance diagram for PointLightBase:
AnniversaryMainLight BlowtorchLight ExplosionLight ExplosiveLight ShellLight

Protected Member Functions

void BuoyLight ()
void EntranceLight ()
override void EOnFrame (IEntity other, float timeSlice)
void Roadblock_Light ()

Protected Attributes

const int BASE_BRIGTHNESS = 5
const string LIGHT_MAT_OFF = "DZ\\structures_sakhal\\industrial\\harbour\\data\\Buoy_01_glass.rvmat"
float m_DefaultBrightness = 5.5
float m_DefaultRadius = 20
bool m_IsOn

Private Member Functions

void ~WarheadStorageLight ()
void AnniversaryBoxLight ()
void BonfireLight ()
void BrightnessTestLight ()
void ChemlightLight ()
override void EOnFrame (IEntity other, float timeSlice)
void FireplaceLight ()
void FlareLight ()
void GoatLight ()
void MuzzleFlashLight ()
void MuzzleFlashLight_2 ()
override void OnFrameLightSource (IEntity other, float timeSlice)
override void OnFrameLightSource (IEntity other, float timeSlice)
override void OnFrameLightSource (IEntity other, float timeSlice)
override void OnFrameLightSource (IEntity other, float timeSlice)
override void OnFrameLightSource (IEntity other, float timeSlice)
override void OnFrameLightSource (IEntity other, float timeSlice)
void PartyLight ()
void PersonalLight ()
void PortableGasLampLight ()
void RoadflareLight ()
void SetColorToBlue ()
void SetColorToGreen ()
void SetColorToRed ()
void SetColorToWhite ()
void SetColorToYellow ()
void SetExteriorMode ()
void SetIntensity (float coef, float time)
void SetInteriorMode ()
void StoveLight ()
void TirePileLight ()
void TorchLight ()
void WarheadStorageLight ()
void XmasSleighLight ()
void XmasTreeLight ()
void ZombieMummyLight ()

Private Attributes

const string LIGHT_MAT_DIM = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_dim_int.rvmat"
const string LIGHT_MAT_ON = "DZ\\structures_sakhal\\industrial\\harbour\\data\\Buoy_01_glass_e.rvmat"
Land_WarheadStorage_Main m_Bunker
bool m_IsDimmed
bool m_IsLowEnergyDim
float m_Timer = 0

Static Private Attributes

static float m_DefaultBrightness = 1.5
static float m_DefaultRadius = 7.5
static float m_FireBrightness = 15.0
static float m_FireplaceBrightness = 4.75
static float m_FireplaceRadius = 25
static float m_FireRadius = 40
static float m_FlareBrightness = 10.0
static float m_FlareRadius = 100
static float m_Lifetime = 0.04
static string m_MemoryPoint = "bonfire_fire"
static float m_RoadflareBrightness = 8.5
static float m_RoadflareRadius = 30
static float m_TorchBrightness = 5.0
static float m_TorchRadius = 15

Detailed Description

Definition at line 27 of file staticobj_roadblock_wood_small.c.

Constructor & Destructor Documentation

◆ ~WarheadStorageLight()

void ~WarheadStorageLight ( )
inlineprivate

Definition at line 42 of file warheadstoragelight.c.

References LIGHT_MAT_OFF.

Member Function Documentation

◆ AnniversaryBoxLight()

void AnniversaryBoxLight ( )
inlineprivate

Definition at line 3 of file anniversaryboxlight.c.

◆ BonfireLight()

void BonfireLight ( )
inlineprivate

Definition at line 7 of file bonfirelight.c.

References m_FireBrightness, and m_FireRadius.

◆ BrightnessTestLight()

void BrightnessTestLight ( )
inlineprivate

Definition at line 7 of file brightnesstestlight.c.

◆ BuoyLight()

void BuoyLight ( )
inlineprotected

◆ ChemlightLight()

void ChemlightLight ( )
inlineprivate

Definition at line 6 of file chemlightlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ EntranceLight()

void EntranceLight ( )
inlineprotected

Definition at line 6 of file entrancelight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ EOnFrame() [1/2]

override void EOnFrame ( IEntity other,
float timeSlice )
inlineprotected

Definition at line 25 of file buoylight.c.

References LIGHT_MAT_OFF, LIGHT_MAT_ON, and m_IsOn.

◆ EOnFrame() [2/2]

override void EOnFrame ( IEntity other,
float timeSlice )
inlineprivate

◆ FireplaceLight()

void FireplaceLight ( )
inlineprivate

Definition at line 6 of file fireplacelight.c.

References m_FireplaceBrightness, m_FireplaceRadius, and SetExteriorMode().

◆ FlareLight()

void FlareLight ( )
inlineprivate

Definition at line 7 of file flarelight.c.

References m_FlareBrightness, and m_FlareRadius.

◆ GoatLight()

void GoatLight ( )
inlineprivate

Definition at line 3 of file goatlight.c.

◆ MuzzleFlashLight()

void MuzzleFlashLight ( )
inlineprivate

Definition at line 5 of file muzzleflashlight.c.

References m_Lifetime.

◆ MuzzleFlashLight_2()

void MuzzleFlashLight_2 ( )
inlineprivate

Definition at line 43 of file muzzleflashlight.c.

References m_Lifetime.

◆ OnFrameLightSource() [1/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 23 of file bonfirelight.c.

◆ OnFrameLightSource() [2/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 18 of file brightnesstestlight.c.

References Math::AbsFloat(), Math::Cos(), m_Timer, and Print().

◆ OnFrameLightSource() [3/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 15 of file partylight.c.

References Math::AbsFloat(), Math::Cos(), m_Timer, Math::PI2, Math::Sin(), and Math::Tan().

◆ OnFrameLightSource() [4/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 15 of file personallight.c.

References g_Game, IsEnabled(), SetPosition(), and Vector().

◆ OnFrameLightSource() [5/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 23 of file tirepilelight.c.

◆ OnFrameLightSource() [6/6]

override void OnFrameLightSource ( IEntity other,
float timeSlice )
inlineprivate

Definition at line 25 of file torchlight.c.

◆ PartyLight()

void PartyLight ( )
inlineprivate

Definition at line 5 of file partylight.c.

◆ PersonalLight()

void PersonalLight ( )
inlineprivate

Definition at line 3 of file personallight.c.

◆ PortableGasLampLight()

void PortableGasLampLight ( )
inlineprivate

Definition at line 6 of file portablegaslamplight.c.

References m_TorchBrightness, and m_TorchRadius.

◆ Roadblock_Light()

void Roadblock_Light ( )
inlineprotected

Definition at line 32 of file staticobj_roadblock_wood_small.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ RoadflareLight()

void RoadflareLight ( )
inlineprivate

Definition at line 7 of file roadflarelight.c.

References m_RoadflareBrightness, and m_RoadflareRadius.

◆ SetColorToBlue()

void SetColorToBlue ( )
inlineprivate

Definition at line 40 of file chemlightlight.c.

◆ SetColorToGreen()

void SetColorToGreen ( )
inlineprivate

Definition at line 34 of file chemlightlight.c.

◆ SetColorToRed()

void SetColorToRed ( )
inlineprivate

Definition at line 28 of file chemlightlight.c.

◆ SetColorToWhite()

void SetColorToWhite ( )
inlineprivate

Definition at line 22 of file chemlightlight.c.

◆ SetColorToYellow()

void SetColorToYellow ( )
inlineprivate

Definition at line 46 of file chemlightlight.c.

◆ SetExteriorMode()

void SetExteriorMode ( )
inlineprivate

Definition at line 32 of file fireplacelight.c.

Referenced by FireplaceLight().

◆ SetIntensity()

void SetIntensity ( float coef,
float time )
inlineprivate

Definition at line 16 of file chemlightlight.c.

References m_DefaultBrightness, and m_DefaultRadius.

◆ SetInteriorMode()

void SetInteriorMode ( )
inlineprivate

Definition at line 25 of file fireplacelight.c.

◆ StoveLight()

void StoveLight ( )
inlineprivate

Definition at line 3 of file stovelight.c.

◆ TirePileLight()

void TirePileLight ( )
inlineprivate

Definition at line 7 of file tirepilelight.c.

References m_FireBrightness, and m_FireRadius.

◆ TorchLight()

void TorchLight ( )
inlineprivate

Definition at line 6 of file torchlight.c.

References m_TorchBrightness, and m_TorchRadius.

◆ WarheadStorageLight()

void WarheadStorageLight ( )
inlineprivate

Definition at line 11 of file warheadstoragelight.c.

References DimmingConfig::AddDimmingPattern(), and LIGHT_MAT_ON.

◆ XmasSleighLight()

void XmasSleighLight ( )
inlineprivate

Definition at line 3 of file xmassleighlight.c.

◆ XmasTreeLight()

void XmasTreeLight ( )
inlineprivate

Definition at line 3 of file xmastreelight.c.

◆ ZombieMummyLight()

void ZombieMummyLight ( )
inlineprivate

Definition at line 3 of file zombiemummylight.c.

Field Documentation

◆ BASE_BRIGTHNESS

const int BASE_BRIGTHNESS = 5
protected

Definition at line 5 of file buoylight.c.

Referenced by BuoyLight().

◆ LIGHT_MAT_DIM

const string LIGHT_MAT_DIM = "DZ\\structures_sakhal\\military\\storage\\data\\Warhead_Storage_Lamp_Glass_dim_int.rvmat"
private

Definition at line 8 of file warheadstoragelight.c.

Referenced by EOnFrame().

◆ LIGHT_MAT_OFF

const string LIGHT_MAT_OFF = "DZ\\structures_sakhal\\industrial\\harbour\\data\\Buoy_01_glass.rvmat"
protected

Definition at line 4 of file buoylight.c.

Referenced by ~WarheadStorageLight(), and EOnFrame().

◆ LIGHT_MAT_ON

const string LIGHT_MAT_ON = "DZ\\structures_sakhal\\industrial\\harbour\\data\\Buoy_01_glass_e.rvmat"
private

Definition at line 3 of file buoylight.c.

Referenced by EOnFrame(), and WarheadStorageLight().

◆ m_Bunker

Land_WarheadStorage_Main m_Bunker
private

Definition at line 5 of file warheadstoragelight.c.

Referenced by EOnFrame().

◆ m_DefaultBrightness [1/2]

float m_DefaultBrightness = 5.5
protected

◆ m_DefaultBrightness [2/2]

float m_DefaultBrightness = 1.5
staticprivate

Definition at line 3 of file chemlightlight.c.

◆ m_DefaultRadius [1/2]

float m_DefaultRadius = 20
protected

◆ m_DefaultRadius [2/2]

float m_DefaultRadius = 7.5
staticprivate

Definition at line 4 of file chemlightlight.c.

◆ m_FireBrightness

float m_FireBrightness = 15.0
staticprivate

Definition at line 4 of file bonfirelight.c.

Referenced by BonfireLight(), and TirePileLight().

◆ m_FireplaceBrightness

float m_FireplaceBrightness = 4.75
staticprivate

Definition at line 4 of file fireplacelight.c.

Referenced by FireplaceLight().

◆ m_FireplaceRadius

float m_FireplaceRadius = 25
staticprivate

Definition at line 3 of file fireplacelight.c.

Referenced by FireplaceLight().

◆ m_FireRadius

float m_FireRadius = 40
staticprivate

Definition at line 3 of file bonfirelight.c.

Referenced by BonfireLight(), and TirePileLight().

◆ m_FlareBrightness

float m_FlareBrightness = 10.0
staticprivate

Definition at line 4 of file flarelight.c.

Referenced by FlareLight().

◆ m_FlareRadius

float m_FlareRadius = 100
staticprivate

Definition at line 3 of file flarelight.c.

Referenced by FlareLight().

◆ m_IsDimmed

bool m_IsDimmed
private

Definition at line 3 of file warheadstoragelight.c.

Referenced by EOnFrame().

◆ m_IsLowEnergyDim

bool m_IsLowEnergyDim
private

Definition at line 4 of file warheadstoragelight.c.

Referenced by EOnFrame().

◆ m_IsOn

bool m_IsOn
protected

Definition at line 7 of file buoylight.c.

Referenced by EOnFrame().

◆ m_Lifetime

float m_Lifetime = 0.04
staticprivate

Definition at line 3 of file muzzleflashlight.c.

Referenced by MuzzleFlashLight(), and MuzzleFlashLight_2().

◆ m_MemoryPoint

string m_MemoryPoint = "bonfire_fire"
staticprivate

Definition at line 5 of file bonfirelight.c.

◆ m_RoadflareBrightness

float m_RoadflareBrightness = 8.5
staticprivate

Definition at line 4 of file roadflarelight.c.

Referenced by RoadflareLight().

◆ m_RoadflareRadius

float m_RoadflareRadius = 30
staticprivate

Definition at line 3 of file roadflarelight.c.

Referenced by RoadflareLight().

◆ m_Timer

float m_Timer = 0
private

Definition at line 5 of file brightnesstestlight.c.

Referenced by OnFrameLightSource().

◆ m_TorchBrightness

float m_TorchBrightness = 5.0
staticprivate

Definition at line 4 of file portablegaslamplight.c.

Referenced by PortableGasLampLight(), and TorchLight().

◆ m_TorchRadius

float m_TorchRadius = 15
staticprivate

Definition at line 3 of file portablegaslamplight.c.

Referenced by PortableGasLampLight(), and TorchLight().


The documentation for this class was generated from the following files:
  • F:/Games/Dayz/scripts/4_world/entities/building/wrecks/staticobj_roadblock_wood_small.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/bonfirelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/brightnesstestlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/buoylight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/chemlightlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/entrancelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/fireplacelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/flarelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/muzzleflashlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/partylight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/portablegaslamplight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/roadflarelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/tirepilelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/torchlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/warheadstoragelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/anniversaryboxlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/goatlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/personallight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/stovelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/xmassleighlight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/xmastreelight.c
  • F:/Games/Dayz/scripts/4_world/entities/scriptedlightbase/pointlightbase/zombiemummylight.c