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_Muzzles
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 ItemBarrel: Inventory_Base
18 {
19 };
20 class ItemSuppressor: Inventory_Base
21 {
22 scope=0;
23 debug_ItemCategory=3;
24 inventorySlot[]=
25 {
26 "weaponMuzzle"
27 };
28 simulation="ItemSuppressor";
29 itemSize[]={1,1};
30 selectionFireAnim="zasleh";
31 soundIndex=1;
32 repairableWithKits[]={1};
33 repairCosts[]={25};
34 muzzlePos="usti hlavne";
35 barrelArmor=3000;
36 recoilModifier[]={1,1,1};
37 swayModifier[]={1,1,1};
38 isMeleeWeapon=1;
39 soundImpactType="metal";
40 };
41 class AK_Bayonet: Inventory_Base
42 {
43 scope=2;
44 displayName="$STR_cfgVehicles_AK_Bayonet0";
45 descriptionShort="$STR_cfgVehicles_AK_Bayonet1";
46 model="\dz\weapons\attachments\muzzle\bayonet_ak.p3d";
47 debug_ItemCategory=3;
48 repairableWithKits[]={4};
49 repairCosts[]={10};
50 animClass="Knife";
51 suicideAnim="onehanded";
52 rotationFlags=17;
53 reversed=0;
54 weight=470;
55 itemSize[]={1,3};
56 itemModelLength=0.34599999;
57 itemAttachOffset=-0.16;
58 lootTag[]=
59 {
60 "Military_east"
61 };
62 lootCategory="Attachments";
63 openItemSpillRange[]={10,20};
64 inventorySlot[]=
65 {
66 "weaponBayonetAK",
67 "Knife"
68 };
69 recoilModifier[]={1,1,1};
70 swayModifier[]={1,1,1};
71 itemInfo[]=
72 {
73 "Knife"
74 };
75 class DamageSystem
76 {
77 class GlobalHealth
78 {
79 class Health
80 {
81 hitpoints=150;
82 healthLevels[]=
83 {
84
85 {
86 1,
87
88 {
89 "DZ\weapons\attachments\data\Russian_AKM_Bayonet.rvmat"
90 }
91 },
92
93 {
94 0.69999999,
95
96 {
97 "DZ\weapons\attachments\data\Russian_AKM_Bayonet.rvmat"
98 }
99 },
100
101 {
102 0.5,
103
104 {
105 "DZ\weapons\attachments\data\Russian_AKM_Bayonet_damage.rvmat"
106 }
107 },
108
109 {
110 0.30000001,
111
112 {
113 "DZ\weapons\attachments\data\Russian_AKM_Bayonet_damage.rvmat"
114 }
115 },
116
117 {
118 0,
119
120 {
121 "DZ\weapons\attachments\data\Russian_AKM_Bayonet_destruct.rvmat"
122 }
123 }
124 };
125 };
126 };
127 };
128 class MeleeModes
129 {
130 class Default
131 {
132 ammo="MeleeSharpLight_4";
133 range=1.1;
134 };
135 class Heavy
136 {
137 ammo="MeleeSharpHeavy_4";
138 range=1.1;
139 };
140 class Sprint
141 {
142 ammo="MeleeSharpHeavy_4";
143 range=3.3;
144 };
145 };
146 soundImpactType="metal";
147 class AnimEvents
148 {
149 class SoundWeapon
150 {
151 class drop
152 {
153 soundset="CombatKnife_drop_SoundSet";
154 id=898;
155 };
156 class animalSkinning_in
157 {
158 soundSet="animalSkinning_in_SoundSet";
159 id=516;
160 };
161 class animalSkinning
162 {
163 soundSet="animalSkinning_SoundSet";
164 id=517;
165 };
166 class animalSkinning_out
167 {
168 soundSet="animalSkinning_out_SoundSet";
169 id=518;
170 };
171 };
172 class Sound
173 {
174 class SurfaceDig
175 {
176 class DigPrimary
177 {
178 default=906;
179 sakhal_snow=906;
180 sakhal_snow_forest=906;
181 sakhal_grass_brown=906;
182 };
183 };
184 };
185 };
186 };
187 class M9A1_Bayonet: Inventory_Base
188 {
189 scope=2;
190 displayName="$STR_cfgVehicles_M9A1_Bayonet0";
191 descriptionShort="$STR_cfgVehicles_M9A1_Bayonet1";
192 model="\dz\weapons\attachments\muzzle\bayonet_m9a1.p3d";
193 debug_ItemCategory=3;
194 repairableWithKits[]={4};
195 repairCosts[]={10};
196 animClass="Knife";
197 suicideAnim="onehanded";
198 rotationFlags=17;
199 reversed=0;
200 weight=450;
201 itemSize[]={1,3};
202 itemModelLength=0.30000001;
203 itemAttachOffset=-0.18000001;
204 lootTag[]=
205 {
206 "Military_west"
207 };
208 lootCategory="Attachments";
209 openItemSpillRange[]={10,20};
210 inventorySlot[]=
211 {
212 "weaponBayonet",
213 "Knife"
214 };
215 recoilModifier[]={1,1,1};
216 swayModifier[]={1,1,1};
217 itemInfo[]=
218 {
219 "Knife"
220 };
221 class DamageSystem
222 {
223 class GlobalHealth
224 {
225 class Health
226 {
227 hitpoints=150;
228 healthLevels[]=
229 {
230
231 {
232 1,
233
234 {
235 "DZ\weapons\attachments\data\m4_bayonet.rvmat"
236 }
237 },
238
239 {
240 0.69999999,
241
242 {
243 "DZ\weapons\attachments\data\m4_bayonet.rvmat"
244 }
245 },
246
247 {
248 0.5,
249
250 {
251 "DZ\weapons\attachments\data\m4_bayonet_damage.rvmat"
252 }
253 },
254
255 {
256 0.30000001,
257
258 {
259 "DZ\weapons\attachments\data\m4_bayonet_damage.rvmat"
260 }
261 },
262
263 {
264 0,
265
266 {
267 "DZ\weapons\attachments\data\m4_bayonet_destruct.rvmat"
268 }
269 }
270 };
271 };
272 };
273 };
274 class MeleeModes
275 {
276 class Default
277 {
278 ammo="MeleeSharpLight_4";
279 range=1.2;
280 };
281 class Heavy
282 {
283 ammo="MeleeSharpHeavy_4";
284 range=1.2;
285 };
286 class Sprint
287 {
288 ammo="MeleeSharpHeavy_4";
289 range=3.3;
290 };
291 };
292 soundImpactType="metal";
293 class AnimEvents
294 {
295 class SoundWeapon
296 {
297 class drop
298 {
299 soundset="CombatKnife_drop_SoundSet";
300 id=898;
301 };
302 class animalSkinning_in
303 {
304 soundSet="animalSkinning_in_SoundSet";
305 id=516;
306 };
307 class animalSkinning
308 {
309 soundSet="animalSkinning_SoundSet";
310 id=517;
311 };
312 class animalSkinning_out
313 {
314 soundSet="animalSkinning_out_SoundSet";
315 id=518;
316 };
317 };
318 class Sound
319 {
320 class SurfaceDig
321 {
322 class DigPrimary
323 {
324 default=906;
325 sakhal_snow=906;
326 sakhal_snow_forest=906;
327 sakhal_grass_brown=906;
328 };
329 };
330 };
331 };
332 };
333 class Mosin_Bayonet: Inventory_Base
334 {
335 scope=2;
336 displayName="$STR_cfgVehicles_Mosin_Bayonet0";
337 descriptionShort="$STR_cfgVehicles_Mosin_Bayonet1";
338 model="\dz\weapons\attachments\muzzle\bayonet_mosin.p3d";
339 debug_ItemCategory=3;
340 repairableWithKits[]={4};
341 repairCosts[]={10};
342 animClass="Knife";
343 suicideAnim="onehanded";
344 rotationFlags=12;
345 reversed=0;
346 weight=480;
347 itemSize[]={1,4};
348 itemModelLength=0.47600001;
349 itemAttachOffset=-0.13;
350 lootTag[]=
351 {
352 "Civilian"
353 };
354 lootCategory="Attachments";
355 openItemSpillRange[]={10,20};
356 inventorySlot[]=
357 {
358 "weaponBayonetMosin"
359 };
360 recoilModifier[]={1,1,1};
361 swayModifier[]={1,1,1};
362 itemInfo[]=
363 {
364 "Knife"
365 };
366 class DamageSystem
367 {
368 class GlobalHealth
369 {
370 class Health
371 {
372 hitpoints=150;
373 healthLevels[]=
374 {
375
376 {
377 1,
378
379 {
380 "DZ\weapons\attachments\data\mosin_bayonet.rvmat"
381 }
382 },
383
384 {
385 0.69999999,
386
387 {
388 "DZ\weapons\attachments\data\mosin_bayonet.rvmat"
389 }
390 },
391
392 {
393 0.5,
394
395 {
396 "DZ\weapons\attachments\data\mosin_bayonet_damage.rvmat"
397 }
398 },
399
400 {
401 0.30000001,
402
403 {
404 "DZ\weapons\attachments\data\mosin_bayonet_damage.rvmat"
405 }
406 },
407
408 {
409 0,
410
411 {
412 "DZ\weapons\attachments\data\mosin_bayonet_destruct.rvmat"
413 }
414 }
415 };
416 };
417 };
418 };
419 class MeleeModes
420 {
421 class Default
422 {
423 ammo="MeleeSharpLight_2";
424 range=1.1;
425 };
426 class Heavy
427 {
428 ammo="MeleeSharpHeavy_2";
429 range=1.1;
430 };
431 class Sprint
432 {
433 ammo="MeleeSharpHeavy_2";
434 range=3.3;
435 };
436 };
437 soundImpactType="metal";
438 class AnimEvents
439 {
440 class SoundWeapon
441 {
442 class drop
443 {
444 soundset="CombatKnife_drop_SoundSet";
445 id=898;
446 };
447 class animalSkinning_in
448 {
449 soundSet="animalSkinning_in_SoundSet";
450 id=516;
451 };
452 class animalSkinning
453 {
454 soundSet="animalSkinning_SoundSet";
455 id=517;
456 };
457 class animalSkinning_out
458 {
459 soundSet="animalSkinning_out_SoundSet";
460 id=518;
461 };
462 };
463 class Sound
464 {
465 class SurfaceDig
466 {
467 class DigPrimary
468 {
469 default=906;
470 sakhal_snow=906;
471 sakhal_snow_forest=906;
472 sakhal_grass_brown=906;
473 };
474 };
475 };
476 };
477 };
478 class SKS_Bayonet: Inventory_Base
479 {
480 scope=2;
481 displayName="$STR_cfgVehicles_SKS_Bayonet0";
482 descriptionShort="$STR_cfgVehicles_SKS_Bayonet1";
483 model="\dz\weapons\attachments\muzzle\bayonet_sks.p3d";
484 debug_ItemCategory=3;
485 repairableWithKits[]={4};
486 repairCosts[]={10};
487 animClass="Knife";
488 suicideAnim="onehanded";
489 rotationFlags=17;
490 reversed=0;
491 weight=450;
492 itemSize[]={1,4};
493 itemModelLength=0.37200001;
494 itemAttachOffset=-0.050000001;
495 lootTag[]=
496 {
497 "Military_east"
498 };
499 lootCategory="Attachments";
500 openItemSpillRange[]={10,20};
501 inventorySlot[]=
502 {
503 "weaponBayonetSKS"
504 };
505 recoilModifier[]={1,1,1};
506 swayModifier[]={1,1,1};
507 itemInfo[]=
508 {
509 "Knife"
510 };
511 class DamageSystem
512 {
513 class GlobalHealth
514 {
515 class Health
516 {
517 hitpoints=150;
518 healthLevels[]=
519 {
520
521 {
522 1,
523
524 {
525 "DZ\weapons\attachments\data\sks_bayo.rvmat"
526 }
527 },
528
529 {
530 0.69999999,
531
532 {
533 "DZ\weapons\attachments\data\sks_bayo.rvmat"
534 }
535 },
536
537 {
538 0.5,
539
540 {
541 "DZ\weapons\attachments\data\sks_bayo_damage.rvmat"
542 }
543 },
544
545 {
546 0.30000001,
547
548 {
549 "DZ\weapons\attachments\data\sks_bayo_damage.rvmat"
550 }
551 },
552
553 {
554 0,
555
556 {
557 "DZ\weapons\attachments\data\sks_bayo_destruct.rvmat"
558 }
559 }
560 };
561 };
562 };
563 };
564 class MeleeModes
565 {
566 class Default
567 {
568 ammo="MeleeSharpLight_2";
569 range=1.1;
570 };
571 class Heavy
572 {
573 ammo="MeleeSharpHeavy_2";
574 range=1.1;
575 };
576 class Sprint
577 {
578 ammo="MeleeSharpHeavy_2";
579 range=3.3;
580 };
581 };
582 soundImpactType="metal";
583 class AnimEvents
584 {
585 class SoundWeapon
586 {
587 class drop
588 {
589 soundset="CombatKnife_drop_SoundSet";
590 id=898;
591 };
592 class animalSkinning_in
593 {
594 soundSet="animalSkinning_in_SoundSet";
595 id=516;
596 };
597 class animalSkinning
598 {
599 soundSet="animalSkinning_SoundSet";
600 id=517;
601 };
602 class animalSkinning_out
603 {
604 soundSet="animalSkinning_out_SoundSet";
605 id=518;
606 };
607 };
608 class Sound
609 {
610 class SurfaceDig
611 {
612 class DigPrimary
613 {
614 default=906;
615 sakhal_snow=906;
616 sakhal_snow_forest=906;
617 sakhal_grass_brown=906;
618 };
619 };
620 };
621 };
622 };
623 class Mosin_Compensator: ItemSuppressor
624 {
625 scope=2;
626 displayName="$STR_cfgVehicles_Mosin_Compensator0";
627 descriptionShort="$STR_cfgVehicles_Mosin_Compensator1";
628 model="\dz\weapons\attachments\muzzle\mosin_compensator.p3d";
629 debug_ItemCategory=3;
630 soundIndex=0;
631 rotationFlags=17;
632 reversed=0;
633 weight=150;
634 itemSize[]={1,1};
635 itemModelLength=0.089000002;
636 barrelArmor=39.063;
637 lootTag[]=
638 {
639 "Hunting"
640 };
641 lootCategory="Attachments";
642 inventorySlot[]=
643 {
644 "weaponMuzzleMosin"
645 };
646 recoilModifier[]={0.60000002,0.60000002,0.60000002};
647 swayModifier[]={1,1,1};
648 class DamageSystem
649 {
650 class GlobalHealth
651 {
652 class Health
653 {
654 hitpoints=40;
655 healthLevels[]=
656 {
657
658 {
659 1,
660
661 {
662 "DZ\weapons\attachments\data\mosin_compensator.rvmat"
663 }
664 },
665
666 {
667 0.69999999,
668
669 {
670 "DZ\weapons\attachments\data\mosin_compensator.rvmat"
671 }
672 },
673
674 {
675 0.5,
676
677 {
678 "DZ\weapons\attachments\data\mosin_compensator_damage.rvmat"
679 }
680 },
681
682 {
683 0.30000001,
684
685 {
686 "DZ\weapons\attachments\data\mosin_compensator_damage.rvmat"
687 }
688 },
689
690 {
691 0,
692
693 {
694 "DZ\weapons\attachments\data\mosin_compensator_destruct.rvmat"
695 }
696 }
697 };
698 };
699 };
700 };
701 class Particles
702 {
703 class OnFire
704 {
705 class MuzzleFlash
706 {
707 overrideParticle="weapon_shot_mosin_compensator_01";
708 illuminateWorld=1;
709 positionOffset[]={0,-0.050000001,0};
710 };
711 };
712 };
713 soundImpactType="metal";
714 };
715 class MP5_Compensator: ItemSuppressor
716 {
717 scope=2;
718 displayName="$STR_cfgVehicles_MP5_Compensator0";
719 descriptionShort="$STR_cfgVehicles_MP5_Compensator1";
720 model="\dz\weapons\attachments\muzzle\MP5k_compensator.p3d";
721 debug_ItemCategory=3;
722 soundIndex=0;
723 rotationFlags=17;
724 reversed=0;
725 weight=80;
726 itemSize[]={1,1};
727 itemModelLength=0.071000002;
728 barrelArmor=20.834;
729 lootTag[]=
730 {
731 "Police"
732 };
733 lootCategory="Attachments";
734 inventorySlot[]=
735 {
736 "weaponMuzzleMP5"
737 };
738 recoilModifier[]={0.60000002,0.60000002,0.60000002};
739 swayModifier[]={1,1,1};
740 hiddenSelections[]=
741 {
742 "camo"
743 };
744 hiddenSelectionsTextures[]=
745 {
746 "dz\weapons\attachments\data\mp5k_compensator_co.paa"
747 };
748 hiddenSelectionsMaterials[]=
749 {
750 "dz\weapons\attachments\data\mp5k_compensator.rvmat"
751 };
752 class Particles
753 {
754 class OnFire
755 {
756 class MuzzleFlash
757 {
758 overrideParticle="weapon_shot_mp5k_02";
759 illuminateWorld=1;
760 };
761 };
762 };
763 class DamageSystem
764 {
765 class GlobalHealth
766 {
767 class Health
768 {
769 hitpoints=40;
770 healthLevels[]=
771 {
772
773 {
774 1,
775
776 {
777 "DZ\weapons\attachments\data\MP5k_compensator.rvmat"
778 }
779 },
780
781 {
782 0.69999999,
783
784 {
785 "DZ\weapons\attachments\data\MP5k_compensator.rvmat"
786 }
787 },
788
789 {
790 0.5,
791
792 {
793 "DZ\weapons\attachments\data\MP5k_compensator_damage.rvmat"
794 }
795 },
796
797 {
798 0.30000001,
799
800 {
801 "DZ\weapons\attachments\data\MP5k_compensator_damage.rvmat"
802 }
803 },
804
805 {
806 0,
807
808 {
809 "DZ\weapons\attachments\data\MP5k_compensator_destruct.rvmat"
810 }
811 }
812 };
813 };
814 };
815 };
816 soundImpactType="metal";
817 };
818 class ImprovisedSuppressor: ItemSuppressor
819 {
820 scope=2;
821 displayName="$STR_cfgVehicles_ImprovisedSuppressor0";
822 descriptionShort="$STR_cfgVehicles_ImprovisedSuppressor1";
823 model="\dz\weapons\attachments\muzzle\bottle_suppressor.p3d";
824 repairableWithKits[]={0};
825 repairCosts[]={0};
826 rotationFlags=17;
827 reversed=0;
828 weight=50;
829 itemSize[]={3,1};
830 itemModelLength=0.23999999;
831 barrelArmor=1500;
832 lootCategory="Attachments";
833 inventorySlot[]=
834 {
835 "suppressorImpro",
836 "weaponMuzzleAK",
837 "weaponMuzzleM4",
838 "pistolMuzzle"
839 };
840 simulation="ItemSuppressor";
841 noiseShootModifier=-0.85000002;
842 recoilModifier[]={1,1,1};
843 swayModifier[]={1.2,1.2,1.2};
844 selectionFireAnim="zasleh";
845 soundIndex=2;
846 muzzlePos="usti hlavne";
847 class Particles
848 {
849 class OnFire
850 {
851 class MuzzleFlash
852 {
853 overrideParticle="weapon_shot_fnx_02";
854 onlyWithinHealthLabel[]={0,3};
855 };
856 };
857 class OnOverheating
858 {
859 shotsToStartOverheating=1;
860 maxOverheatingValue=15;
861 overheatingDecayInterval=1;
862 class SmokeTrail
863 {
864 overrideParticle="smoking_barrel_small";
865 overrideDirectionVector[]={0,180,180};
866 onlyWithinOverheatLimits[]={0,0.69999999};
867 };
868 class SmokeHot
869 {
870 overrideParticle="smoking_barrel_heavy";
871 onlyWithinOverheatLimits[]={0.69999999,2};
872 };
873 };
874 };
875 class DamageSystem
876 {
877 class GlobalHealth
878 {
879 class Health
880 {
881 hitpoints=1;
882 healthLevels[]=
883 {
884
885 {
886 1,
887
888 {
889 "DZ\weapons\attachments\muzzle\data\bottle_suppressor.rvmat"
890 }
891 },
892
893 {
894 0.69999999,
895
896 {
897 "DZ\weapons\attachments\muzzle\data\bottle_suppressor.rvmat"
898 }
899 },
900
901 {
902 0.5,
903
904 {
905 "DZ\weapons\attachments\muzzle\data\bottle_suppressor_damage.rvmat"
906 }
907 },
908
909 {
910 0.30000001,
911
912 {
913 "DZ\weapons\attachments\muzzle\data\bottle_suppressor_damage.rvmat"
914 }
915 },
916
917 {
918 0,
919
920 {
921 "DZ\weapons\attachments\muzzle\data\bottle_suppressor_destruct.rvmat"
922 }
923 }
924 };
925 };
926 };
927 };
928 soundImpactType="plastic";
929 };
930 class M4_Suppressor: ItemSuppressor
931 {
932 scope=2;
933 displayName="$STR_cfgVehicles_M4_Suppressor0";
934 descriptionShort="$STR_cfgVehicles_M4_Suppressor1";
935 model="\dz\weapons\attachments\muzzle\suppressor_556.p3d";
936 rotationFlags=17;
937 reversed=0;
938 weight=73;
939 itemSize[]={3,1};
940 itemModelLength=0.148;
941 barrelArmor=2250;
942 lootCategory="Attachments";
943 lootTag[]=
944 {
945 "Military_west"
946 };
947 inventorySlot[]=
948 {
949 "weaponMuzzleM4"
950 };
951 simulation="ItemSuppressor";
952 dispersionModifier=-0.00015000001;
953 dispersionCondition="true";
954 noiseShootModifier=-0.93000001;
955 recoilModifier[]={0.89999998,0.89999998,0.89999998};
956 swayModifier[]={1.3,1.3,1.3};
957 selectionFireAnim="zasleh";
958 soundIndex=1;
959 muzzlePos="usti hlavne";
960 class DamageSystem
961 {
962 class GlobalHealth
963 {
964 class Health
965 {
966 hitpoints=4;
967 healthLevels[]=
968 {
969
970 {
971 1,
972
973 {
974 "DZ\weapons\attachments\data\suppressor556.rvmat"
975 }
976 },
977
978 {
979 0.69999999,
980
981 {
982 "DZ\weapons\attachments\data\suppressor556.rvmat"
983 }
984 },
985
986 {
987 0.5,
988
989 {
990 "DZ\weapons\attachments\data\suppressor556_damage.rvmat"
991 }
992 },
993
994 {
995 0.30000001,
996
997 {
998 "DZ\weapons\attachments\data\suppressor556_damage.rvmat"
999 }
1000 },
1001
1002 {
1003 0,
1004
1005 {
1006 "DZ\weapons\attachments\data\suppressor556_destruct.rvmat"
1007 }
1008 }
1009 };
1010 };
1011 };
1012 };
1013 class Particles
1014 {
1015 class OnFire
1016 {
1017 class MuzzleFlash
1018 {
1019 overrideParticle="weapon_shot_fnx_02";
1020 onlyWithinHealthLabel[]={0,3};
1021 };
1022 };
1023 class OnOverheating
1024 {
1025 shotsToStartOverheating=3;
1026 maxOverheatingValue=10;
1027 overheatingDecayInterval=1;
1028 class SmokeTrail
1029 {
1030 overrideParticle="smoking_barrel_small";
1031 onlyWithinRainLimits[]={0,0.2};
1032 };
1033 class SmokingBarrelHotSteamSmall
1034 {
1035 overrideParticle="smoking_barrel_steam_small";
1036 positionOffset[]={0,0.1,0};
1037 onlyWithinOverheatLimits[]={0,1};
1038 onlyWithinRainLimits[]={0.2,1};
1039 };
1040 };
1041 };
1042 };
1043 class AK_Suppressor: ItemSuppressor
1044 {
1045 scope=2;
1046 displayName="$STR_cfgVehicles_AK_Suppressor0";
1047 descriptionShort="$STR_cfgVehicles_AK_Suppressor1";
1048 model="\dz\weapons\attachments\muzzle\suppressor_545.p3d";
1049 rotationFlags=17;
1050 reversed=0;
1051 weight=100;
1052 itemSize[]={3,1};
1053 itemModelLength=0.23;
1054 barrelArmor=2250;
1055 lootCategory="Attachments";
1056 lootTag[]=
1057 {
1058 "Military_east"
1059 };
1060 inventorySlot[]=
1061 {
1062 "weaponMuzzleAK"
1063 };
1064 simulation="ItemSuppressor";
1065 dispersionModifier=-0.00015000001;
1066 dispersionCondition="true";
1067 noiseShootModifier=-0.93000001;
1068 recoilModifier[]={0.89999998,0.89999998,0.89999998};
1069 swayModifier[]={1.3,1.3,1.3};
1070 selectionFireAnim="zasleh";
1071 soundIndex=1;
1072 muzzlePos="usti hlavne";
1073 class Particles
1074 {
1075 class OnFire
1076 {
1077 class MuzzleFlashAssault
1078 {
1079 overrideParticle="weapon_shot_akm_02";
1080 onlyWithinHealthLabel[]={0,3};
1081 };
1082 };
1083 class OnOverheating
1084 {
1085 shotsToStartOverheating=2;
1086 maxOverheatingValue=20;
1087 overheatingDecayInterval=1;
1088 class SmokingBarrel
1089 {
1090 overrideParticle="smoking_barrel_small";
1091 onlyWithinRainLimits[]={0,0.2};
1092 };
1093 class SmokingBarrelHotSteamSmall
1094 {
1095 overrideParticle="smoking_barrel_steam_small";
1096 positionOffset[]={0,0.1,0};
1097 onlyWithinRainLimits[]={0.2,1};
1098 };
1099 };
1100 };
1101 class DamageSystem
1102 {
1103 class GlobalHealth
1104 {
1105 class Health
1106 {
1107 hitpoints=4;
1108 healthLevels[]=
1109 {
1110
1111 {
1112 1,
1113
1114 {
1115 "DZ\weapons\attachments\data\tgpa.rvmat"
1116 }
1117 },
1118
1119 {
1120 0.69999999,
1121
1122 {
1123 "DZ\weapons\attachments\data\tgpa.rvmat"
1124 }
1125 },
1126
1127 {
1128 0.5,
1129
1130 {
1131 "DZ\weapons\attachments\data\tgpa_damage.rvmat"
1132 }
1133 },
1134
1135 {
1136 0.30000001,
1137
1138 {
1139 "DZ\weapons\attachments\data\tgpa_damage.rvmat"
1140 }
1141 },
1142
1143 {
1144 0,
1145
1146 {
1147 "DZ\weapons\attachments\data\tgpa_destruct.rvmat"
1148 }
1149 }
1150 };
1151 };
1152 };
1153 };
1154 };
1155 class PistolSuppressor: ItemSuppressor
1156 {
1157 scope=2;
1158 displayName="$STR_cfgVehicles_PistolSuppressor0";
1159 descriptionShort="$STR_cfgVehicles_PistolSuppressor1";
1160 model="\dz\weapons\attachments\muzzle\suppressor_45acp.p3d";
1161 rotationFlags=17;
1162 reversed=0;
1163 weight=70;
1164 itemSize[]={3,1};
1165 itemModelLength=0.176;
1166 barrelArmor=600;
1167 lootCategory="Attachments";
1168 lootTag[]=
1169 {
1170 "Military_east",
1171 "Military_west",
1172 "Police",
1173 "Civilian"
1174 };
1175 inventorySlot[]=
1176 {
1177 "pistolMuzzle"
1178 };
1179 simulation="ItemSuppressor";
1180 dispersionModifier=-0.00015000001;
1181 dispersionCondition="true";
1182 noiseShootModifier=-0.93000001;
1183 recoilModifier[]={0.89999998,0.89999998,0.89999998};
1184 swayModifier[]={1.3,1.3,1.3};
1185 selectionFireAnim="zasleh";
1186 soundIndex=1;
1187 muzzlePos="usti hlavne";
1188 class Particles
1189 {
1190 class OnFire
1191 {
1192 class MuzzleFlash
1193 {
1194 overrideParticle="weapon_shot_fnx_02";
1195 onlyWithinHealthLabel[]={0,3};
1196 };
1197 };
1198 class OnOverheating
1199 {
1200 shotsToStartOverheating=2;
1201 maxOverheatingValue=10;
1202 overheatingDecayInterval=1;
1203 class SmokingBarrel
1204 {
1205 overrideParticle="smoking_barrel_small";
1206 onlyWithinRainLimits[]={0,0.2};
1207 };
1208 class SmokingBarrelHotSteamSmall
1209 {
1210 overrideParticle="smoking_barrel_steam_small";
1211 positionOffset[]={0,0.1,0};
1212 onlyWithinRainLimits[]={0.2,1};
1213 };
1214 };
1215 };
1216 class DamageSystem
1217 {
1218 class GlobalHealth
1219 {
1220 class Health
1221 {
1222 hitpoints=5;
1223 healthLevels[]=
1224 {
1225
1226 {
1227 1,
1228
1229 {
1230 "DZ\weapons\attachments\data\gemtech.rvmat"
1231 }
1232 },
1233
1234 {
1235 0.69999999,
1236
1237 {
1238 "DZ\weapons\attachments\data\gemtech.rvmat"
1239 }
1240 },
1241
1242 {
1243 0.5,
1244
1245 {
1246 "DZ\weapons\attachments\data\gemtech_damage.rvmat"
1247 }
1248 },
1249
1250 {
1251 0.30000001,
1252
1253 {
1254 "DZ\weapons\attachments\data\gemtech_damage.rvmat"
1255 }
1256 },
1257
1258 {
1259 0,
1260
1261 {
1262 "DZ\weapons\attachments\data\gemtech_destruct.rvmat"
1263 }
1264 }
1265 };
1266 };
1267 };
1268 };
1269 };
1270 class Groza_Barrel_Short: ItemSuppressor
1271 {
1272 scope=2;
1273 displayName="$STR_cfgVehicles_Groza_Barrel_Short0";
1274 descriptionShort="$STR_cfgVehicles_Groza_Barrel_Short1";
1275 model="\dz\weapons\firearms\ots14\ots14_barrel.p3d";
1276 rotationFlags=17;
1277 reversed=0;
1278 weight=150;
1279 itemSize[]={1,1};
1280 lootCategory="Attachments";
1281 lootTag[]=
1282 {
1283 "Military_east"
1284 };
1285 inventorySlot[]=
1286 {
1287 "weaponMuzzleAK"
1288 };
1289 selectionFireAnim="zasleh";
1290 muzzlePos="usti hlavne";
1291 simulation="ItemSuppressor";
1292 class DamageSystem
1293 {
1294 class GlobalHealth
1295 {
1296 class Health
1297 {
1298 hitpoints=100;
1299 healthLevels[]=
1300 {
1301
1302 {
1303 1,
1304
1305 {
1306 "DZ\weapons\firearms\ots14\data\ots14_barrel.rvmat"
1307 }
1308 },
1309
1310 {
1311 0.69999999,
1312
1313 {
1314 "DZ\weapons\firearms\ots14\data\ots14_barrel.rvmat"
1315 }
1316 },
1317
1318 {
1319 0.5,
1320
1321 {
1322 "DZ\weapons\firearms\ots14\data\ots14_barrel_damage.rvmat"
1323 }
1324 },
1325
1326 {
1327 0.30000001,
1328
1329 {
1330 "DZ\weapons\firearms\ots14\data\ots14_barrel_damage.rvmat"
1331 }
1332 },
1333
1334 {
1335 0,
1336
1337 {
1338 "DZ\weapons\firearms\ots14\data\ots14_barrel_destruct.rvmat"
1339 }
1340 }
1341 };
1342 };
1343 };
1344 };
1345 };
1346 class Groza_Barrel_Grip: ItemSuppressor
1347 {
1348 scope=2;
1349 displayName="$STR_cfgVehicles_Groza_Barrel_Grip0";
1350 descriptionShort="$STR_cfgVehicles_Groza_Barrel_Grip1";
1351 model="\dz\weapons\firearms\ots14\ots14_barrel_grip.p3d";
1352 rotationFlags=17;
1353 reversed=0;
1354 weight=354;
1355 itemSize[]={1,2};
1356 lootCategory="Attachments";
1357 lootTag[]=
1358 {
1359 "Military_east"
1360 };
1361 inventorySlot[]=
1362 {
1363 "weaponMuzzleAK"
1364 };
1365 selectionFireAnim="zasleh";
1366 muzzlePos="usti hlavne";
1367 simulation="ItemSuppressor";
1368 class DamageSystem
1369 {
1370 class GlobalHealth
1371 {
1372 class Health
1373 {
1374 hitpoints=100;
1375 healthLevels[]=
1376 {
1377
1378 {
1379 1,
1380
1381 {
1382 "DZ\weapons\firearms\ots14\data\ots14_barrel_grip.rvmat"
1383 }
1384 },
1385
1386 {
1387 0.69999999,
1388
1389 {
1390 "DZ\weapons\firearms\ots14\data\ots14_barrel_grip.rvmat"
1391 }
1392 },
1393
1394 {
1395 0.5,
1396
1397 {
1398 "DZ\weapons\firearms\ots14\data\ots14_barrel_grip_damage.rvmat"
1399 }
1400 },
1401
1402 {
1403 0.30000001,
1404
1405 {
1406 "DZ\weapons\firearms\ots14\data\ots14_barrel_grip_damage.rvmat"
1407 }
1408 },
1409
1410 {
1411 0,
1412
1413 {
1414 "DZ\weapons\firearms\ots14\data\ots14_barrel_grip_destruct.rvmat"
1415 }
1416 }
1417 };
1418 };
1419 };
1420 };
1421 };
1422 class Groza_Barrel_Suppressor: ItemSuppressor
1423 {
1424 scope=2;
1425 displayName="$STR_cfgVehicles_Groza_Barrel_Suppressor0";
1426 descriptionShort="$STR_cfgVehicles_Groza_Barrel_Suppressor1";
1427 model="\dz\weapons\firearms\ots14\ots14_silencer.p3d";
1428 rotationFlags=17;
1429 reversed=0;
1430 weight=120;
1431 itemSize[]={1,2};
1432 lootCategory="Attachments";
1433 lootTag[]=
1434 {
1435 "Military_east"
1436 };
1437 inventorySlot[]=
1438 {
1439 "weaponMuzzleAK"
1440 };
1441 dispersionModifier=-9.9999997e-05;
1442 noiseShootModifier=-0.89999998;
1443 simulation="ItemSuppressor";
1444 dispersionCondition="true";
1445 selectionFireAnim="zasleh";
1446 muzzlePos="usti hlavne";
1447 soundIndex=1;
1448 class DamageSystem
1449 {
1450 class GlobalHealth
1451 {
1452 class Health
1453 {
1454 hitpoints=4;
1455 healthLevels[]=
1456 {
1457
1458 {
1459 1,
1460
1461 {
1462 "DZ\weapons\firearms\ots14\data\ots14_silencer.rvmat"
1463 }
1464 },
1465
1466 {
1467 0.69999999,
1468
1469 {
1470 "DZ\weapons\firearms\ots14\data\ots14_silencer.rvmat"
1471 }
1472 },
1473
1474 {
1475 0.5,
1476
1477 {
1478 "DZ\weapons\firearms\ots14\data\ots14_silencer_damage.rvmat"
1479 }
1480 },
1481
1482 {
1483 0.30000001,
1484
1485 {
1486 "DZ\weapons\firearms\ots14\data\ots14_silencer_damage.rvmat"
1487 }
1488 },
1489
1490 {
1491 0,
1492
1493 {
1494 "DZ\weapons\firearms\ots14\data\ots14_silencer_destruct.rvmat"
1495 }
1496 }
1497 };
1498 };
1499 };
1500 };
1501 };
1502 class MakarovPBSuppressor: ItemSuppressor
1503 {
1504 scope=2;
1505 displayName="$STR_cfgVehicles_MakarovPBSuppressor0";
1506 descriptionShort="$STR_cfgVehicles_MakarovPBSuppressor1";
1507 model="\dz\weapons\attachments\muzzle\suppressor_pb6p9.p3d";
1508 rotationFlags=17;
1509 reversed=0;
1510 weight=70;
1511 itemSize[]={3,1};
1512 itemModelLength=0.13600001;
1513 lootCategory="Attachments";
1514 lootTag[]=
1515 {
1516 "Military_east"
1517 };
1518 inventorySlot[]=
1519 {
1520 "pistolMuzzle"
1521 };
1522 simulation="ItemSuppressor";
1523 noiseShootModifier=-0.89999998;
1524 recoilModifier[]={1,1,1};
1525 swayModifier[]={1,1,1};
1526 selectionFireAnim="zasleh";
1527 soundIndex=1;
1528 muzzlePos="usti hlavne";
1529 class Particles
1530 {
1531 class OnFire
1532 {
1533 class MuzzleFlash
1534 {
1535 overrideParticle="weapon_shot_akm_02";
1536 onlyWithinHealthLabel[]={0,3};
1537 };
1538 };
1539 };
1540 class DamageSystem
1541 {
1542 class GlobalHealth
1543 {
1544 class Health
1545 {
1546 hitpoints=5;
1547 healthLevels[]=
1548 {
1549
1550 {
1551 1,
1552
1553 {
1554 "DZ\weapons\attachments\muzzle\data\suppressor_pb6p9.rvmat"
1555 }
1556 },
1557
1558 {
1559 0.69999999,
1560
1561 {
1562 "DZ\weapons\attachments\muzzle\data\suppressor_pb6p9.rvmat"
1563 }
1564 },
1565
1566 {
1567 0.5,
1568
1569 {
1570 "DZ\weapons\attachments\muzzle\data\suppressor_pb6p9_damage.rvmat"
1571 }
1572 },
1573
1574 {
1575 0.30000001,
1576
1577 {
1578 "DZ\weapons\attachments\muzzle\data\suppressor_pb6p9_damage.rvmat"
1579 }
1580 },
1581
1582 {
1583 0,
1584
1585 {
1586 "DZ\weapons\attachments\muzzle\data\suppressor_pb6p9_destruct.rvmat"
1587 }
1588 }
1589 };
1590 };
1591 };
1592 };
1593 };
1594 class Aug_Barrel: ItemBarrel
1595 {
1596 scope=2;
1597 displayName="$STR_cfgVehicles_Aug_Barrel0";
1598 descriptionShort="$STR_cfgVehicles_Aug_Barrel1";
1599 model="\dz\weapons\attachments\muzzle\suppressor_556.p3d";
1600 rotationFlags=17;
1601 reversed=0;
1602 weight=73;
1603 itemSize[]={1,3};
1604 itemModelLength=0.148;
1605 lootCategory="Attachments";
1606 lootTag[]=
1607 {
1608 "Military_west"
1609 };
1610 inventorySlot[]=
1611 {
1612 "weaponBarrelAug"
1613 };
1614 simulation="ItemBarrel";
1615 noiseShootModifier=-0.89999998;
1616 dispersionCondition="true";
1617 recoilModifier[]={1,1,1};
1618 swayModifier[]={1,1,1};
1619 selectionFireAnim="zasleh";
1620 soundIndex=1;
1621 muzzlePos="usti hlavne";
1622 class DamageSystem
1623 {
1624 class GlobalHealth
1625 {
1626 class Health
1627 {
1628 hitpoints=100;
1629 healthLevels[]=
1630 {
1631
1632 {
1633 1,
1634
1635 {
1636 "DZ\weapons\attachments\data\suppressor556.rvmat"
1637 }
1638 },
1639
1640 {
1641 0.69999999,
1642
1643 {
1644 "DZ\weapons\attachments\data\suppressor556.rvmat"
1645 }
1646 },
1647
1648 {
1649 0.5,
1650
1651 {
1652 "DZ\weapons\attachments\data\suppressor556_damage.rvmat"
1653 }
1654 },
1655
1656 {
1657 0.30000001,
1658
1659 {
1660 "DZ\weapons\attachments\data\suppressor556_damage.rvmat"
1661 }
1662 },
1663
1664 {
1665 0,
1666
1667 {
1668 "DZ\weapons\attachments\data\suppressor556_destruct.rvmat"
1669 }
1670 }
1671 };
1672 };
1673 };
1674 };
1675 };
1676};
1677class CfgNonAIVehicles
1678{
1679 class ProxyAttachment;
1680 class ProxyBayonet_AK: ProxyAttachment
1681 {
1682 scope=2;
1683 inventorySlot="weaponBayonetAK";
1684 model="\dz\weapons\attachments\muzzle\bayonet_ak.p3d";
1685 };
1686 class ProxyBayonet_M9A1: ProxyAttachment
1687 {
1688 scope=2;
1689 inventorySlot="weaponBayonet";
1690 model="\dz\weapons\attachments\muzzle\bayonet_m9a1.p3d";
1691 };
1692 class ProxyBayonet_Mosin: ProxyAttachment
1693 {
1694 scope=2;
1695 inventorySlot="weaponBayonetMosin";
1696 model="\dz\weapons\attachments\muzzle\bayonet_mosin.p3d";
1697 };
1698 class ProxyBayonet_SKS: ProxyAttachment
1699 {
1700 scope=2;
1701 inventorySlot="weaponBayonetSKS";
1702 model="\dz\weapons\attachments\muzzle\bayonet_sks.p3d";
1703 };
1704 class ProxyMosin_Compensator: ProxyAttachment
1705 {
1706 scope=2;
1707 inventorySlot="weaponMuzzleMosin";
1708 model="\dz\weapons\attachments\muzzle\mosin_compensator.p3d";
1709 };
1710 class ProxyMP5k_compensator: ProxyAttachment
1711 {
1712 scope=2;
1713 inventorySlot="weaponMuzzleMP5";
1714 model="\dz\weapons\attachments\muzzle\MP5k_compensator.p3d";
1715 };
1716 class Proxybottle_suppressor: ProxyAttachment
1717 {
1718 scope=2;
1719 inventorySlot="suppressorImpro";
1720 model="\dz\weapons\attachments\muzzle\bottle_suppressor.p3d";
1721 };
1722 class ProxySuppressor_556: ProxyAttachment
1723 {
1724 scope=2;
1725 inventorySlot="weaponMuzzleM4";
1726 model="\dz\weapons\attachments\muzzle\suppressor_556.p3d";
1727 };
1728 class ProxySuppressor_545: ProxyAttachment
1729 {
1730 scope=2;
1731 inventorySlot="weaponMuzzleAK";
1732 model="\dz\weapons\attachments\muzzle\suppressor_545.p3d";
1733 };
1734 class ProxySuppressor_45ACP: ProxyAttachment
1735 {
1736 scope=2;
1737 inventorySlot="pistolMuzzle";
1738 model="\dz\weapons\attachments\muzzle\suppressor_45acp.p3d";
1739 };
1740 class ProxyOTs14_Barrel: ProxyAttachment
1741 {
1742 scope=2;
1743 inventorySlot="weaponMuzzleAK";
1744 model="\dz\weapons\firearms\ots14\ots14_barrel.p3d";
1745 };
1746 class ProxyOTs14_Barrel_Grip: ProxyOTs14_Barrel
1747 {
1748 model="\dz\weapons\firearms\ots14\ots14_barrel_grip.p3d";
1749 };
1750 class ProxyOTs14_Silencer: ProxyOTs14_Barrel
1751 {
1752 model="\dz\weapons\firearms\ots14\ots14_silencer.p3d";
1753 };
1754};