DayZ 1.24
Loading...
Searching...
No Matches
EntranceLight.c
Go to the documentation of this file.
1class EntranceLight extends PointLightBase
2{
3 protected float m_DefaultBrightness = 0.5;
4 protected float m_DefaultRadius = 5.5;
5
7 {
8 SetVisibleDuringDaylight(true);
9 SetRadiusTo(m_DefaultRadius);
10 SetBrightnessTo(m_DefaultBrightness);
11 FadeIn(1);
12 SetFadeOutTime(2);
13 SetFlareVisible(false);
14 SetCastShadow(false);
15 SetAmbientColor(0.9, 0.9, 0.7);
16 SetDiffuseColor(0.9, 0.9, 0.7);
17 }
18}
19
20class EntranceLightStairs1 : EntranceLight
21{
23 {
24 SetRadiusTo(10);
25 SetBrightnessTo(0.5);
26 SetCastShadow(true);
27 SetAmbientColor(1.0, 0.4, 0.4);
28 SetDiffuseColor(1.0, 0.4, 0.4);
29 }
30}
31
32class EntranceLightStairs2 : EntranceLight { }
33
34class EntranceLightMain1 : EntranceLight { }
35
36class EntranceLightMain2 : EntranceLight { }
float m_DefaultRadius
enum eAreaDecayStage m_DefaultBrightness
class EntranceLight extends PointLightBase EntranceLightStairs1()
void EntranceLight()