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_Gear_Navigation
4 {
5 units[]={};
6 weapons[]={};
7 requiredVersion=0.1;
8 requiredAddons[]=
9 {
10 "DZ_Data"
11 };
12 };
13};
15{
16 class Name
17 {
18 name="keypoint";
19 drawStyle="name";
20 texture="#(argb,1,1,1)color(1,1,1,1)";
21 color[]={0,0,0,1};
22 size=0;
23 font="gui/fonts/MetronBook-Bold28";
24 textSize=0.029999999;
25 shadow=0;
26 importance=1;
27 };
28 class NameIcon
29 {
30 name="keypoint";
31 drawStyle="icon";
32 texture="#(argb,1,1,1)color(1,1,1,1)";
33 color[]={0,0,0,1};
34 size=0;
35 font="gui/fonts/MetronBook-Bold28";
36 textSize=0.029999999;
37 shadow=0;
38 importance=1;
39 };
40 class Capital: Name
41 {
42 textSize=0.059999999;
43 importance=7;
44 };
45 class City: Name
46 {
47 textSize=0.050000001;
48 importance=6;
49 };
50 class Village: Name
51 {
52 textSize=0.039999999;
53 importance=5;
54 };
55 class Local: Name
56 {
57 color[]={0.44,0.38,0.30000001,1};
58 textSize=0.029999999;
59 importance=2;
60 };
61 class Marine: Name
62 {
63 color[]={0.050000001,0.40000001,0.80000001,0.80000001};
64 textSize=0.029999999;
65 importance=2;
66 };
67 class Ruin: NameIcon
68 {
69 texture="\DZ\gear\navigation\data\map_ruin_ca.paa";
70 textSize=0.029999999;
71 importance=2;
72 size=7;
73 };
74 class Camp: NameIcon
75 {
76 color[]={0.44,0.38,0.30000001,1};
77 texture="\DZ\gear\navigation\data\map_camp_ca.paa";
78 textSize=0.039999999;
79 size=9;
80 };
81 class Hill: NameIcon
82 {
83 color[]={0,0,0,1};
84 texture="\DZ\gear\navigation\data\map_hill_ca.paa";
85 size=9;
86 };
87 class ViewPoint: NameIcon
88 {
89 color[]={0.77999997,0,0.050000001,1};
90 texture="\DZ\gear\navigation\data\map_viewpoint_ca.paa";
91 size=9;
92 };
93 class RockArea: NameIcon
94 {
95 color[]={0,0,0,1};
96 texture="\DZ\gear\navigation\data\map_rock_ca.paa";
97 size=9;
98 };
99 class RailroadStation: NameIcon
100 {
101 color[]={0,0,0,1};
102 texture="\DZ\gear\navigation\data\map_station_ca.paa";
103 size=9;
104 };
105 class IndustrialSite: NameIcon
106 {
107 color[]={0,0,0,1};
108 texture="\DZ\gear\navigation\data\map_factory_ca.paa";
109 size=9;
110 };
111 class LocalOffice: NameIcon
112 {
113 color[]={0.22,0.20999999,0.50999999,1};
114 texture="\DZ\gear\navigation\data\map_govoffice_ca.paa";
115 size=10;
116 };
117 class BorderCrossing: NameIcon
118 {
119 color[]={0.77999997,0,0.050000001,1};
120 texture="\DZ\gear\navigation\data\map_border_cross_ca.paa";
121 size=9;
122 };
123 class VegetationBroadleaf: NameIcon
124 {
125 color[]={0.25,0.40000001,0.2,1};
126 texture="\DZ\gear\navigation\data\map_broadleaf_ca.paa";
127 size=9;
128 };
129 class VegetationFir: NameIcon
130 {
131 color[]={0.25,0.40000001,0.2,1};
132 texture="\DZ\gear\navigation\data\map_fir_ca.paa";
133 size=9;
134 };
135 class VegetationPalm: NameIcon
136 {
137 color[]={0.25,0.40000001,0.2,1};
138 texture="\DZ\gear\navigation\data\map_palm_ca.paa";
139 size=9;
140 };
141 class VegetationVineyard: NameIcon
142 {
143 color[]={0.25,0.40000001,0.2,1};
144 texture="\DZ\gear\navigation\data\map_vineyard_ca.paa";
145 size=9;
146 };
147};
148class MapDefaults;
149class CfgVehicles
150{
151 class Inventory_Base;
152 class ItemMap: Inventory_Base
153 {
154 };
155 class ItemCompass: Inventory_Base
156 {
157 };
158 class ItemGPS: Inventory_Base
159 {
160 };
161 class ChernarusMap: ItemMap
162 {
163 scope=2;
164 displayName="$STR_CfgVehicles_ChernarusMap0";
165 descriptionShort="$STR_CfgVehicles_ChernarusMap1";
166 model="\dz\gear\navigation\Map_chernarus_animated.p3d";
167 rotationFlags=17;
168 itemSize[]={1,2};
169 weight=40;
170 selectionPaper="paper";
171 simulation="ItemMap";
172 hiddenSelections[]=
173 {
174 "texture_map_closed",
175 "texture_map_opened",
176 "texture_legend"
177 };
178 absorbency=1;
179 class DamageSystem
180 {
181 class GlobalHealth
182 {
183 class Health
184 {
185 hitpoints=50;
186 healthLevels[]=
187 {
188
189 {
190 1,
191
192 {
193 "DZ\gear\navigation\data\Map_chernarus.rvmat"
194 }
195 },
196
197 {
198 0.69999999,
199
200 {
201 "DZ\gear\navigation\data\Map_chernarus.rvmat"
202 }
203 },
204
205 {
206 0.5,
207
208 {
209 "DZ\gear\navigation\data\Map_chernarus_damage.rvmat"
210 }
211 },
212
213 {
214 0.30000001,
215
216 {
217 "DZ\gear\navigation\data\Map_chernarus_damage.rvmat"
218 }
219 },
220
221 {
222 0,
223
224 {
225 "DZ\gear\navigation\data\Map_chernarus_destruct.rvmat"
226 }
227 }
228 };
229 };
230 };
231 };
232 class MapProperties: MapDefaults
233 {
234 scaleMin=0.079999998;
235 scaleMax=0.347;
236 };
237 class AnimationSources
238 {
239 class map_closed
240 {
241 source="user";
242 animPeriod=0.1;
243 initPhase=0;
244 };
245 class map_opened
246 {
247 source="user";
248 animPeriod=0.1;
249 initPhase=1;
250 };
251 };
252 };
253 class ChernarusMap_Open: ChernarusMap
254 {
255 };
256 class ChernarusMap_Open_Test: ChernarusMap
257 {
258 descriptionShort="a map for the video team";
259 class AnimationSources
260 {
261 class map_closed
262 {
263 source="user";
264 animPeriod=0.1;
265 initPhase=1;
266 };
267 class map_opened
268 {
269 source="user";
270 animPeriod=0.1;
271 initPhase=0;
272 };
273 };
274 };
275 class Compass: ItemCompass
276 {
277 scope=2;
278 displayName="$STR_CfgVehicles_Compass0";
279 descriptionShort="$STR_CfgVehicles_Compass1";
280 model="\dz\gear\navigation\compass.p3d";
281 animClass="Compass";
282 itemSize[]={1,2};
283 weight=190;
284 simulation="ItemCompass";
285 inventorySlot[]=
286 {
287 "WalkieTalkie",
288 "Chemlight"
289 };
290 class DamageSystem
291 {
292 class GlobalHealth
293 {
294 class Health
295 {
296 hitpoints=70;
297 healthLevels[]=
298 {
299
300 {
301 1,
302
303 {
304 "DZ\gear\navigation\data\compass.rvmat"
305 }
306 },
307
308 {
309 0.69999999,
310
311 {
312 "DZ\gear\navigation\data\compass.rvmat"
313 }
314 },
315
316 {
317 0.5,
318
319 {
320 "DZ\gear\navigation\data\compass_damage.rvmat"
321 }
322 },
323
324 {
325 0.30000001,
326
327 {
328 "DZ\gear\navigation\data\compass_damage.rvmat"
329 }
330 },
331
332 {
333 0,
334
335 {
336 "DZ\gear\navigation\data\compass_destruct.rvmat"
337 }
338 }
339 };
340 };
341 };
342 };
343 class AnimationSources
344 {
345 class cover
346 {
347 source="user";
348 animPeriod=0.5;
349 initPhase=0;
350 };
351 };
352 soundImpactType="glass";
353 class AnimEvents
354 {
355 class SoundWeapon
356 {
357 class compass_open
358 {
359 soundSet="compass_open_SoundSet";
360 id=204;
361 };
362 class compass_close
363 {
364 soundSet="compass_close_SoundSet";
365 id=205;
366 };
367 };
368 };
369 class InventorySlotsOffsets
370 {
371 class Chemlight
372 {
373 position[]={0.050000001,0.059999999,0.050000001};
374 orientation[]={0,0,-97};
375 };
376 class WalkieTalkie
377 {
378 position[]={-0.050000001,0.055,0.064999998};
379 orientation[]={-90,0,-90};
380 };
381 };
382 };
383 class OrienteeringCompass: ItemCompass
384 {
385 scope=2;
386 displayName="$STR_CfgVehicles_OrienteeringCompass0";
387 descriptionShort="$STR_CfgVehicles_OrienteeringCompass1";
388 model="\dz\gear\navigation\compass_modern.p3d";
389 animClass="Compass";
390 itemSize[]={1,2};
391 weight=130;
392 simulation="ItemCompass";
393 inventorySlot[]=
394 {
395 "WalkieTalkie",
396 "Chemlight"
397 };
398 class DamageSystem
399 {
400 class GlobalHealth
401 {
402 class Health
403 {
404 hitpoints=70;
405 healthLevels[]=
406 {
407
408 {
409 1,
410
411 {
412 "DZ\gear\navigation\data\compass_modern.rvmat"
413 }
414 },
415
416 {
417 0.69999999,
418
419 {
420 "DZ\gear\navigation\data\compass_modern.rvmat"
421 }
422 },
423
424 {
425 0.5,
426
427 {
428 "DZ\gear\navigation\data\compass_modern_damage.rvmat"
429 }
430 },
431
432 {
433 0.30000001,
434
435 {
436 "DZ\gear\navigation\data\compass_modern_damage.rvmat"
437 }
438 },
439
440 {
441 0,
442
443 {
444 "DZ\gear\navigation\data\compass_modern_destruct.rvmat"
445 }
446 }
447 };
448 };
449 };
450 };
451 class AnimationSources
452 {
453 class wheel
454 {
455 source="user";
456 animPeriod=0;
457 initPhase=0;
458 };
459 };
460 soundImpactType="plastic";
461 class InventorySlotsOffsets
462 {
463 class Chemlight
464 {
465 position[]={0.039999999,0.079999998,0.075000003};
466 orientation[]={-10,0,-100};
467 };
468 class WalkieTalkie
469 {
470 position[]={-0.064999998,0.079999998,0.064999998};
471 orientation[]={-90,0,-90};
472 };
473 };
474 };
475 class GPSReceiver: ItemGPS
476 {
477 scope=2;
478 displayName="$STR_GPSReceiver0";
479 descriptionShort="$STR_GPSReceiver1";
480 model="\dz\gear\navigation\GPSReceiver.p3d";
481 itemSize[]={1,2};
482 weight=350;
483 rotationFlags=1;
484 simulation="ItemGPS";
485 inventorySlot[]=
486 {
487 "WalkieTalkie",
488 "Chemlight"
489 };
490 attachments[]=
491 {
492 "BatteryD"
493 };
494 repairableWithKits[]={7};
495 repairCosts[]={50};
496 class EnergyManager
497 {
498 hasIcon=1;
499 autoSwitchOffWhenInCargo=1;
500 energyUsagePerSecond=0.0099999998;
501 plugType=1;
502 attachmentAction=1;
503 updateInterval=3;
504 };
505 hiddenSelections[]=
506 {
507 "grid_1_0",
508 "grid_1_1",
509 "grid_1_2",
510 "grid_2_0",
511 "grid_2_1",
512 "grid_2_2",
513 "alt_0",
514 "alt_1",
515 "alt_2",
516 "alt_3"
517 };
518 hiddenSelectionsTextures[]=
519 {
520 "dz\gear\navigation\data\GPS_dash_ca.paa",
521 "dz\gear\navigation\data\GPS_dash_ca.paa",
522 "dz\gear\navigation\data\GPS_dash_ca.paa",
523 "dz\gear\navigation\data\GPS_dash_ca.paa",
524 "dz\gear\navigation\data\GPS_dash_ca.paa",
525 "dz\gear\navigation\data\GPS_dash_ca.paa",
526 "dz\gear\navigation\data\GPS_dash_ca.paa",
527 "dz\gear\navigation\data\GPS_dash_ca.paa",
528 "dz\gear\navigation\data\GPS_dash_ca.paa",
529 "dz\gear\navigation\data\GPS_dash_ca.paa"
530 };
531 class DamageSystem
532 {
533 class GlobalHealth
534 {
535 class Health
536 {
537 hitpoints=50;
538 healthLevels[]=
539 {
540
541 {
542 1,
543
544 {
545 "DZ\gear\navigation\data\GPSReceiver.rvmat"
546 }
547 },
548
549 {
550 0.69999999,
551
552 {
553 "DZ\gear\navigation\data\GPSReceiver.rvmat"
554 }
555 },
556
557 {
558 0.5,
559
560 {
561 "DZ\gear\navigation\data\GPSReceiver_damage.rvmat"
562 }
563 },
564
565 {
566 0.30000001,
567
568 {
569 "DZ\gear\navigation\data\GPSReceiver_damage.rvmat"
570 }
571 },
572
573 {
574 0,
575
576 {
577 "DZ\gear\navigation\data\GPSReceiver_destruct.rvmat"
578 }
579 }
580 };
581 };
582 };
583 };
584 class InventorySlotsOffsets
585 {
586 class Chemlight
587 {
588 position[]={0,0,0};
589 orientation[]={90,10,0};
590 };
591 };
592 class AnimationSources
593 {
594 class DisplayState
595 {
596 source="user";
597 animPeriod=0.1;
598 initPhase=1;
599 };
600 };
601 soundImpactType="plastic";
602 };
603};
605{
606 class ProxyAttachment;
607 class ProxyGPSReceiver: ProxyAttachment
608 {
609 scope=2;
610 inventorySlot[]=
611 {
612 "WalkieTalkie"
613 };
614 model="\dz\gear\navigation\GPSReceiver.p3d";
615 };
616};