DayZ
1.24
Loading...
Searching...
No Matches
EntranceLight.c
Go to the documentation of this file.
1
class
EntranceLight
extends
PointLightBase
2
{
3
protected
float
m_DefaultBrightness
= 0.5;
4
protected
float
m_DefaultRadius
= 5.5;
5
6
void
EntranceLight
()
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
20
class
EntranceLightStairs1
: EntranceLight
21
{
22
void
EntranceLightStairs1
()
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
32
class
EntranceLightStairs2
: EntranceLight { }
33
34
class
EntranceLightMain1
: EntranceLight { }
35
36
class
EntranceLightMain2
: EntranceLight { }
m_DefaultRadius
float m_DefaultRadius
Definition
ContaminatedArea_Dynamic.c:14
m_DefaultBrightness
enum eAreaDecayStage m_DefaultBrightness
EntranceLightStairs1
class EntranceLight extends PointLightBase EntranceLightStairs1()
Definition
EntranceLight.c:22
EntranceLightStairs2
Definition
EntranceLight.c:32
Param3
Definition
EntityAI.c:95
PointLightBase
Definition
StaticObj_Roadblock_Wood_Small.c:26
PointLightBase::EntranceLight
void EntranceLight()
Definition
EntranceLight.c:6
scripts
4_World
Entities
ScriptedLightBase
PointLightBase
EntranceLight.c
Generated by
1.10.0