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_CZ75
4 {
5 units[]=
6 {
7 "CZ75"
8 };
9 weapons[]={};
10 requiredVersion=0.1;
11 requiredAddons[]=
12 {
13 "DZ_Data",
14 "DZ_Pistols"
15 };
16 };
17};
18class Mode_Safe;
19class Mode_SemiAuto;
20class Mode_Burst;
21class Mode_FullAuto;
23class cfgWeapons
24{
25 class Pistol_Base;
26 class CZ75_Base: Pistol_Base
27 {
28 scope=0;
29 weight=1000;
30 absorbency=0;
31 repairableWithKits[]={1};
32 repairCosts[]={25};
33 PPDOFProperties[]={1,0.55000001,10,280,4,10};
34 WeaponLength=0.20999999;
35 ShoulderDistance=0.40000001;
36 ObstructionDistance=0.43099999;
37 barrelArmor=2;
38 initSpeedMultiplier=1;
39 chamberSize=1;
40 chamberedRound="";
41 magazines[]=
42 {
43 "Mag_CZ75_15Rnd"
44 };
45 chamberableFrom[]=
46 {
47 "Ammo_9x19"
48 };
49 ejectType=1;
50 recoilModifier[]={1,1,1};
51 swayModifier[]={1.2,1.2,0.55000001};
52 hiddenSelections[]=
53 {
54 "camo"
55 };
56 class NoiseShoot
57 {
58 strength=40;
59 type="shot";
60 };
61 modes[]=
62 {
63 "SemiAuto"
64 };
65 class SemiAuto: Mode_SemiAuto
66 {
67 soundSetShot[]=
68 {
69 "CZ75_Shot_SoundSet",
70 "CZ75_Tail_SoundSet",
71 "CZ75_InteriorTail_SoundSet"
72 };
73 soundSetShotExt[]=
74 {
75
76 {
77 "CZ75_silencerPro_SoundSet",
78 "CZ75_silencerTail_SoundSet",
79 "CZ75_silencerInteriorTail_SoundSet"
80 }
81 };
82 reloadTime=0.13;
83 recoil="recoil_cz75";
84 recoilProne="recoil_cz75_prone";
85 dispersion=0.0044999998;
86 magazineSlot="magazine";
87 };
88 class OpticsInfo: OpticsInfoPistol
89 {
90 memoryPointCamera="eye";
91 discreteDistance[]={25};
92 discreteDistanceInitIndex=0;
93 modelOptics="-";
94 distanceZoomMin=100;
95 distanceZoomMax=100;
96 };
97 class Particles
98 {
99 class OnFire
100 {
101 class SmokeCloud
102 {
103 overrideParticle="weapon_shot_winded_smoke";
104 };
105 class MuzzleFlash
106 {
107 overrideParticle="weapon_shot_cz75_01";
108 ignoreIfSuppressed=1;
109 illuminateWorld=1;
110 positionOffset[]={0,0,0};
111 };
112 };
113 class OnOverheating
114 {
115 maxOverheatingValue=8;
116 shotsToStartOverheating=8;
117 overheatingDecayInterval=1;
118 class SmokingBarrel1
119 {
120 overrideParticle="smoking_barrel_small";
121 onlyWithinOverheatLimits[]={0,1};
122 positionOffset[]={0,0,0};
123 onlyWithinRainLimits[]={0,1};
124 };
125 class OpenChamberSmoke
126 {
127 onlyIfBoltIsOpen=1;
128 overrideParticle="smoking_barrel_small";
129 overridePoint="Nabojnicestart";
130 };
131 };
132 class OnBulletCasingEject
133 {
134 class ChamberSmokeRaise
135 {
136 overrideParticle="weapon_shot_chamber_smoke";
137 overridePoint="Nabojnicestart";
138 };
139 };
140 };
141 weaponStateAnim="dz\anims\anm\player\reloads\CZ75\w_CZ75_states.anm";
142 };
143 class CZ75: CZ75_Base
144 {
145 scope=2;
146 displayName="$STR_cfgWeapons_CZ750";
147 descriptionShort="$STR_cfgWeapons_CZ751";
148 model="\dz\weapons\pistols\CZ75\cz75.p3d";
149 attachments[]=
150 {
151 "pistolOptics",
152 "pistolFlashlight",
153 "pistolMuzzle"
154 };
155 itemSize[]={3,2};
156 hiddenSelectionsTextures[]=
157 {
158 "DZ\weapons\pistols\CZ75\data\cz75_co.paa"
159 };
160 hiddenSelectionsMaterials[]=
161 {
162 "DZ\weapons\pistols\CZ75\data\cz75.rvmat"
163 };
164 class DamageSystem
165 {
166 class GlobalHealth
167 {
168 class Health
169 {
170 hitpoints=170;
171 healthLevels[]=
172 {
173
174 {
175 1,
176
177 {
178 "DZ\weapons\pistols\cz75\data\cz75.rvmat"
179 }
180 },
181
182 {
183 0.69999999,
184
185 {
186 "DZ\weapons\pistols\cz75\data\cz75.rvmat"
187 }
188 },
189
190 {
191 0.5,
192
193 {
194 "DZ\weapons\pistols\cz75\data\cz75_damage.rvmat"
195 }
196 },
197
198 {
199 0.30000001,
200
201 {
202 "DZ\weapons\pistols\cz75\data\cz75_damage.rvmat"
203 }
204 },
205
206 {
207 0,
208
209 {
210 "DZ\weapons\pistols\cz75\data\cz75_destruct.rvmat"
211 }
212 }
213 };
214 };
215 };
216 };
217 };
218};
220{
221 class ProxyAttachment;
222 class ProxyCZ75: ProxyAttachment
223 {
224 scope=2;
225 inventorySlot="pistol";
226 model="\dz\weapons\pistols\CZ75\cz75.p3d";
227 };
228};