Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
torchlight.c
Go to the documentation of this file.
1
class
TorchLight
extends
PointLightBase
2
{
3
static
float
m_TorchRadius = 30;
4
static
float
m_TorchBrightness = 5.0;
5
6
void
TorchLight
()
7
{
8
SetVisibleDuringDaylight(
false
);
9
SetRadiusTo(
m_TorchRadius
);
10
SetBrightnessTo(
m_TorchBrightness
);
11
SetCastShadow(
true
);
12
SetFadeOutTime(1);
13
SetDiffuseColor(1.3, 0.35, 0.15);
14
SetAmbientColor(1.3, 0.35, 0.15);
15
SetFlareVisible(
false
);
16
SetFlickerAmplitude(0.55);
17
SetFlickerSpeed(0.75);
18
SetDancingShadowsMovementSpeed(0.1);
19
SetDancingShadowsAmplitude(0.03);
20
EnableHeatHaze(
true
);
21
SetHeatHazeRadius(0.08);
22
SetHeatHazePower(0.015);
23
}
24
25
override
void
OnFrameLightSource
(
IEntity
other,
float
timeSlice)
26
{
27
28
}
29
}
IEntity
Internal ancestor of all Entity implementations.
Definition
enentity.c:165
PointLightBase
Definition
staticobj_roadblock_wood_small.c:28
PointLightBase::m_TorchBrightness
static float m_TorchBrightness
Definition
portablegaslamplight.c:4
PointLightBase::OnFrameLightSource
override void OnFrameLightSource(IEntity other, float timeSlice)
Definition
torchlight.c:25
PointLightBase::m_TorchRadius
static float m_TorchRadius
Definition
portablegaslamplight.c:3
PointLightBase::TorchLight
void TorchLight()
Definition
torchlight.c:6
Games
Dayz
scripts
4_world
entities
scriptedlightbase
pointlightbase
torchlight.c
Generated by
1.17.0