DayZ 1.24
Loading...
Searching...
No Matches
RoadflareLight.c
Go to the documentation of this file.
1class RoadflareLight extends PointLightBase
2{
3 static float m_RoadflareRadius = 30;
4 static float m_RoadflareBrightness = 8.5;
5 static string m_MemoryPoint = "light";
6
8 {
9 SetVisibleDuringDaylight(true);
10 SetRadiusTo(m_RoadflareRadius);
11 SetBrightnessTo(m_RoadflareBrightness);
12 SetCastShadow(true);
13 FadeIn(1);
14 SetFadeOutTime(1);
15 SetDiffuseColor(1.0, 0.3, 0.3);
16 SetAmbientColor(1.0, 0.3, 0.3);
17 SetFlareVisible(true);
18 SetFlickerAmplitude(0.2);
19 SetFlickerSpeed(1.5);
20 SetDancingShadowsMovementSpeed(0.1);
21 SetDancingShadowsAmplitude(0.015);
22 EnableHeatHaze(true);
23 SetHeatHazeRadius(0.1);
24 SetHeatHazePower(0.02);
25 }
26
27 /*override void OnFrameLightSource(IEntity other, float timeSlice)
28 {
29
30 }*/
31}
static string m_MemoryPoint
Definition FlareLight.c:41
void RoadflareLight()