Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
portablegaslamplight.c
Go to the documentation of this file.
1
class
PortableGasLampLight
extends
PointLightBase
2
{
3
static
float
m_TorchRadius
= 15;
4
static
float
m_TorchBrightness
= 5.0;
5
6
void
PortableGasLampLight
()
7
{
8
SetVisibleDuringDaylight(
false
);
9
SetRadiusTo(
m_TorchRadius
);
10
SetBrightnessTo(
m_TorchBrightness
);
11
SetCastShadow(
true
);
12
FadeIn(0.5);
13
SetFadeOutTime(0.1);
14
SetDiffuseColor(1.0, 0.7, 0.5);
15
SetAmbientColor(1.0, 0.7, 0.5);
16
SetFlickerAmplitude(0.3);
17
SetFlickerSpeed(0.75);
18
SetDancingShadowsMovementSpeed(0.005);
19
SetDancingShadowsAmplitude(0.003);
20
}
21
22
/*override void OnFrameLightSource(IEntity other, float timeSlice)
23
{
24
25
}*/
26
}
PointLightBase
Definition
staticobj_roadblock_wood_small.c:28
PointLightBase::m_TorchBrightness
static float m_TorchBrightness
Definition
portablegaslamplight.c:4
PointLightBase::PortableGasLampLight
void PortableGasLampLight()
Definition
portablegaslamplight.c:6
PointLightBase::m_TorchRadius
static float m_TorchRadius
Definition
portablegaslamplight.c:3
Games
Dayz
scripts
4_world
entities
scriptedlightbase
pointlightbase
portablegaslamplight.c
Generated by
1.17.0