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_Radio
4 {
5 units[]={};
6 weapons[]={};
7 requiredVersion=0.1;
8 requiredAddons[]=
9 {
10 "DZ_Data"
11 };
12 };
13};
14class CfgVehicles
15{
16 class Inventory_Base;
17 class HouseNoDestruct;
18 class Transmitter_Base: Inventory_Base
19 {
20 scope=0;
21 };
22 class PersonalRadio: Transmitter_Base
23 {
24 scope=2;
25 displayName="$STR_CfgVehicles_PersonalRadio0";
26 descriptionShort="$STR_CfgVehicles_PersonalRadio1";
27 lootTag[]=
28 {
29 "Police",
30 "Hunting",
31 "Camping",
32 "Military_east"
33 };
34 model="\dz\gear\radio\WalkieTalkie.p3d";
35 weight=250;
36 absorbency=0.5;
37 itemSize[]={1,3};
38 inventorySlot[]=
39 {
40 "WalkieTalkie",
41 "Chemlight"
42 };
43 rotationFlags=1;
44 oldpower=0;
45 isMeleeWeapon=1;
46 class MeleeModes
47 {
48 class Default
49 {
50 ammo="MeleeLightBlunt";
51 range=1;
52 };
53 class Heavy
54 {
55 ammo="MeleeLightBlunt_Heavy";
56 range=1;
57 };
58 class Sprint
59 {
60 ammo="MeleeLightBlunt_Heavy";
61 range=2.8;
62 };
63 };
64 simulation="itemTransmitter";
65 inputRange[]={2,5,10};
66 range=5000;
67 attachments[]=
68 {
69 "BatteryD"
70 };
71 repairableWithKits[]={7};
72 repairCosts[]={25};
73 class EnergyManager
74 {
75 hasIcon=1;
76 autoSwitchOff=1;
77 energyUsagePerSecond=0.0099999998;
78 plugType=1;
79 attachmentAction=1;
80 wetnessExposure=0.1;
81 };
82 class ClothingTypes
83 {
84 };
85 class DamageSystem
86 {
87 class GlobalHealth
88 {
89 class Health
90 {
91 hitpoints=50;
92 healthLevels[]=
93 {
94
95 {
96 1,
97
98 {
99 "DZ\gear\radio\data\WalkieTalkie.rvmat"
100 }
101 },
102
103 {
104 0.69999999,
105
106 {
107 "DZ\gear\radio\data\WalkieTalkie.rvmat"
108 }
109 },
110
111 {
112 0.5,
113
114 {
115 "DZ\gear\radio\data\WalkieTalkie_damage.rvmat"
116 }
117 },
118
119 {
120 0.30000001,
121
122 {
123 "DZ\gear\radio\data\WalkieTalkie_damage.rvmat"
124 }
125 },
126
127 {
128 0,
129
130 {
131 "DZ\gear\radio\data\WalkieTalkie_destruct.rvmat"
132 }
133 }
134 };
135 };
136 };
137 };
138 soundImpactType="plastic";
139 class InventorySlotsOffsets
140 {
141 class Chemlight
142 {
143 position[]={-0.02,0,0};
144 orientation[]={90,0,0};
145 };
146 };
147 class AnimEvents
148 {
149 class SoundWeapon
150 {
151 class turnOnRadio
152 {
153 soundSet="turnOnRadio_SoundSet";
154 id=1006;
155 };
156 class turnOffRadio
157 {
158 soundSet="turnOffRadioNoise_SoundSet";
159 id=1007;
160 };
161 };
162 };
163 };
164 class BaseRadio: Transmitter_Base
165 {
166 scope=2;
167 displayName="$STR_CfgVehicles_BaseRadio0";
168 descriptionShort="$STR_CfgVehicles_BaseRadio1";
169 model="\dz\gear\radio\Base_radio_station_g.p3d";
170 weight=10000;
171 absorbency=0.5;
172 itemSize[]={5,5};
173 inventorySlot[]=
174 {
175 "Back"
176 };
177 class ClothingTypes
178 {
179 male="\dz\gear\radio\Base_radio_station_m.p3d";
180 female="\dz\gear\radio\Base_radio_station_f.p3d";
181 };
182 oldpower=0;
183 simulation="itemTransmitter";
184 inputRange=8;
185 range=50000;
186 attachments[]=
187 {
188 "CarBattery"
189 };
190 repairableWithKits[]={7};
191 repairCosts[]={25};
192 class EnergyManager
193 {
194 hasIcon=1;
195 autoSwitchOff=1;
196 energyUsagePerSecond=0.050000001;
197 plugType=5;
198 attachmentAction=1;
199 };
200 class DamageSystem
201 {
202 class GlobalHealth
203 {
204 class Health
205 {
206 hitpoints=100;
207 healthLevels[]=
208 {
209
210 {
211 1,
212
213 {
214 "DZ\gear\radio\data\Base_radio_station.rvmat"
215 }
216 },
217
218 {
219 0.69999999,
220
221 {
222 "DZ\gear\radio\data\Base_radio_station.rvmat"
223 }
224 },
225
226 {
227 0.5,
228
229 {
230 "DZ\gear\radio\data\Base_radio_station_damage.rvmat"
231 }
232 },
233
234 {
235 0.30000001,
236
237 {
238 "DZ\gear\radio\data\Base_radio_station_damage.rvmat"
239 }
240 },
241
242 {
243 0,
244
245 {
246 "DZ\gear\radio\data\Base_radio_station_destruct.rvmat"
247 }
248 }
249 };
250 };
251 };
252 };
253 soundImpactType="metal";
254 soundAttType="Small";
255 };
256 class Megaphone: Inventory_Base
257 {
258 scope=2;
259 displayName="$STR_CfgVehicles_Megaphone0";
260 descriptionShort="$STR_CfgVehicles_Megaphone1";
261 lootTag[]=
262 {
263 "Police",
264 "Military_east"
265 };
266 model="\dz\gear\radio\megaphone.p3d";
267 weight=2400;
268 absorbency=0.5;
269 itemSize[]={3,4};
270 rotationFlags=17;
271 oldpower=0;
272 class DamageSystem
273 {
274 class GlobalHealth
275 {
276 class Health
277 {
278 hitpoints=70;
279 healthLevels[]=
280 {
281
282 {
283 1,
284
285 {
286 "DZ\gear\radio\data\megaphone.rvmat"
287 }
288 },
289
290 {
291 0.69999999,
292
293 {
294 "DZ\gear\radio\data\megaphone.rvmat"
295 }
296 },
297
298 {
299 0.5,
300
301 {
302 "DZ\gear\radio\data\megaphone_damage.rvmat"
303 }
304 },
305
306 {
307 0.30000001,
308
309 {
310 "DZ\gear\radio\data\megaphone_damage.rvmat"
311 }
312 },
313
314 {
315 0,
316
317 {
318 "DZ\gear\radio\data\megaphone_destruct.rvmat"
319 }
320 }
321 };
322 };
323 };
324 };
325 class MeleeModes
326 {
327 class Default
328 {
329 ammo="MeleeLightBlunt";
330 range=1;
331 };
332 class Heavy
333 {
334 ammo="MeleeLightBlunt_Heavy";
335 range=1;
336 };
337 class Sprint
338 {
339 ammo="MeleeLightBlunt_Heavy";
340 range=2.8;
341 };
342 };
343 simulation="itemMegaphone";
344 range=200;
345 gain=3;
346 attachments[]=
347 {
348 "BatteryD"
349 };
350 repairableWithKits[]={5,7};
351 repairCosts[]={30,25};
352 class EnergyManager
353 {
354 hasIcon=1;
355 autoSwitchOff=1;
356 energyUsagePerSecond=0.02;
357 attachmentAction=1;
358 };
359 soundImpactType="plastic";
360 };
361 class Radio: Inventory_Base
362 {
363 scope=2;
364 displayName="$STR_CfgVehicles_Radio0";
365 descriptionShort="$STR_CfgVehicles_Radio1";
366 model="\dz\gear\radio\unitra_wilga.p3d";
367 animClass="Knife";
368 weight=1700;
369 itemSize[]={2,3};
370 fragility=0.0099999998;
371 absorbency=0.5;
372 simulation="ItemRadio";
373 attachments[]=
374 {
375 "BatteryD"
376 };
377 oldpower=0;
378 repairableWithKits[]={7};
379 repairCosts[]={25};
380 class EnergyManager
381 {
382 hasIcon=1;
383 autoSwitchOff=1;
384 energyUsagePerSecond=0.02;
385 attachmentAction=1;
386 wetnessExposure=0.1;
387 };
388 class DamageSystem
389 {
390 class GlobalHealth
391 {
392 class Health
393 {
394 hitpoints=50;
395 healthLevels[]=
396 {
397
398 {
399 1,
400
401 {
402 "DZ\gear\radio\data\unitra_wilga.rvmat"
403 }
404 },
405
406 {
407 0.69999999,
408
409 {
410 "DZ\gear\radio\data\unitra_wilga.rvmat"
411 }
412 },
413
414 {
415 0.5,
416
417 {
418 "DZ\gear\radio\data\unitra_wilga_damage.rvmat"
419 }
420 },
421
422 {
423 0.30000001,
424
425 {
426 "DZ\gear\radio\data\unitra_wilga_damage.rvmat"
427 }
428 },
429
430 {
431 0,
432
433 {
434 "DZ\gear\radio\data\unitra_wilga_destruct.rvmat"
435 }
436 }
437 };
438 };
439 };
440 };
441 class MeleeModes
442 {
443 class Default
444 {
445 ammo="MeleeLightBlunt";
446 range=1;
447 };
448 class Heavy
449 {
450 ammo="MeleeLightBlunt_Heavy";
451 range=1;
452 };
453 class Sprint
454 {
455 ammo="MeleeLightBlunt_Heavy";
456 range=2.8;
457 };
458 };
459 class Channels
460 {
461 class Absolute80s
462 {
463 name="Absolute 80s";
464 url="http://icecast.timlradio.co.uk/a832.ogg";
465 };
466 class Absolute90s
467 {
468 name="Absolute 90s";
469 url="http://icecast.timlradio.co.uk/a932.ogg";
470 };
471 };
472 soundImpactType="plastic";
473 };
474};
476{
477 class ProxyAttachment;
478 class ProxyWalkieTalkie: ProxyAttachment
479 {
480 scope=2;
481 inventorySlot[]=
482 {
483 "WalkieTalkie"
484 };
485 model="\dz\gear\radio\WalkieTalkie.p3d";
486 };
487};