Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
ssg82.c
Go to the documentation of this file.
1
class
SSG82_Base
:
BoltActionRifle_ExternalMagazine_Base
2
{
3
override
bool
CanEnterIronsights()
4
{
5
return
false
;
6
}
7
8
override
void
AssembleGun()
9
{
10
super.AssembleGun();
11
12
if
( !FindAttachmentBySlotName(
"weaponOpticsAug"
) )
13
{
14
GetInventory().CreateAttachment(
"SSG82Optic"
);
15
}
16
}
17
18
override
RecoilBase
SpawnRecoilObject()
19
{
20
return
new
SSG82Recoil
(
this
);
21
}
22
23
//Debug menu Spawn Ground Special
24
/*override void OnDebugSpawn()
25
{
26
super.OnDebugSpawn();
27
}*/
28
};
29
30
31
class
SSG82Optic
:
ItemOptics
32
{
33
override
bool
CanPutAsAttachment(
EntityAI
parent )
34
{
35
return
true
;
36
}
37
};
BoltActionRifle_ExternalMagazine_Base
Definition
boltactionrifleexternalmagazine_base.c:113
EntityAI
Definition
building.c:6
ItemOptics
Definition
itemoptics.c:2
RecoilBase
Definition
recoilbase.c:2
SSG82_Base
Definition
ssg82.c:2
SSG82Optic
Definition
ssg82.c:32
SSG82Recoil
Definition
ssg82recoil.c:2
Daten
4_world
entities
firearms
rifle
ssg82.c
Generated by
1.12.0