Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
rdg2smokegrenade_colorbase.c
Go to the documentation of this file.
1
class
RDG2SmokeGrenade_ColorBase
extends
SmokeGrenadeBase
2
{
3
const
string
SOUND_SMOKE_START
=
"SmokegGrenades_RDG2_start_loop_SoundSet"
;
4
const
string
SOUND_SMOKE_LOOP
=
"SmokegGrenades_RDG2_active_loop_SoundSet"
;
5
const
string
SOUND_SMOKE_END
=
"SmokegGrenades_RDG2_end_loop_SoundSet"
;
6
7
void
RDG2SmokeGrenade_ColorBase
()
8
{
9
SetAmmoType
(
""
);
10
SetFuseDelay(2);
11
SetParticlePosition
(
"0 0.1 0"
);
12
SetSoundSmokeStart
(
SOUND_SMOKE_START
);
13
SetSoundSmokeLoop
(
SOUND_SMOKE_LOOP
);
14
SetSoundSmokeEnd
(
SOUND_SMOKE_END
);
15
}
16
17
void
~RDG2SmokeGrenade_ColorBase
() {}
18
};
19
20
class
RDG2SmokeGrenade_Black
extends
RDG2SmokeGrenade_ColorBase
21
{
22
void
RDG2SmokeGrenade_Black
()
23
{
24
SetParticleSmokeStart
(
ParticleList
.
GRENADE_RDG2_BLACK_START
);
25
SetParticleSmokeLoop
(
ParticleList
.
GRENADE_RDG2_BLACK_LOOP
);
26
SetParticleSmokeEnd
(
ParticleList
.
GRENADE_RDG2_BLACK_END
);
27
}
28
}
29
30
class
RDG2SmokeGrenade_White
extends
RDG2SmokeGrenade_ColorBase
31
{
32
void
RDG2SmokeGrenade_White
()
33
{
34
SetParticleSmokeStart
(
ParticleList
.
GRENADE_RDG2_WHITE_START
);
35
SetParticleSmokeLoop
(
ParticleList
.
GRENADE_RDG2_WHITE_LOOP
);
36
SetParticleSmokeEnd
(
ParticleList
.
GRENADE_RDG2_WHITE_END
);
37
}
38
}
ParticleList
Definition
particlelist.c:12
ParticleList::GRENADE_RDG2_BLACK_LOOP
static const int GRENADE_RDG2_BLACK_LOOP
Definition
particlelist.c:102
ParticleList::GRENADE_RDG2_WHITE_START
static const int GRENADE_RDG2_WHITE_START
Definition
particlelist.c:104
ParticleList::GRENADE_RDG2_WHITE_END
static const int GRENADE_RDG2_WHITE_END
Definition
particlelist.c:106
ParticleList::GRENADE_RDG2_WHITE_LOOP
static const int GRENADE_RDG2_WHITE_LOOP
Definition
particlelist.c:105
ParticleList::GRENADE_RDG2_BLACK_START
static const int GRENADE_RDG2_BLACK_START
RDG2.
Definition
particlelist.c:101
ParticleList::GRENADE_RDG2_BLACK_END
static const int GRENADE_RDG2_BLACK_END
Definition
particlelist.c:103
RDG2SmokeGrenade_ColorBase
Definition
rdg2smokegrenade_colorbase.c:21
RDG2SmokeGrenade_ColorBase::RDG2SmokeGrenade_Black
void RDG2SmokeGrenade_Black()
Definition
rdg2smokegrenade_colorbase.c:22
SmokeGrenadeBase
Definition
m18smokegrenade_colorbase.c:2
SmokeGrenadeBase::SOUND_SMOKE_START
const string SOUND_SMOKE_START
Definition
m18smokegrenade_colorbase.c:3
SmokeGrenadeBase::SOUND_SMOKE_END
const string SOUND_SMOKE_END
Definition
m18smokegrenade_colorbase.c:5
SmokeGrenadeBase::RDG2SmokeGrenade_ColorBase
void RDG2SmokeGrenade_ColorBase()
Definition
rdg2smokegrenade_colorbase.c:7
SmokeGrenadeBase::~RDG2SmokeGrenade_ColorBase
void ~RDG2SmokeGrenade_ColorBase()
Definition
rdg2smokegrenade_colorbase.c:17
SmokeGrenadeBase::SOUND_SMOKE_LOOP
const string SOUND_SMOKE_LOOP
Definition
m18smokegrenade_colorbase.c:4
SetParticlePosition
void SetParticlePosition(vector local_pos)
set position for smoke particle - needs to be in Local Space
Definition
explosivesbase.c:338
SetAmmoType
void SetAmmoType(string pAmmoType)
Definition
explosivesbase.c:321
SOUND_SMOKE_START
const string SOUND_SMOKE_START
Definition
m18smokegrenade_colorbase.c:22
SOUND_SMOKE_END
const string SOUND_SMOKE_END
Definition
m18smokegrenade_colorbase.c:24
SOUND_SMOKE_LOOP
const string SOUND_SMOKE_LOOP
Definition
m18smokegrenade_colorbase.c:23
RDG2SmokeGrenade_White
class RDG2SmokeGrenade_Black extends RDG2SmokeGrenade_ColorBase RDG2SmokeGrenade_White()
Definition
rdg2smokegrenade_colorbase.c:32
SetSoundSmokeEnd
void SetSoundSmokeEnd(string sound)
Definition
smokegrenadebase.c:69
SetParticleSmokeLoop
void SetParticleSmokeLoop(int particle)
Definition
smokegrenadebase.c:49
SetSoundSmokeStart
void SetSoundSmokeStart(string sound)
Definition
smokegrenadebase.c:59
SetParticleSmokeEnd
void SetParticleSmokeEnd(int particle)
Definition
smokegrenadebase.c:54
SetSoundSmokeLoop
void SetSoundSmokeLoop(string sound)
Definition
smokegrenadebase.c:64
SetParticleSmokeStart
void SetParticleSmokeStart(int particle)
Definition
smokegrenadebase.c:44
Games
Dayz
scripts
4_world
entities
grenade_base
rdg2smokegrenade_colorbase.c
Generated by
1.17.0