Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
offroadhatchbackrearlight.c
Go to the documentation of this file.
1 class OffroadHatchbackRearLight extends CarRearLightBase
2 {
3  void OffroadHatchbackRearLight()
4  {
5  // Brake light only
6  m_SegregatedBrakeBrightness = 1;
7  m_SegregatedBrakeRadius = 6;
8  m_SegregatedBrakeAngle = 180;
9  m_SegregatedBrakeColorRGB = Vector(1, 0.05, 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, 1.0);
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.5, 0.5);
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.