Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
civiliansedanrearlight.c
Go to the documentation of this file.
1 class CivilianSedanRearLight extends CarRearLightBase
2 {
3  void CivilianSedanRearLight()
4  {
5  // Brake light only
6  m_SegregatedBrakeBrightness = 1;
7  m_SegregatedBrakeRadius = 6;
8  m_SegregatedBrakeAngle = 270;
9  m_SegregatedBrakeColorRGB = Vector(1, 0.6, 0.05);
10 
11  // Reverse light only
12  m_SegregatedBrightness = 2;
13  m_SegregatedRadius = 13;
14  m_SegregatedAngle = 180;
15  m_SegregatedColorRGB = Vector(1.0, 1.0, 0.8);
16 
17  // Brake & Revese lights combined
18  m_AggregatedBrightness = 2.5;
19  m_AggregatedRadius = 15;
20  m_AggregatedAngle = 180;
21  m_AggregatedColorRGB = Vector(1.0, 0.8, 0.6);
22 
23  FadeIn(0.1);
24  SetFadeOutTime(0.1);
25  SetVisibleDuringDaylight(false);
26  SetCastShadow(false);
27  SetFlareVisible(false);
28 
29  SegregateLight();
30  }
31 }
CarRearLightBase
Definition: civiliansedanrearlight.c:1
Vector
proto native vector Vector(float x, float y, float z)
Vector constructor from components.