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