Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
{ }
PointLightBase
Definition:
staticobj_roadblock_wood_small.c:27
EntranceLight
void EntranceLight()
Definition:
entrancelight.c:5
m_DefaultRadius
protected float m_DefaultRadius
Definition:
entrancelight.c:3
m_DefaultBrightness
protected float m_DefaultBrightness
Definition:
entrancelight.c:2
EntranceLightStairs1
class EntranceLight extends PointLightBase EntranceLightStairs1()
Definition:
entrancelight.c:22
EntranceLightStairs2
Definition:
entrancelight.c:32
DAYZ
scripts_v1.24.157551
scripts
world
entities
scriptedlightbase
pointlightbase
entrancelight.c
Generated by
1.8.17