DayZ 1.24
Loading...
Searching...
No Matches
Hatchback_02RearLight.c
Go to the documentation of this file.
1class Hatchback_02RearLight extends CarRearLightBase
2{
4 {
5 // Brake light only
6 m_SegregatedBrakeBrightness = 1;
7 m_SegregatedBrakeRadius = 6;
8 m_SegregatedBrakeAngle = 270;
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}
proto native vector Vector(float x, float y, float z)
Vector constructor from components.