DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
CarRearLightBase.c
См. документацию.
2{
3 // Brake light only. These are just some default values which are overwritten down the hierarchy.
8
10 {
11 // These are just some default values which can be overwrittend down in the hierarchy.
12 // Reverse light only
16 m_SegregatedColorRGB = Vector(1.0, 1.0, 1.0);
17
18 // Brake & Revese lights combined
22 m_AggregatedColorRGB = Vector(1.0, 0.5, 0.5);
23
24 FadeIn(0.1);
25 SetFadeOutTime(0.1);
26 SetVisibleDuringDaylight(false);
27 SetCastShadow(false);
28 SetFlareVisible(false);
29 EnableSpecular(false); // Specular is disabled because it causes ugly shining on cars
30
31 SegregateLight();
32 }
33
35 {
36 SetRadiusTo(m_SegregatedBrakeRadius);
37 SetSpotLightAngle(m_SegregatedBrakeAngle);
38 SetBrightnessTo(m_SegregatedBrakeBrightness);
41 SetFadeOutTime(0.1);
42 SetFlareVisible(false);
43 }
44
46 {
47 SetRadiusTo(m_SegregatedRadius);
48 SetSpotLightAngle(m_SegregatedAngle);
49 SetBrightnessTo(m_SegregatedBrightness);
52 SetFadeOutTime(0.1);
53 SetFlareVisible(false);
54 }
55}
float m_AggregatedAngle
Определения VehicleLightProfileBase.c:49
float m_SegregatedRadius
Определения VehicleLightProfileBase.c:43
float m_SegregatedBrightness
Определения VehicleLightProfileBase.c:42
vector m_SegregatedColorRGB
Определения VehicleLightProfileBase.c:45
vector m_AggregatedColorRGB
Определения VehicleLightProfileBase.c:50
float m_SegregatedAngle
Определения VehicleLightProfileBase.c:44
float m_AggregatedRadius
Определения VehicleLightProfileBase.c:48
float m_AggregatedBrightness
Определения VehicleLightProfileBase.c:47
float m_SegregatedBrakeAngle
Определения CarRearLightBase.c:6
void CarRearLight()
Определения CarRearLightBase.c:9
float m_SegregatedBrakeBrightness
Определения CarRearLightBase.c:4
vector m_SegregatedBrakeColorRGB
Определения CarRearLightBase.c:7
void SetAsSegregatedReverseLight()
Определения CarRearLightBase.c:45
float m_SegregatedBrakeRadius
Определения CarRearLightBase.c:5
void SetAsSegregatedBrakeLight()
Определения CarRearLightBase.c:34
Определения CarRearLightBase.c:2
Определения EnConvert.c:119
proto native vector Vector(float x, float y, float z)
Vector constructor from components.