Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
offroad_02rearlight.c
Go to the documentation of this file.
1 class Offroad_02RearLight extends CarRearLightBase
2 {
3  void Offroad_02RearLight()
4  {
5  // Brake light only
6  m_SegregatedBrakeBrightness = 6;
7  m_SegregatedBrakeRadius = 6;
8  m_SegregatedBrakeAngle = 220;
9  m_SegregatedBrakeColorRGB = Vector(0.95, 0.15, 0.13);
10 
11  // Reverse light only
12  m_SegregatedBrightness = 2;
13  m_SegregatedRadius = 15;
14  m_SegregatedAngle = 160;
15  m_SegregatedColorRGB = Vector(0.64, 0.60, 0.62);
16 
17  // Brake & Revese lights combined
18  m_AggregatedBrightness = 7;
19  m_AggregatedRadius = 18;
20  m_AggregatedAngle = 170;
21  m_AggregatedColorRGB = Vector(1.0, 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.