DayZ 1.24
Loading...
Searching...
No Matches
BonfireLight.c
Go to the documentation of this file.
1class 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
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
24 {
25
26 }
27}
static string m_MemoryPoint
Definition FlareLight.c:41
override void OnFrameLightSource(IEntity other, float timeSlice)
void BonfireLight()
Definition BonfireLight.c:7