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_Pistols_pb6p9
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;
16class Mode_Burst;
17class Mode_FullAuto;
19{
20 magazines[]={};
21};
22class cfgWeapons
23{
24 class DefaultWeapon;
25 class PistolCore;
26 class Pistol_Base;
27 class MakarovPB_Base: Pistol_Base
28 {
29 scope=0;
30 weight=760;
31 absorbency=0;
32 repairableWithKits[]={1};
33 repairCosts[]={25};
34 ObstructionDistance=0.31999999;
35 modelOptics="-";
36 distanceZoomMin=100;
37 distanceZoomMax=100;
38 value=0;
39 chamberSize=1;
40 chamberedRound="";
41 magazines[]=
42 {
43 "Mag_MakarovPB_8Rnd"
44 };
45 chamberableFrom[]=
46 {
47 "Ammo_380"
48 };
49 ejectType=1;
50 recoilModifier[]={1,1,1};
51 modes[]=
52 {
53 "Single"
54 };
55 class Single: Mode_SemiAuto
56 {
57 soundSetShot[]=
58 {
59 "Makarov_Shot_SoundSet",
60 "Makarov_Tail_SoundSet",
61 "Makarov_InteriorTail_SoundSet"
62 };
63 soundSetShotExt[]=
64 {
65
66 {
67 "PB6P9_silencerPro_SoundSet",
68 "PB6P9_silencerTail_SoundSet",
69 "PB6P9_silencerInteriorTail_SoundSet"
70 }
71 };
72 reloadTime=0.13;
73 recoil="recoil_ij70";
74 recoilProne="recoil_if70_prone";
75 dispersion=0.012;
76 magazineSlot="magazine";
77 };
78 };
79 class MakarovPB: MakarovPB_Base
80 {
81 scope=2;
82 displayName="$STR_cfgWeapons_MakarovPB0";
83 descriptionShort="$STR_cfgWeapons_MakarovPB1";
84 model="\DZ\weapons\pistols\pb6p9\pb6p9.p3d";
85 attachments[]=
86 {
87 "pistolMuzzle"
88 };
89 itemSize[]={2,2};
90 class DamageSystem
91 {
92 class GlobalHealth
93 {
94 class Health
95 {
96 hitpoints=100;
97 healthLevels[]=
98 {
99
100 {
101 1,
102
103 {
104 "DZ\weapons\pistols\pb6p9\data\pb6p9.rvmat"
105 }
106 },
107
108 {
109 0.69999999,
110
111 {
112 "DZ\weapons\pistols\pb6p9\data\pb6p9.rvmat"
113 }
114 },
115
116 {
117 0.5,
118
119 {
120 "DZ\weapons\pistols\pb6p9\data\pb6p9_damage.rvmat"
121 }
122 },
123
124 {
125 0.30000001,
126
127 {
128 "DZ\weapons\pistols\pb6p9\data\pb6p9_damage.rvmat"
129 }
130 },
131
132 {
133 0,
134
135 {
136 "DZ\weapons\pistols\pb6p9\data\pb6p9_destruct.rvmat"
137 }
138 }
139 };
140 };
141 };
142 };
143 };
144};
146{
147 class ProxyAttachment;
148 class ProxyPB6P9: ProxyAttachment
149 {
150 scope=2;
151 inventorySlot="pistol";
152 model="\dz\weapons\pistols\pb6p9\pb6p9.p3d";
153 };
154};