Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
motohelmet_colorbase.c
Go to the documentation of this file.
1
class
MotoHelmet_ColorBase
extends
HelmetBase
2
{
3
override
array<int>
GetEffectWidgetTypes
()
4
{
5
return
{EffectWidgetsTypes.MOTO_OCCLUDER
/*,EffectWidgetsTypes.MOTO_BREATH*/
};
6
}
7
8
override
bool
IsObstructingVoice
()
9
{
10
return
true
;
11
}
12
13
override
int
GetVoiceEffect
()
14
{
15
return
VoiceEffectObstruction;
16
}
17
18
override
protected
set<int>
GetAttachmentExclusionInitSlotValue
(
int
slotId)
19
{
20
set<int> ret = super.GetAttachmentExclusionInitSlotValue(slotId);
21
if
(slotId ==
InventorySlots
.HEADGEAR)
22
{
23
ret.Insert(EAttExclusions.EXCLUSION_HEADGEAR_HELMET_0);
24
25
ret.Insert(EAttExclusions.EXCLUSION_MASK_0);
26
ret.Insert(EAttExclusions.EXCLUSION_MASK_1);
27
ret.Insert(EAttExclusions.EXCLUSION_MASK_2);
28
ret.Insert(EAttExclusions.EXCLUSION_HEADSTRAP_0);
29
30
ret.Insert(EAttExclusions.SHAVING_HEADGEAR_ATT_0);
31
}
32
return
ret;
33
}
34
}
35
36
class
MotoHelmet_Black
extends
MotoHelmet_ColorBase
{};
37
class
MotoHelmet_Grey
extends
MotoHelmet_ColorBase
{};
38
class
MotoHelmet_Green
extends
MotoHelmet_ColorBase
{};
39
class
MotoHelmet_Lime
extends
MotoHelmet_ColorBase
{};
40
class
MotoHelmet_Blue
extends
MotoHelmet_ColorBase
{};
41
class
MotoHelmet_Red
extends
MotoHelmet_ColorBase
{};
42
class
MotoHelmet_White
extends
MotoHelmet_ColorBase
{};
43
class
MotoHelmet_Yellow
extends
MotoHelmet_ColorBase
{};
HelmetBase
Definition
greathelm.c:2
HelmetBase::IsObstructingVoice
override bool IsObstructingVoice()
Definition
motohelmet_colorbase.c:8
HelmetBase::GetVoiceEffect
override int GetVoiceEffect()
Definition
motohelmet_colorbase.c:13
HelmetBase::GetEffectWidgetTypes
override array< int > GetEffectWidgetTypes()
Definition
motohelmet_colorbase.c:3
HelmetBase::GetAttachmentExclusionInitSlotValue
set< int > GetAttachmentExclusionInitSlotValue(int slotId)
Definition
motohelmet_colorbase.c:18
InventorySlots
provides access to slot configuration
Definition
inventoryslots.c:6
MotoHelmet_ColorBase
Definition
motohelmet_colorbase.c:37
array
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
Definition
isboxcollidinggeometryproxyclasses.c:28
Games
Dayz
scripts
4_world
entities
itembase
clothing
helmetbase
motohelmet_colorbase.c
Generated by
1.17.0