DayZ
1.27
DayZ Explorer by KGB
Загрузка...
Поиск...
Не найдено
MuzzleFlashLight.c
См. документацию.
1
class
MuzzleFlashLight
extends
PointLightBase
2
{
3
static
float
m_Lifetime
= 0.04;
4
5
void
MuzzleFlashLight
()
6
{
7
SetLifetime(
m_Lifetime
);
8
FadeIn(
m_Lifetime
* 0.5);
9
SetFadeOutTime(
m_Lifetime
* 0.5);
10
SetVisibleDuringDaylight(
true
);
11
SetRadiusTo( 15 );
12
SetBrightnessTo(1);
13
SetCastShadow(
false
);
14
SetAmbientColor(0.76, 0.68, 0.31);
15
SetDiffuseColor(0.76, 0.68, 0.31);
16
SetFlareVisible(
false
);
17
}
18
}
19
20
class
MuzzleFlashLight_1
extends
PointLightBase
21
{
22
static
float
m_Lifetime
= 0.08;
23
24
void
MuzzleFlashLight_1
()
25
{
26
SetLifetime(
m_Lifetime
);
27
FadeIn(
m_Lifetime
* 0.2 );
28
SetFadeOutTime(
m_Lifetime
* 0.2 );
29
SetVisibleDuringDaylight(
true
);
30
SetRadiusTo( 17 );
31
SetBrightnessTo( 0.5 );
32
SetCastShadow(
false
);
33
SetAmbientColor( 0.56, 0.42, 0.3 );
34
SetDiffuseColor( 0.56, 0.42, 0.3 );
35
SetFlareVisible(
false
);
36
}
37
}
38
39
class
MuzzleFlashLight_2
extends
PointLightBase
40
{
41
static
float
m_Lifetime
= 0.01;
42
43
void
MuzzleFlashLight_2
()
44
{
45
SetLifetime(
m_Lifetime
);
46
FadeIn(
m_Lifetime
* 0.1 );
47
SetFadeOutTime(
m_Lifetime
* 0.1 );
48
SetVisibleDuringDaylight(
true
);
49
SetRadiusTo( 12 );
50
SetBrightnessTo( 0.2 );
51
SetCastShadow(
false
);
52
SetAmbientColor( 0.36, 0.32, 0.13 );
53
SetDiffuseColor( 0.36, 0.32, 0.13 );
54
SetFlareVisible(
false
);
55
}
56
}
MuzzleFlashLight_1
void MuzzleFlashLight_1()
Определения
MuzzleFlashLight.c:24
m_Lifetime
class MuzzleFlashLight extends PointLightBase m_Lifetime
PointLightBase::m_Lifetime
static float m_Lifetime
Определения
MuzzleFlashLight.c:3
PointLightBase::MuzzleFlashLight
void MuzzleFlashLight()
Определения
MuzzleFlashLight.c:5
PointLightBase::MuzzleFlashLight_2
void MuzzleFlashLight_2()
Определения
MuzzleFlashLight.c:43
PointLightBase
Определения
StaticObj_Roadblock_Wood_Small.c:28
Ishodniki
scripts
4_World
Entities
ScriptedLightBase
PointLightBase
MuzzleFlashLight.c
Создано системой
1.13.2