Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
bonfirelight.c
Go to the documentation of this file.
1 class BonfireLight extends PointLightBase
2 {
3  static float m_FireRadius = 40;
4  static float m_FireBrightness = 15.0;
5  static string m_MemoryPoint = "bonfire_fire";
6 
7  void BonfireLight()
8  {
9  SetVisibleDuringDaylight(true);
10  SetRadiusTo(m_FireRadius);
11  SetBrightnessTo(m_FireBrightness);
12  SetCastShadow(false);
13  SetFadeOutTime(1);
14  SetDiffuseColor(1.0, 0.45, 0.25);
15  SetAmbientColor(1.0, 0.45, 0.25);
16  SetFlareVisible(false);
17  SetFlickerAmplitude(0.55);
18  SetFlickerSpeed(0.75);
19  SetDancingShadowsMovementSpeed(0.1);
20  SetDancingShadowsAmplitude(0.03);
21  }
22 
23  override void OnFrameLightSource(IEntity other, float timeSlice)
24  {
25 
26  }
27 }
PointLightBase
Definition: staticobj_roadblock_wood_small.c:27
IEntity
Definition: enentity.c:164