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_Weapons_Shotguns_MP133
4 {
5 units[]=
6 {
7 "ShotgunMp133",
8 "ShotgunMp133_Pistol_Grip"
9 };
10 weapons[]={};
11 requiredVersion=0.1;
12 requiredAddons[]=
13 {
14 "DZ_Data",
15 "DZ_Sounds_Weapons"
16 };
17 };
18};
19class Mode_Safe;
20class Mode_SemiAuto;
21class Mode_Single;
22class Mode_Burst;
23class Mode_FullAuto;
25class cfgWeapons
26{
27 class Shotgun_Base;
28 class R12_Base: Shotgun_Base
29 {
30 scope=0;
31 absorbency=0;
32 repairableWithKits[]={1};
33 repairCosts[]={25};
34 chamberSize=7;
35 chamberedRound="";
36 chamberableFrom[]=
37 {
38 "Ammo_12gaPellets",
39 "Ammo_12gaSlug",
40 "Ammo_12gaRubberSlug",
41 "Ammo_12gaBeanbag"
42 };
43 magazines[]={};
44 DisplayMagazine=0;
45 PPDOFProperties[]={1,0.5,10,140,4,10};
46 WeaponLength=1.0352499;
47 ObstructionDistance=0.80699998;
48 barrelArmor=2;
49 initSpeedMultiplier=1.25;
50 ejectType=1;
51 recoilModifier[]={1,1,1};
52 swayModifier[]={2.3,2.3,0.85000002};
53 hiddenSelections[]=
54 {
55 "camo"
56 };
57 simpleHiddenSelections[]=
58 {
59 "hide_barrel"
60 };
61 class NoiseShoot
62 {
63 strength=100;
64 type="shot";
65 };
66 modes[]=
67 {
68 "SemiAuto"
69 };
70 class SemiAuto: Mode_SemiAuto
71 {
72 soundSetShot[]=
73 {
74 "R12_Shot_SoundSet",
75 "R12_Tail_SoundSet",
76 "R12_InteriorTail_SoundSet",
77 "R12_Slapback_SoundSet",
78 "R12_Tail_2D_SoundSet",
79 "R12_Shot_Interior_SoundSet"
80 };
81 reloadTime=0.18000001;
82 recoil="recoil_R12";
83 recoilProne="recoil_R12_prone";
84 dispersion=0.0060000001;
85 firespreadangle=1.5;
86 magazineSlot="magazine";
87 };
88 class OpticsInfo: OpticsInfoShotgun
89 {
90 memoryPointCamera="eye";
91 discreteDistance[]={25};
92 discreteDistanceInitIndex=0;
93 modelOptics="-";
94 distanceZoomMin=100;
95 distanceZoomMax=100;
96 };
97 class InventorySlotsOffsets
98 {
99 class Shoulder
100 {
101 position[]={-0.029999999,-0.0099999998,0.0099999998};
102 orientation[]={0,0,0};
103 };
104 class Melee
105 {
106 position[]={-0.029999999,0,-0.029999999};
107 orientation[]={0,0,0};
108 };
109 };
110 class Particles
111 {
112 class OnFire
113 {
114 class SmokeCloud
115 {
116 overrideParticle="weapon_shot_winded_smoke";
117 };
118 class MuzzleFlash
119 {
120 overrideParticle="weapon_shot_mp133_01";
121 ignoreIfSuppressed=1;
122 illuminateWorld=1;
123 positionOffset[]={0,0,0};
124 };
125 class BadlyDamagedChamberSmoke
126 {
127 overrideParticle="weapon_shot_chamber_smoke";
128 overridePoint="Nabojnicestart";
129 overrideDirectionPoint="Nabojniceend";
130 onlyWithinHealthLabel[]={3,4};
131 };
132 class BadlyDamagedChamberSmokeRaise
133 {
134 overrideParticle="weapon_shot_chamber_smoke_raise";
135 overridePoint="Nabojnicestart";
136 onlyWithinHealthLabel[]={3,4};
137 };
138 };
139 class OnBulletCasingEject
140 {
141 class ChamberSmokeRaise
142 {
143 overrideParticle="weapon_shot_chamber_smoke";
144 overridePoint="Nabojnicestart";
145 };
146 };
147 };
148 weaponStateAnim="dz\anims\anm\player\reloads\R12\w_R12_states.anm";
149 boneRemap[]=
150 {
151 "bolt",
152 "Weapon_Bolt",
153 "bolt_link",
154 "Weapon_Bone_01",
155 "loading",
156 "Weapon_Bone_02",
157 "trigger",
158 "Weapon_Trigger",
159 "bullet",
160 "Weapon_Bullet"
161 };
162 };
163 class R12: R12_Base
164 {
165 scope=2;
166 displayName="$STR_cfgWeapons_R120";
167 descriptionShort="$STR_cfgWeapons_R121";
168 model="\dz\weapons\shotguns\Remington_r12\R12.p3d";
169 animName="ShotgunR12";
170 attachments[]=
171 {
172 "weaponOptics",
173 "weaponWrap",
174 "weaponFlashlight"
175 };
176 itemSize[]={9,3};
177 weight=3260;
178 hiddenSelectionsTextures[]=
179 {
180 "dz\weapons\shotguns\Remington_r12\data\remington_r12_co.paa"
181 };
182 hiddenSelectionsMaterials[]=
183 {
184 "dz\weapons\shotguns\Remington_r12\data\Remington_r12.rvmat"
185 };
186 class DamageSystem
187 {
188 class GlobalHealth
189 {
190 class Health
191 {
192 hitpoints=225;
193 healthLevels[]=
194 {
195
196 {
197 1,
198
199 {
200 "DZ\weapons\shotguns\Remington_r12\data\Remington_r12.rvmat"
201 }
202 },
203
204 {
205 0.69999999,
206
207 {
208 "DZ\weapons\shotguns\Remington_r12\data\Remington_r12.rvmat"
209 }
210 },
211
212 {
213 0.5,
214
215 {
216 "DZ\weapons\shotguns\Remington_r12\data\Remington_r12_damage.rvmat"
217 }
218 },
219
220 {
221 0.30000001,
222
223 {
224 "DZ\weapons\shotguns\Remington_r12\data\Remington_r12_damage.rvmat"
225 }
226 },
227
228 {
229 0,
230
231 {
232 "DZ\weapons\shotguns\Remington_r12\data\Remington_r12_destruct.rvmat"
233 }
234 }
235 };
236 };
237 };
238 };
239 };
240};