Dayz Explorer CPP 1.28.160049
Loading...
Searching...
No Matches
config.cpp
Go to the documentation of this file.
1class CfgPatches
2{
3 class DZ_Nonlethal
4 {
5 units[]={};
6 weapons[]={};
7 requiredVersion=0.1;
8 requiredAddons[]=
9 {
10 "DZ_Data",
11 "DZ_Sounds_Weapons"
12 };
13 };
14};
15class Mode_SemiAuto;
17{
18 magazines[]={};
19};
20class Mode_Burst;
21class Mode_FullAuto;
22class cfgWeapons
23{
24 class DefaultWeapon;
25 class NonlethalCore: DefaultWeapon
26 {
27 scope=0;
28 targetCategory="loot";
29 type=1;
30 autoReload=0;
31 rotationFlags=17;
32 storageCategory=1;
33 class Single: Mode_SemiAuto
34 {
35 };
36 class NoiseShoot
37 {
38 strength=10;
39 type="shot";
40 };
41 opticsZoomMin=0.414215;
42 opticsZoomInit=0.57736999;
43 opticsZoomMax=0.70021999;
44 barrelArmor=400;
45 magazineSlot="magazine";
46 };
47 class NonlethalPistol: NonlethalCore
48 {
49 itemSize[]={4,2};
50 cursor="aimGunGhost";
51 cursorAim="aimPistol";
52 inventorySlot[]=
53 {
54 "Pistol"
55 };
56 animClass="Pistol";
57 armAction="HandGun";
58 };
59 class NonlethalRifle: NonlethalCore
60 {
61 itemSize[]={8,2};
62 cursor="aimGunGhost";
63 cursorAim="aimRifle";
64 inventorySlot[]=
65 {
66 "Shoulder"
67 };
68 animClass="Rifle";
69 };
70};