DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
FlareLight.c
См. документацию.
2{
3 static float m_FlareRadius = 100;
4 static float m_FlareBrightness = 10.0;
5 static string m_MemoryPoint = "light";
6
7 void FlareLight()
8 {
9 SetVisibleDuringDaylight( true );
10 SetRadiusTo( m_FlareRadius );
11 SetBrightnessTo( m_FlareBrightness );
12 FadeIn( 1 );
13 SetFadeOutTime( 0.2 );
14 SetDiffuseColor( 0.7, 0.7, 0.3 );
15 SetAmbientColor( 0.7, 0.7, 0.3 );
16 SetFlareVisible( false );
17 SetFlickerAmplitude( 0.9 );
18 SetFlickerSpeed( 0.3 );
19 SetDancingShadowsMovementSpeed( 0.5 );
20 SetDancingShadowsAmplitude( 0.15 );
21 //SetLifetime( 50 );
22 EnableLinear( true );
23 EnableHeatHaze( true );
24 SetHeatHazeRadius( 0.1 );
25 SetHeatHazePower( 0.02 );
26 #ifdef PLATFORM_WINDOWS
27 SetCastShadow( true );
28 #else
29 SetCastShadow( false );
30 #endif
31
32 }
33}
34
35class FlareLightRed extends FlareLight
36{
37
38 void FlareLightRed()
39 {
40 SetDiffuseColor( 1.0, 0.3, 0.3 );
41 SetAmbientColor( 1.0, 0.3, 0.3 );
42 }
44
46{
48 {
49 SetDiffuseColor( 0.3, 1.0, 0.3 );
50 SetAmbientColor( 0.3, 1.0, 0.3 );
51 }
52}
53
54class FlareLightBlue extends FlareLight
55{
56 void FlareLightBlue()
57 {
58 SetDiffuseColor( 0.3, 0.3, 1.0 );
59 SetAmbientColor( 0.3, 0.3, 1.0 );
60 }
61}
62
64{
66 {
67 SetLifetime( 20 );
68 }
69}
class FlareLightGreen extends FlareLight FlareLightBlue()
Определения FlareLight.c:56
class FlareLight extends PointLightBase FlareLightRed()
Определения FlareLight.c:38
void FlareLightGreen()
Определения FlareLight.c:47
Определения FlareLight.c:46
void FlareLightContamination()
Определения FlareLight.c:65
Определения FlareLight.c:64
static float m_FlareBrightness
Определения FlareLight.c:4
static string m_MemoryPoint
Определения BonfireLight.c:5
static float m_FlareRadius
Определения FlareLight.c:3
void FlareLight()
Определения FlareLight.c:7