DayZ 1.24
Loading...
Searching...
No Matches
CarRearLightBase Class Reference

Private Member Functions

void CivilianSedanRearLight ()
 
void Hatchback_02RearLight ()
 
void Offroad_02RearLight ()
 
void OffroadHatchbackRearLight ()
 
void Sedan_02RearLight ()
 
void Truck_01RearLight ()
 

Detailed Description

Definition at line 1 of file CivilianSedanRearLight.c.

Member Function Documentation

◆ CivilianSedanRearLight()

void CarRearLightBase::CivilianSedanRearLight ( )
inlineprivate

Definition at line 3 of file CivilianSedanRearLight.c.

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 }
proto native vector Vector(float x, float y, float z)
Vector constructor from components.

References Vector().

◆ Hatchback_02RearLight()

void CarRearLightBase::Hatchback_02RearLight ( )
inlineprivate

Definition at line 3 of file Hatchback_02RearLight.c.

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 }

References Vector().

◆ Offroad_02RearLight()

void CarRearLightBase::Offroad_02RearLight ( )
inlineprivate

Definition at line 3 of file Offroad_02RearLight.c.

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 }

References Vector().

◆ OffroadHatchbackRearLight()

void CarRearLightBase::OffroadHatchbackRearLight ( )
inlineprivate

Definition at line 3 of file OffroadHatchbackRearLight.c.

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 }

References Vector().

◆ Sedan_02RearLight()

void CarRearLightBase::Sedan_02RearLight ( )
inlineprivate

Definition at line 3 of file Sedan_02RearLight.c.

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 }

References Vector().

◆ Truck_01RearLight()

void CarRearLightBase::Truck_01RearLight ( )
inlineprivate

Definition at line 3 of file Truck_01RearLight.c.

4 {
5 // Brake light only
6 m_SegregatedBrakeBrightness = 5;
7 m_SegregatedBrakeRadius = 6;
8 m_SegregatedBrakeAngle = 160;
9 m_SegregatedBrakeColorRGB = Vector(0.75, 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.85, 0.35, 0.45);
22
23 FadeIn(0.1);
24 SetFadeOutTime(0.05);
25
26 SetVisibleDuringDaylight(false);
27 SetCastShadow(false);
28 SetFlareVisible(false);
29
30 SegregateLight();
31 }

References Vector().


The documentation for this class was generated from the following files: