DayZ 1.24
Loading...
Searching...
No Matches
ContaminatedArea_Dynamic.c File Reference

Go to the source code of this file.

Classes

class  ContaminatedArea_Dynamic
 

Enumerations

enum  eAreaDecayStage {
  INIT = 1 , START = 2 , LIVE = 3 , DECAY_START = 4 ,
  DECAY_END = 5
}
 

Functions

void ShellLight ()
 

Variables

enum eAreaDecayStage m_DefaultBrightness = 10
 
float m_DefaultRadius = 100
 

Enumeration Type Documentation

◆ eAreaDecayStage

Enumerator
INIT 
START 
LIVE 
DECAY_START 
DECAY_END 

Definition at line 1 of file ContaminatedArea_Dynamic.c.

2{
3 INIT = 1, // The dynamic area is initializing
4 START = 2, // The dynamic area is starting
5 LIVE = 3, // The dynamic area is live
6 DECAY_START = 4, // The dynamic area decay has started
7 DECAY_END = 5, // The dynamic area will soon be deleted
8}

Function Documentation

◆ ShellLight()

void ShellLight ( )
protected

Definition at line 16 of file ContaminatedArea_Dynamic.c.

17 {
18 SetVisibleDuringDaylight(false);
19 SetRadiusTo(m_DefaultRadius);
20 SetBrightnessTo(m_DefaultBrightness);
21 SetFlareVisible(false);
22 SetAmbientColor(1.0, 1.0, 0.3);
23 SetDiffuseColor(1.0, 1.0, 0.3);
24 SetLifetime(0.15);
25 SetDisableShadowsWithinRadius(-1);
26 SetCastShadow(false);
27 }
float m_DefaultRadius
enum eAreaDecayStage m_DefaultBrightness

References m_DefaultBrightness, and m_DefaultRadius.

Referenced by ContaminatedArea_Dynamic::PlayExplosionLight().

Variable Documentation

◆ m_DefaultBrightness

◆ m_DefaultRadius