Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
roadflarelight.c
Go to the documentation of this file.
1 class RoadflareLight extends PointLightBase
2 {
3  static float m_RoadflareRadius = 30;
4  static float m_RoadflareBrightness = 8.5;
5  static string m_MemoryPoint = "light";
6 
7  void RoadflareLight()
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 }
PointLightBase
Definition: staticobj_roadblock_wood_small.c:27