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_Firearms_Scout
4 {
5 units[]=
6 {
7 "Scout"
8 };
9 weapons[]={};
10 requiredVersion=0.1;
11 requiredAddons[]=
12 {
13 "DZ_Data",
14 "DZ_Weapons_Firearms"
15 };
16 };
17};
18class Mode_Safe;
19class Mode_SemiAuto;
20class Mode_Single;
21class Mode_Burst;
22class Mode_FullAuto;
23class OpticsInfoRifle;
24class cfgWeapons
25{
26 class BoltActionRifle_ExternalMagazine_Base;
27 class Scout_Base: BoltActionRifle_ExternalMagazine_Base
28 {
29 scope=0;
30 weight=3000;
31 repairableWithKits[]={1};
32 repairCosts[]={25};
33 modelOptics="-";
34 distanceZoomMin=100;
35 distanceZoomMax=100;
36 PPDOFProperties[]={1,0.5,50,160,4,10};
37 opticsFlare=0;
38 winchesterTypeOpticsMount=1;
39 ironsightsExcludingOptics[]=
40 {
41 "HuntingOptic"
42 };
43 WeaponLength=0.98000002;
44 ObstructionDistance=0.74000001;
45 barrelArmor=1.1109999;
46 initSpeedMultiplier=1.15;
47 chamberSize=1;
48 chamberedRound="";
49 chamberableFrom[]=
50 {
51 "Ammo_556x45",
52 "Ammo_556x45Tracer"
53 };
54 magazines[]=
55 {
56 "Mag_Scout_5Rnd"
57 };
58 magazineSwitchTime=0.38;
59 ejectType=0;
60 recoilModifier[]={1,1,1};
61 swayModifier[]={0.89999998,0.89999998,0.60000002};
62 dispersionModifier=-0.00025000001;
63 dexterityModifier=-0.2;
64 hiddenSelections[]=
65 {
66 "camo",
67 "badge_cherno"
68 };
69 simpleHiddenSelections[]=
70 {
71 "hide_barrel"
72 };
73 class NoiseShoot
74 {
75 strength=100;
76 type="shot";
77 };
78 modes[]=
79 {
80 "Single"
81 };
82 class Single: Mode_Single
83 {
84 soundSetShot[]=
85 {
86 "SCOUT_Shot_SoundSet",
87 "SCOUT_Shot_interior_SoundSet",
88 "SCOUT_Tail_SoundSet",
89 "SCOUT_InteriorTail_SoundSet",
90 "SCOUT_Tail_2D_SoundSet"
91 };
92 soundSetShotExt[]=
93 {
94
95 {
96 "SCOUT_silencer_SoundSet",
97 "SCOUT_silencerTail_SoundSet",
98 "SCOUT_silencerInteriorTail_SoundSet"
99 },
100
101 {
102 "SCOUT_silencerHomeMade_SoundSet",
103 "SCOUT_silencerHomeMadeTail_SoundSet",
104 "SCOUT_silencerInteriorHomeMadeTail_SoundSet"
105 }
106 };
107 reloadTime=2;
108 recoil="recoil_scout";
109 recoilProne="recoil_scout_prone";
110 dispersion=0.0015;
111 magazineSlot="magazine";
112 };
113 class OpticsInfo: OpticsInfoRifle
114 {
115 modelOptics="-";
116 distanceZoomMin=100;
117 distanceZoomMax=100;
118 };
119 class InventorySlotsOffsets
120 {
121 class Shoulder
122 {
123 position[]={0,-0.02,-0.050000001};
124 orientation[]={0,-30,0};
125 };
126 class Melee
127 {
128 position[]={0,0,0.050000001};
129 orientation[]={0,30,0};
130 };
131 };
132 class Particles
133 {
134 class OnFire
135 {
136 class MuzzleFlash
137 {
138 overrideParticle="weapon_shot_mosin9130_01";
139 ignoreIfSuppressed=1;
140 illuminateWorld=1;
141 positionOffset[]={-0.050000001,0,0};
142 };
143 };
144 class OnOverheating
145 {
146 maxOverheatingValue=1;
147 shotsToStartOverheating=1;
148 overheatingDecayInterval=0.5;
149 class SmokingBarrel1
150 {
151 overrideParticle="smoking_barrel_small";
152 onlyWithinOverheatLimits[]={0.1,1};
153 positionOffset[]={0,0,0};
154 onlyWithinRainLimits[]={0,0.2};
155 };
156 class OpenChamberSmoke
157 {
158 onlyIfBoltIsOpen=1;
159 overrideParticle="smoking_barrel_small";
160 overridePoint="Nabojnicestart";
161 };
162 };
163 class OnBulletCasingEject
164 {
165 class ChamberSmokeRaise
166 {
167 overrideParticle="weapon_shot_chamber_smoke";
168 overridePoint="Nabojnicestart";
169 };
170 };
171 };
172 weaponStateAnim="dz\anims\anm\player\reloads\Scout\w_Scout_states.anm";
173 };
174 class Scout: Scout_Base
175 {
176 scope=2;
177 displayName="$STR_cfgWeapons_Scout0";
178 descriptionShort="$STR_cfgWeapons_Scout1";
179 model="\dz\weapons\firearms\scout\scout.p3d";
180 attachments[]=
181 {
182 "weaponWrap",
183 "weaponOptics",
184 "weaponMuzzleM4"
185 };
186 itemSize[]={9,3};
187 hiddenSelectionsTextures[]=
188 {
189 "dz\weapons\firearms\scout\data\scout_co.paa",
190 ""
191 };
192 hiddenSelectionsMaterials[]=
193 {
194 "dz\weapons\firearms\scout\data\scout.rvmat",
195 ""
196 };
197 class DamageSystem
198 {
199 class GlobalHealth
200 {
201 class Health
202 {
203 hitpoints=250;
204 healthLevels[]=
205 {
206
207 {
208 1,
209
210 {
211 "DZ\weapons\firearms\scout\data\scout.rvmat"
212 }
213 },
214
215 {
216 0.69999999,
217
218 {
219 "DZ\weapons\firearms\scout\data\scout.rvmat"
220 }
221 },
222
223 {
224 0.5,
225
226 {
227 "DZ\weapons\firearms\scout\data\scout_damage.rvmat"
228 }
229 },
230
231 {
232 0.30000001,
233
234 {
235 "DZ\weapons\firearms\scout\data\scout_damage.rvmat"
236 }
237 },
238
239 {
240 0,
241
242 {
243 "DZ\weapons\firearms\scout\data\scout_destruct.rvmat"
244 }
245 }
246 };
247 };
248 };
249 };
250 };
251 class Scout_Chernarus: Scout
252 {
253 scope=2;
254 hiddenSelectionsTextures[]=
255 {
256 "dz\weapons\firearms\scout\data\scout_co.paa",
257 "#(argb,8,8,3)color(0.2,0.2,0.2,1.0,co)"
258 };
259 hiddenSelectionsMaterials[]=
260 {
261 "dz\weapons\firearms\scout\data\scout.rvmat",
262 "dz\weapons\firearms\scout\data\badge_cherno.rvmat"
263 };
264 };
265 class Scout_Livonia: Scout
266 {
267 scope=2;
268 hiddenSelectionsTextures[]=
269 {
270 "dz\weapons\firearms\scout\data\scout_co.paa",
271 "#(argb,8,8,3)color(0.2,0.2,0.2,1.0,co)"
272 };
273 hiddenSelectionsMaterials[]=
274 {
275 "dz\weapons\firearms\scout\data\scout.rvmat",
276 "dz\weapons\firearms\scout\data\badge_livonia.rvmat"
277 };
278 };
279};