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_Optics
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 ItemOptics;
18 class ItemOptics_Base: ItemOptics
19 {
20 soundImpactType="default";
21 repairableWithKits[]={7};
22 repairCosts[]={25};
23 class AnimEvents
24 {
25 class SoundWeapon
26 {
27 class pickup
28 {
29 soundSet="PSO11Optic_pickup_SoundSet";
30 id=797;
31 };
32 class drop
33 {
34 soundset="PSO11Optic_drop_SoundSet";
35 id=898;
36 };
37 };
38 };
39 };
40 class M4_CarryHandleOptic: ItemOptics_Base
41 {
42 scope=2;
43 displayName="$STR_cfgVehicles_M4_CarryHandleOptic0";
44 descriptionShort="$STR_cfgVehicles_M4_CarryHandleOptic1";
45 model="\DZ\weapons\attachments\optics\optic_m4_carryhandle.p3d";
46 debug_ItemCategory=3;
47 rotationFlags=17;
48 reversed=0;
49 weight=350;
50 itemSize[]={2,1};
51 recoilModifier[]={1,1,1};
52 swayModifier[]={1,1,1};
53 inventorySlot[]=
54 {
55 "weaponOptics"
56 };
57 simulation="itemoptics";
58 memoryPointCamera="eyeScope";
59 cameraDir="cameraDir";
60 hiddenSelections[]=
61 {
62 "camo"
63 };
64 hiddenSelectionsTextures[]=
65 {
66 "dz\weapons\attachments\data\m4_handle_co.paa"
67 };
68 hiddenSelectionsMaterials[]=
69 {
70 "dz\weapons\attachments\data\m4_handle.rvmat"
71 };
72 class DamageSystem
73 {
74 class GlobalHealth
75 {
76 class Health
77 {
78 hitpoints=100;
79 healthLevels[]=
80 {
81
82 {
83 1,
84
85 {
86 "DZ\weapons\attachments\data\m4_handle.rvmat"
87 }
88 },
89
90 {
91 0.69999999,
92
93 {
94 "DZ\weapons\attachments\data\m4_handle.rvmat"
95 }
96 },
97
98 {
99 0.5,
100
101 {
102 "DZ\weapons\attachments\data\m4_handle_damage.rvmat"
103 }
104 },
105
106 {
107 0.30000001,
108
109 {
110 "DZ\weapons\attachments\data\m4_handle_damage.rvmat"
111 }
112 },
113
114 {
115 0,
116
117 {
118 "DZ\weapons\attachments\data\m4_handle_destruct.rvmat"
119 }
120 }
121 };
122 };
123 };
124 };
125 class OpticsInfo
126 {
127 memoryPointCamera="eyeScope";
128 cameraDir="cameraDir";
129 modelOptics="-";
130 opticsZoomMin=0.52359998;
131 opticsZoomMax=0.52359998;
132 opticsZoomInit=0.52359998;
133 distanceZoomMin=25;
134 distanceZoomMax=200;
135 discreteDistance[]={25,50,100,200};
136 discreteDistanceInitIndex=0;
137 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
138 PPLensProperties[]={1,0.15000001,0,0};
139 PPBlurProperties=0.2;
140 };
141 };
142 class BUISOptic: ItemOptics_Base
143 {
144 scope=2;
145 memoryPointCamera="eyeScope";
146 cameraDir="cameraDir";
147 displayName="$STR_cfgVehicles_BUISOptic0";
148 descriptionShort="$STR_cfgVehicles_BUISOptic1";
149 model="\DZ\weapons\attachments\optics\optic_buis.p3d";
150 debug_ItemCategory=3;
151 rotationFlags=17;
152 reversed=0;
153 weight=644;
154 itemSize[]={1,1};
155 recoilModifier[]={1,1,1};
156 swayModifier[]={1,1,1};
157 inventorySlot[]=
158 {
159 "weaponOptics"
160 };
161 hiddenSelections[]=
162 {
163 "camo"
164 };
165 hiddenSelectionsTextures[]=
166 {
167 "dz\weapons\attachments\data\m4_buis_co.paa"
168 };
169 hiddenSelectionsMaterials[]=
170 {
171 "dz\weapons\attachments\data\m4_buis.rvmat"
172 };
173 class DamageSystem
174 {
175 class GlobalHealth
176 {
177 class Health
178 {
179 hitpoints=100;
180 healthLevels[]=
181 {
182
183 {
184 1,
185
186 {
187 "DZ\weapons\attachments\data\m4_buis.rvmat"
188 }
189 },
190
191 {
192 0.69999999,
193
194 {
195 "DZ\weapons\attachments\data\m4_buis.rvmat"
196 }
197 },
198
199 {
200 0.5,
201
202 {
203 "DZ\weapons\attachments\data\m4_buis_damage.rvmat"
204 }
205 },
206
207 {
208 0.30000001,
209
210 {
211 "DZ\weapons\attachments\data\m4_buis_damage.rvmat"
212 }
213 },
214
215 {
216 0,
217
218 {
219 "DZ\weapons\attachments\data\m4_buis_destruct.rvmat"
220 }
221 }
222 };
223 };
224 };
225 };
226 class OpticsInfo
227 {
228 memoryPointCamera="eyeScope";
229 cameraDir="cameraDir";
230 modelOptics="-";
231 distanceZoomMin=25;
232 distanceZoomMax=200;
233 opticsZoomMin=0.52359998;
234 opticsZoomMax=0.52359998;
235 opticsZoomInit=0.52359998;
236 discreteDistance[]={25,50,100,200};
237 discreteDistanceInitIndex=0;
238 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
239 PPLensProperties[]={1,0.15000001,0,0};
240 PPBlurProperties=0.2;
241 };
242 };
243 class M68Optic: ItemOptics_Base
244 {
245 scope=2;
246 displayName="$STR_cfgVehicles_M68Optic0";
247 descriptionShort="$STR_cfgVehicles_M68Optic1";
248 model="\DZ\weapons\attachments\optics\optic_m68_cco.p3d";
249 debug_ItemCategory=3;
250 attachments[]=
251 {
252 "BatteryD"
253 };
254 animClass="Binoculars";
255 simulation="itemoptics";
256 inventorySlot[]=
257 {
258 "weaponOptics"
259 };
260 selectionFireAnim="zasleh";
261 memoryPointCamera="eyeScope";
262 cameraDir="cameraDir";
263 rotationFlags=16;
264 reversed=0;
265 weight=265;
266 itemSize[]={2,1};
267 recoilModifier[]={1,1,1};
268 swayModifier[]={1,1,1};
269 hiddenSelections[]=
270 {
271 "camo",
272 "reddot"
273 };
274 hiddenSelectionsTextures[]=
275 {
276 "dz\weapons\attachments\data\cm2_co.paa"
277 };
278 hiddenSelectionsMaterials[]=
279 {
280 "dz\weapons\attachments\data\cm2.rvmat"
281 };
282 class DamageSystem
283 {
284 class GlobalHealth
285 {
286 class Health
287 {
288 hitpoints=50;
289 healthLevels[]=
290 {
291
292 {
293 1,
294
295 {
296 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
297 "DZ\weapons\attachments\data\cm2.rvmat"
298 }
299 },
300
301 {
302 0.69999999,
303 {}
304 },
305
306 {
307 0.5,
308
309 {
310 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
311 "DZ\weapons\attachments\data\cm2_damage.rvmat"
312 }
313 },
314
315 {
316 0.30000001,
317 {}
318 },
319
320 {
321 0,
322
323 {
324 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
325 "DZ\weapons\attachments\data\cm2_destruct.rvmat"
326 }
327 }
328 };
329 };
330 };
331 };
332 class OpticsInfo
333 {
334 memoryPointCamera="eyeScope";
335 cameraDir="cameraDir";
336 modelOptics="-";
337 opticsDisablePeripherialVision=0.67000002;
338 opticsFlare=1;
339 opticsPPEffects[]={};
340 opticsZoomMin=0.52359998;
341 opticsZoomMax=0.52359998;
342 opticsZoomInit=0.52359998;
343 distanceZoomMin=25;
344 distanceZoomMax=100;
345 discreteDistance[]={25,50,100};
346 discreteDistanceInitIndex=0;
347 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
348 PPLensProperties[]={1,0.15000001,0,0};
349 PPBlurProperties=0.2;
350 opticSightTexture="dz\weapons\attachments\optics\data\collimdot_red_ca.paa";
351 };
352 class EnergyManager
353 {
354 hasIcon=1;
355 energyUsagePerSecond=0.02;
356 plugType=1;
357 attachmentAction=1;
358 };
359 };
360 class M4_T3NRDSOptic: ItemOptics_Base
361 {
362 scope=2;
363 displayName="$STR_cfgVehicles_M4_T3NRDSOptic0";
364 descriptionShort="$STR_cfgVehicles_M4_T3NRDSOptic1";
365 model="\DZ\weapons\attachments\optics\optic_t3n_rds.p3d";
366 debug_ItemCategory=3;
367 attachments[]=
368 {
369 "BatteryD"
370 };
371 animClass="Binoculars";
372 simulation="itemoptics";
373 inventorySlot[]=
374 {
375 "weaponOptics"
376 };
377 selectionFireAnim="zasleh";
378 memoryPointCamera="eyeScope";
379 cameraDir="cameraDir";
380 rotationFlags=4;
381 reversed=0;
382 weight=265;
383 itemSize[]={2,1};
384 recoilModifier[]={1,1,1};
385 swayModifier[]={1,1,1};
386 hiddenSelections[]=
387 {
388 "camo",
389 "reddot"
390 };
391 hiddenSelectionsTextures[]=
392 {
393 "dz\weapons\attachments\data\t3n_co.paa",
394 ""
395 };
396 hiddenSelectionsMaterials[]=
397 {
398 "dz\weapons\attachments\data\t3n.rvmat",
399 ""
400 };
401 class DamageSystem
402 {
403 class GlobalHealth
404 {
405 class Health
406 {
407 hitpoints=50;
408 healthLevels[]=
409 {
410
411 {
412 1,
413
414 {
415 "dz\weapons\attachments\optics\data\lensglass_ca.paa",
416 "DZ\weapons\attachments\data\t3n.rvmat"
417 }
418 },
419
420 {
421 0.69999999,
422 {}
423 },
424
425 {
426 0.5,
427
428 {
429 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa",
430 "DZ\weapons\attachments\data\t3n_damage.rvmat"
431 }
432 },
433
434 {
435 0.30000001,
436 {}
437 },
438
439 {
440 0,
441
442 {
443 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
444 "DZ\weapons\attachments\data\t3n_destruct.rvmat"
445 }
446 }
447 };
448 };
449 };
450 };
451 class OpticsInfo
452 {
453 memoryPointCamera="eyeScope";
454 cameraDir="cameraDir";
455 modelOptics="-";
456 opticsDisablePeripherialVision=0.67000002;
457 opticsFlare=1;
458 opticsPPEffects[]={};
459 opticsZoomMin=0.52359998;
460 opticsZoomMax=0.52359998;
461 opticsZoomInit=0.52359998;
462 distanceZoomMin=25;
463 distanceZoomMax=100;
464 discreteDistance[]={25,50,100};
465 discreteDistanceInitIndex=0;
466 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
467 PPLensProperties[]={1,0.15000001,0,0};
468 PPBlurProperties=0.2;
469 opticSightTexture="dz\weapons\attachments\optics\data\collimdot_red_ca.paa";
470 };
471 class EnergyManager
472 {
473 hasIcon=1;
474 energyUsagePerSecond=0.02;
475 plugType=1;
476 attachmentAction=1;
477 };
478 };
479 class FNP45_MRDSOptic: ItemOptics_Base
480 {
481 scope=2;
482 displayName="$STR_cfgVehicles_FNP45_MRDSOptic0";
483 descriptionShort="$STR_cfgVehicles_FNP45_MRDSOptic1";
484 model="\DZ\weapons\attachments\optics\optic_fnp45_mrds.p3d";
485 debug_ItemCategory=3;
486 attachments[]=
487 {
488 "BatteryD"
489 };
490 animClass="Binoculars";
491 simulation="itemoptics";
492 inventorySlot[]=
493 {
494 "pistolOptics",
495 "weaponOpticsCrossbow"
496 };
497 selectionFireAnim="zasleh";
498 memoryPointCamera="eyeScope";
499 cameraDir="cameraDir";
500 rotationFlags=17;
501 reversed=0;
502 weight=150;
503 itemSize[]={1,1};
504 recoilModifier[]={1,1,1};
505 swayModifier[]={1,1,1};
506 hiddenSelections[]=
507 {
508 "reddot",
509 "camo"
510 };
511 hiddenSelectionsTextures[]=
512 {
513 "",
514 "dz\weapons\attachments\data\mrds_co.paa"
515 };
516 hiddenSelectionsMaterials[]=
517 {
518 "",
519 "dz\weapons\attachments\data\mrds.rvmat"
520 };
521 class DamageSystem
522 {
523 class GlobalHealth
524 {
525 class Health
526 {
527 hitpoints=30;
528 healthLevels[]=
529 {
530
531 {
532 1,
533
534 {
535 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
536 "DZ\weapons\attachments\optics\data\lensglass_clearer.rvmat",
537 "DZ\weapons\attachments\data\mrds.rvmat"
538 }
539 },
540
541 {
542 0.69999999,
543 {}
544 },
545
546 {
547 0.5,
548
549 {
550 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
551 "DZ\weapons\attachments\optics\data\lensglass_clearer_damage.rvmat",
552 "DZ\weapons\attachments\data\mrds_damage.rvmat"
553 }
554 },
555
556 {
557 0.30000001,
558 {}
559 },
560
561 {
562 0,
563
564 {
565 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
566 "DZ\weapons\attachments\optics\data\lensglass_clearer_destruct.rvmat",
567 "DZ\weapons\attachments\data\mrds_destruct.rvmat"
568 }
569 }
570 };
571 };
572 };
573 };
574 class OpticsInfo
575 {
576 memoryPointCamera="eyeScope";
577 cameraDir="cameraDir";
578 modelOptics="-";
579 opticsDisablePeripherialVision=0.67000002;
580 opticsFlare=1;
581 opticsPPEffects[]={};
582 opticSightTexture="dz\weapons\attachments\optics\data\collimdot_red_ca.paa";
583 opticsZoomMin=0.52359998;
584 opticsZoomMax=0.52359998;
585 opticsZoomInit=0.52359998;
586 distanceZoomMin=25;
587 distanceZoomMax=50;
588 discreteDistance[]={25,50};
589 discreteDistanceInitIndex=0;
590 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
591 PPLensProperties[]={1,0.15000001,0,0};
592 PPBlurProperties=0.2;
593 PPDOFProperties[]={1,0.2,20,185,4,10};
594 };
595 class EnergyManager
596 {
597 hasIcon=1;
598 energyUsagePerSecond=0.02;
599 plugType=1;
600 attachmentAction=1;
601 };
602 };
603 class ReflexOptic: ItemOptics_Base
604 {
605 scope=2;
606 displayName="$STR_cfgVehicles_ReflexOptic0";
607 descriptionShort="$STR_cfgVehicles_ReflexOptic1";
608 model="\DZ\weapons\attachments\optics\optic_reflex.p3d";
609 debug_ItemCategory=3;
610 attachments[]=
611 {
612 "BatteryD"
613 };
614 animClass="Binoculars";
615 simulation="itemoptics";
616 inventorySlot[]=
617 {
618 "WeaponOptics"
619 };
620 selectionFireAnim="zasleh";
621 memoryPointCamera="eyeScope";
622 cameraDir="cameraDir";
623 rotationFlags=17;
624 reversed=0;
625 weight=250;
626 itemSize[]={2,1};
627 recoilModifier[]={1,1,1};
628 swayModifier[]={1,1,1};
629 hiddenSelections[]=
630 {
631 "reddot",
632 "camo"
633 };
634 hiddenSelectionsTextures[]=
635 {
636 "",
637 "dz\weapons\attachments\optics\data\red_dot_co.paa"
638 };
639 hiddenSelectionsMaterials[]=
640 {
641 "",
642 "dz\weapons\attachments\optics\data\red_dot.rvmat"
643 };
644 class DamageSystem
645 {
646 class GlobalHealth
647 {
648 class Health
649 {
650 hitpoints=30;
651 healthLevels[]=
652 {
653
654 {
655 1,
656
657 {
658 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
659 "DZ\weapons\attachments\optics\data\Red_Dot.rvmat"
660 }
661 },
662
663 {
664 0.69999999,
665 {}
666 },
667
668 {
669 0.5,
670
671 {
672 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
673 "DZ\weapons\attachments\optics\data\Red_Dot_damage.rvmat"
674 }
675 },
676
677 {
678 0.30000001,
679 {}
680 },
681
682 {
683 0,
684
685 {
686 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
687 "DZ\weapons\attachments\optics\data\Red_Dot_destruct.rvmat"
688 }
689 }
690 };
691 };
692 };
693 };
694 class OpticsInfo
695 {
696 memoryPointCamera="eyeScope";
697 cameraDir="cameraDir";
698 modelOptics="-";
699 opticsDisablePeripherialVision=0.67000002;
700 opticsFlare=1;
701 opticsPPEffects[]={};
702 opticSightTexture="dz\weapons\attachments\optics\data\collimdot_red_ca.paa";
703 opticsZoomMin=0.52359998;
704 opticsZoomMax=0.52359998;
705 opticsZoomInit=0.52359998;
706 distanceZoomMin=25;
707 distanceZoomMax=200;
708 discreteDistance[]={25,50,100,200};
709 discreteDistanceInitIndex=0;
710 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
711 PPLensProperties[]={1,0.15000001,0,0};
712 PPBlurProperties=0.2;
713 };
714 class EnergyManager
715 {
716 hasIcon=1;
717 energyUsagePerSecond=0.02;
718 plugType=1;
719 attachmentAction=1;
720 };
721 };
722 class ACOGOptic: ItemOptics_Base
723 {
724 scope=2;
725 displayName="$STR_cfgVehicles_ACOGOptic0";
726 descriptionShort="$STR_cfgVehicles_ACOGOptic1";
727 model="\DZ\weapons\attachments\optics\optic_acog.p3d";
728 debug_ItemCategory=3;
729 animClass="Binoculars";
730 rotationFlags=16;
731 reversed=0;
732 weight=440;
733 itemSize[]={2,1};
734 inventorySlot[]=
735 {
736 "WeaponOptics"
737 };
738 selectionFireAnim="zasleh";
739 simulation="itemoptics";
740 recoilModifier[]={1,1,1};
741 swayModifier[]={1,1,1};
742 memoryPointCamera="eyeScope";
743 cameraDir="cameraDir";
744 hiddenSelections[]=
745 {
746 "camo"
747 };
748 hiddenSelectionsTextures[]=
749 {
750 "dz\weapons\attachments\data\acog_co.paa"
751 };
752 hiddenSelectionsMaterials[]=
753 {
754 "dz\weapons\attachments\data\acog.rvmat"
755 };
756 class DamageSystem
757 {
758 class GlobalHealth
759 {
760 class Health
761 {
762 hitpoints=50;
763 healthLevels[]=
764 {
765
766 {
767 1,
768
769 {
770 "DZ\weapons\attachments\data\scope_alpha_clear_ca.paa",
771 "DZ\weapons\attachments\optics\data\lensglass_standard.rvmat",
772 "DZ\weapons\attachments\data\acog.rvmat"
773 }
774 },
775
776 {
777 0.69999999,
778 {}
779 },
780
781 {
782 0.5,
783
784 {
785 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
786 "DZ\weapons\attachments\optics\data\lensglass_standard_damage.rvmat",
787 "DZ\weapons\attachments\data\acog_damage.rvmat"
788 }
789 },
790
791 {
792 0.30000001,
793 {}
794 },
795
796 {
797 0,
798
799 {
800 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
801 "DZ\weapons\attachments\optics\data\lensglass_standard_destruct.rvmat",
802 "DZ\weapons\attachments\data\acog_destruct.rvmat"
803 }
804 }
805 };
806 };
807 };
808 };
809 class OpticsInfo
810 {
811 memoryPointCamera="eyeScope";
812 cameraDir="cameraDir";
813 modelOptics="-";
814 opticsDisablePeripherialVision=0.67000002;
815 opticsFlare=1;
816 opticsPPEffects[]={};
817 opticsZoomMin="0.3926/4";
818 opticsZoomMax="0.3926/4";
819 opticsZoomInit="0.3926/4";
820 distanceZoomMin=100;
821 distanceZoomMax=600;
822 discreteDistance[]={100,200,300,400,500,600};
823 discreteDistanceInitIndex=0;
824 PPMaskProperties[]={0.5,0.5,0.375,0.050000001};
825 PPLensProperties[]={0.5,0.15000001,0,0};
826 PPBlurProperties=0.60000002;
827 };
828 class OpticsInfoWeaponOverride
829 {
830 memoryPointCamera="eyeIronsights";
831 cameraDir="cameraDirIronsights";
832 opticsZoomMin=0.52359998;
833 opticsZoomMax=0.52359998;
834 opticsZoomInit=0.52359998;
835 distanceZoomMin=25;
836 distanceZoomMax=25;
837 discreteDistance[]={25};
838 discreteDistanceInitIndex=0;
839 PPDOFProperties[]={1,0.1,20,200,4,10};
840 };
841 };
842 class ACOGOptic_6x: ItemOptics_Base
843 {
844 scope=2;
845 displayName="$STR_ACOGOptic_6x_0";
846 descriptionShort="$STR_ACOGOptic_6x_1";
847 model="\DZ\weapons\attachments\optics\optic_acog6x.p3d";
848 debug_ItemCategory=3;
849 animClass="Binoculars";
850 rotationFlags=16;
851 reversed=0;
852 weight=1300;
853 itemSize[]={3,2};
854 inventorySlot[]=
855 {
856 "WeaponOptics"
857 };
858 selectionFireAnim="zasleh";
859 simulation="itemoptics";
860 recoilModifier[]={1,1,1};
861 swayModifier[]={1,1,1};
862 memoryPointCamera="eyeScope";
863 cameraDir="cameraDir";
864 hiddenSelections[]=
865 {
866 "camo",
867 "Red_Dot_CO"
868 };
869 hiddenSelectionsTextures[]=
870 {
871 "dz\weapons\attachments\optics\data\optic_acog6x_co.paa",
872 "dz\weapons\attachments\optics\data\red_dot_co.paa"
873 };
874 hiddenSelectionsMaterials[]=
875 {
876 "dz\weapons\attachments\optics\data\optic_acog6x.rvmat",
877 "dz\weapons\attachments\optics\data\red_dot.rvmat"
878 };
879 class AnimationSources
880 {
881 class hide
882 {
883 source="user";
884 animPeriod=0.0099999998;
885 initPhase=0;
886 };
887 };
888 class DamageSystem
889 {
890 class GlobalHealth
891 {
892 class Health
893 {
894 hitpoints=50;
895 healthLevels[]=
896 {
897
898 {
899 1,
900
901 {
902 "DZ\weapons\attachments\data\scope_alpha_clear_ca.paa",
903 "DZ\weapons\attachments\optics\data\lensglass_standard.rvmat",
904 "DZ\weapons\attachments\optics\data\optic_acog6x.rvmat",
905 "DZ\weapons\attachments\optics\data\Red_Dot.rvmat"
906 }
907 },
908
909 {
910 0.69999999,
911 {}
912 },
913
914 {
915 0.5,
916
917 {
918 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
919 "DZ\weapons\attachments\optics\data\lensglass_standard_damage.rvmat",
920 "DZ\weapons\attachments\optics\data\optic_acog6x_damage.rvmat",
921 "DZ\weapons\attachments\optics\data\Red_Dot_damage.rvmat"
922 }
923 },
924
925 {
926 0.30000001,
927 {}
928 },
929
930 {
931 0,
932
933 {
934 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
935 "DZ\weapons\attachments\optics\data\lensglass_standard_destruct.rvmat",
936 "DZ\weapons\attachments\optics\data\optic_acog6x_destruct.rvmat",
937 "DZ\weapons\attachments\optics\data\Red_Dot_destruct.rvmat"
938 }
939 }
940 };
941 };
942 };
943 };
944 class OpticsInfo
945 {
946 memoryPointCamera="eyeScope";
947 cameraDir="cameraDir";
948 modelOptics="-";
949 opticsDisablePeripherialVision=0.67000002;
950 opticsFlare=1;
951 opticsPPEffects[]={};
952 opticsZoomMin="0.3926/6.0";
953 opticsZoomMax="0.3926/6.0";
954 opticsZoomInit="0.3926/6.0";
955 nearPlaneDistanceOverride=0.54000002;
956 distanceZoomMin=100;
957 distanceZoomMax=800;
958 discreteDistance[]={100,200,300,400,500,600,700,800};
959 discreteDistanceInitIndex=0;
960 PPMaskProperties[]={0.5,0.5,0.34,0.050000001};
961 PPLensProperties[]={0.5,0.15000001,0,0};
962 PPBlurProperties=0.60000002;
963 };
964 class OpticsInfoWeaponOverride
965 {
966 memoryPointCamera="eyeIronsights";
967 cameraDir="cameraDirIronsights";
968 opticsZoomMin=0.52359998;
969 opticsZoomMax=0.52359998;
970 opticsZoomInit=0.52359998;
971 distanceZoomMin=25;
972 distanceZoomMax=200;
973 discreteDistance[]={25,50,100,200};
974 discreteDistanceInitIndex=0;
975 PPDOFProperties[]={1,0.147,20,180,4,10};
976 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
977 PPLensProperties[]={1,0.15000001,0,0};
978 PPBlurProperties=0.2;
979 };
980 };
981 class PUScopeOptic: ItemOptics_Base
982 {
983 scope=2;
984 displayName="$STR_cfgVehicles_PUScopeOptic0";
985 descriptionShort="$STR_cfgVehicles_PUScopeOptic1";
986 model="\DZ\weapons\attachments\optics\optic_puscope.p3d";
987 debug_ItemCategory=3;
988 animClass="Binoculars";
989 rotationFlags=16;
990 reversed=0;
991 weight=800;
992 itemSize[]={3,1};
993 inventorySlot[]=
994 {
995 "weaponOpticsMosin"
996 };
997 simulation="itemoptics";
998 recoilModifier[]={1,1,1};
999 swayModifier[]={1,1,1};
1000 hiddenSelections[]=
1001 {
1002 "camo"
1003 };
1004 hiddenSelectionsTextures[]=
1005 {
1006 "dz\weapons\attachments\data\puscope_co.paa"
1007 };
1008 hiddenSelectionsMaterials[]=
1009 {
1010 "dz\weapons\attachments\data\puscope.rvmat"
1011 };
1012 memoryPointCamera="eyeScope";
1013 cameraDir="cameraDir";
1014 class DamageSystem
1015 {
1016 class GlobalHealth
1017 {
1018 class Health
1019 {
1020 hitpoints=50;
1021 healthLevels[]=
1022 {
1023
1024 {
1025 1,
1026
1027 {
1028 "DZ\weapons\attachments\data\scope_alpha_clear_ca.paa",
1029 "DZ\weapons\attachments\data\puscope.rvmat"
1030 }
1031 },
1032
1033 {
1034 0.69999999,
1035 {}
1036 },
1037
1038 {
1039 0.5,
1040
1041 {
1042 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
1043 "DZ\weapons\attachments\data\puscope_damage.rvmat"
1044 }
1045 },
1046
1047 {
1048 0.30000001,
1049 {}
1050 },
1051
1052 {
1053 0,
1054
1055 {
1056 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
1057 "DZ\weapons\attachments\data\puscope_destruct.rvmat"
1058 }
1059 }
1060 };
1061 };
1062 };
1063 };
1064 class OpticsInfo
1065 {
1066 memoryPointCamera="eyeScope";
1067 cameraDir="cameraDir";
1068 modelOptics="-";
1069 opticsDisablePeripherialVision=0.67000002;
1070 opticsFlare=1;
1071 opticsPPEffects[]=
1072 {
1073 "OpticsCHAbera3",
1074 "OpticsBlur1"
1075 };
1076 opticsZoomMin="0.3926/3.5";
1077 opticsZoomMax="0.3926/3.5";
1078 opticsZoomInit="0.3926/3.5";
1079 distanceZoomMin=100;
1080 distanceZoomMax=1300;
1081 discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100,1200,1300};
1082 discreteDistanceInitIndex=0;
1083 PPMaskProperties[]={0.5,0.5,0.34999999,0.050000001};
1084 PPLensProperties[]={0.5,0.15000001,0,0};
1085 PPBlurProperties=0.60000002;
1086 };
1087 };
1088 class KashtanOptic: ItemOptics_Base
1089 {
1090 scope=2;
1091 displayName="$STR_cfgVehicles_KashtanOptic0";
1092 descriptionShort="$STR_cfgVehicles_KashtanOptic1";
1093 model="\DZ\weapons\attachments\optics\optic_kashtan.p3d";
1094 debug_ItemCategory=3;
1095 animClass="Binoculars";
1096 rotationFlags=16;
1097 reversed=0;
1098 weight=800;
1099 itemSize[]={2,2};
1100 inventorySlot[]=
1101 {
1102 "weaponOpticsAK"
1103 };
1104 simulation="itemoptics";
1105 recoilModifier[]={1,1,1};
1106 swayModifier[]={1,1,1};
1107 memoryPointCamera="eyeScope";
1108 cameraDir="cameraDir";
1109 hiddenSelections[]=
1110 {
1111 "camo"
1112 };
1113 hiddenSelectionsTextures[]=
1114 {
1115 "dz\weapons\attachments\data\optic_kashtan_co.paa"
1116 };
1117 hiddenSelectionsMaterials[]=
1118 {
1119 "dz\weapons\attachments\data\optic_kashtan.rvmat"
1120 };
1121 class DamageSystem
1122 {
1123 class GlobalHealth
1124 {
1125 class Health
1126 {
1127 hitpoints=50;
1128 healthLevels[]=
1129 {
1130
1131 {
1132 1,
1133
1134 {
1135 "DZ\weapons\attachments\optics\data\lensglass_clearer.rvmat",
1136 "DZ\weapons\attachments\data\optic_kashtan.rvmat"
1137 }
1138 },
1139
1140 {
1141 0.69999999,
1142 {}
1143 },
1144
1145 {
1146 0.5,
1147
1148 {
1149 "DZ\weapons\attachments\optics\data\lensglass_clearer_damage.rvmat",
1150 "DZ\weapons\attachments\data\optic_kashtan_damage.rvmat"
1151 }
1152 },
1153
1154 {
1155 0.30000001,
1156 {}
1157 },
1158
1159 {
1160 0,
1161
1162 {
1163 "DZ\weapons\attachments\optics\data\lensglass_clearer_destruct.rvmat",
1164 "DZ\weapons\attachments\data\optic_kashtan_destruct.rvmat"
1165 }
1166 }
1167 };
1168 };
1169 };
1170 };
1171 class OpticsInfo
1172 {
1173 memoryPointCamera="eyeScope";
1174 cameraDir="cameraDir";
1175 modelOptics="-";
1176 opticsDisablePeripherialVision=0.67000002;
1177 opticsFlare=1;
1178 opticsPPEffects[]=
1179 {
1180 "OpticsCHAbera3",
1181 "OpticsBlur1"
1182 };
1183 opticsZoomMin="0.3926/2.38";
1184 opticsZoomMax="0.3926/2.38";
1185 opticsZoomInit="0.3926/2.38";
1186 distanceZoomMin=200;
1187 distanceZoomMax=200;
1188 discreteDistance[]={200};
1189 discreteDistanceInitIndex=0;
1190 PPMaskProperties[]={0.5,0.5,0.40000001,0.079999998};
1191 PPLensProperties[]={0.34999999,0.15000001,0,0};
1192 PPBlurProperties=0.2;
1193 };
1194 };
1195 class LongrangeOptic: ItemOptics_Base
1196 {
1197 scope=2;
1198 displayName="$STR_cfgVehicles_LongrangeOptic0";
1199 descriptionShort="$STR_cfgVehicles_LongrangeOptic1";
1200 model="\DZ\weapons\attachments\optics\optic_longrange.p3d";
1201 debug_ItemCategory=3;
1202 animClass="Binoculars";
1203 rotationFlags=4;
1204 reversed=0;
1205 weight=700;
1206 itemSize[]={3,2};
1207 inventorySlot[]=
1208 {
1209 "weaponOpticsLRS"
1210 };
1211 simulation="itemoptics";
1212 recoilModifier[]={1,1,1};
1213 swayModifier[]={1,1,1};
1214 memoryPointCamera="eyeScope_temp";
1215 cameraDir="cameraDir";
1216 class DamageSystem
1217 {
1218 class GlobalHealth
1219 {
1220 class Health
1221 {
1222 hitpoints=100;
1223 healthLevels[]=
1224 {
1225
1226 {
1227 1,
1228
1229 {
1230 "DZ\weapons\attachments\data\scope_alpha_ca.paa",
1231 "DZ\weapons\attachments\data\mosin_scope.rvmat"
1232 }
1233 },
1234
1235 {
1236 0.69999999,
1237 {}
1238 },
1239
1240 {
1241 0.5,
1242
1243 {
1244 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
1245 "DZ\weapons\attachments\data\mosin_scope_damage.rvmat"
1246 }
1247 },
1248
1249 {
1250 0.30000001,
1251 {}
1252 },
1253
1254 {
1255 0,
1256
1257 {
1258 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
1259 "DZ\weapons\attachments\data\mosin_scope_destruct.rvmat"
1260 }
1261 }
1262 };
1263 };
1264 };
1265 };
1266 class OpticsInfo
1267 {
1268 memoryPointCamera="eyeScope_temp";
1269 cameraDir="cameraDir";
1270 useModelOptics=1;
1271 modelOptics="\DZ\weapons\attachments\optics\opticview_longrange.p3d";
1272 preloadOpticType="Preload2DOptic_Longrange";
1273 opticsDisablePeripherialVision=0.67000002;
1274 opticsFlare=1;
1275 opticsPPEffects[]=
1276 {
1277 "OpticsCHAbera3",
1278 "OpticsBlur1"
1279 };
1280 opticsZoomMin="0.3926/2.08";
1281 opticsZoomMax="0.3926/7.5";
1282 opticsZoomInit="0.3926/2.08";
1283 discretefov[]=
1284 {
1285 "0.3926/2.08",
1286 "0.3926/3.89",
1287 "0.3926/5.69",
1288 "0.3926/7.5"
1289 };
1290 discreteInitIndex=0;
1291 distanceZoomMin=100;
1292 distanceZoomMax=800;
1293 discreteDistance[]={100,200,300,400,500,600,700,800};
1294 discreteDistanceInitIndex=1;
1295 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
1296 PPLensProperties[]={1,0.15000001,0,0};
1297 PPBlurProperties=0.2;
1298 };
1299 };
1300 class HuntingOptic: ItemOptics_Base
1301 {
1302 scope=2;
1303 displayName="$STR_cfgVehicles_HuntingOptic0";
1304 descriptionShort="$STR_cfgVehicles_HuntingOptic1";
1305 model="\DZ\weapons\attachments\optics\optic_hunting.p3d";
1306 debug_ItemCategory=3;
1307 animClass="Binoculars";
1308 rotationFlags=4;
1309 reversed=0;
1310 weight=700;
1311 itemSize[]={4,1};
1312 inventorySlot[]=
1313 {
1314 "weaponOpticsHunting"
1315 };
1316 simulation="itemoptics";
1317 recoilModifier[]={1,1,1};
1318 swayModifier[]={1,1,1};
1319 hiddenSelections[]=
1320 {
1321 "camo",
1322 "camo_rings"
1323 };
1324 hiddenSelectionsTextures[]=
1325 {
1326 "dz\weapons\attachments\data\terra_co.paa",
1327 "dz\weapons\attachments\data\mosin_scope_co.paa"
1328 };
1329 hiddenSelectionsMaterials[]=
1330 {
1331 "dz\weapons\attachments\data\terra.rvmat",
1332 "dz\weapons\attachments\data\mosin_scope.rvmat"
1333 };
1334 memoryPointCamera="eyeScope_temp";
1335 cameraDir="cameraDir";
1336 class DamageSystem
1337 {
1338 class GlobalHealth
1339 {
1340 class Health
1341 {
1342 hitpoints=50;
1343 healthLevels[]=
1344 {
1345
1346 {
1347 1,
1348
1349 {
1350 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
1351 "DZ\weapons\attachments\data\terra.rvmat"
1352 }
1353 },
1354
1355 {
1356 0.69999999,
1357 {}
1358 },
1359
1360 {
1361 0.5,
1362
1363 {
1364 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
1365 "DZ\weapons\attachments\data\terra_damage.rvmat"
1366 }
1367 },
1368
1369 {
1370 0.30000001,
1371 {}
1372 },
1373
1374 {
1375 0,
1376
1377 {
1378 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
1379 "DZ\weapons\attachments\data\terra_destruct.rvmat"
1380 }
1381 }
1382 };
1383 };
1384 };
1385 };
1386 class OpticsInfo
1387 {
1388 memoryPointCamera="eyeScope";
1389 cameraDir="cameraDir";
1390 useModelOptics=1;
1391 modelOptics="\DZ\weapons\attachments\optics\opticview_longrange.p3d";
1392 preloadOpticType="Preload2DOptic_Longrange";
1393 opticsDisablePeripherialVision=0.67000002;
1394 opticsFlare=1;
1395 opticsPPEffects[]=
1396 {
1397 "OpticsCHAbera3",
1398 "OpticsBlur1"
1399 };
1400 opticsZoomMin="0.3926/4";
1401 opticsZoomMax="0.3926/12";
1402 opticsZoomInit="0.3926/4";
1403 discretefov[]=
1404 {
1405 "0.3926/4",
1406 "0.3926/8",
1407 "0.3926/12"
1408 };
1409 discreteInitIndex=0;
1410 distanceZoomMin=100;
1411 distanceZoomMax=1000;
1412 discreteDistance[]={200,300,400,500,600,700,800};
1413 discreteDistanceInitIndex=0;
1414 PPMaskProperties[]={0.5,0.5,0.47,0.1};
1415 PPLensProperties[]={0.075000003,0.15000001,0,0};
1416 PPBlurProperties=0.30000001;
1417 };
1418 class OpticsModelInfo
1419 {
1420 hiddenSelections[]=
1421 {
1422 "reddot"
1423 };
1424 hiddenSelectionsTextures[]=
1425 {
1426 ""
1427 };
1428 healthLevels[]=
1429 {
1430
1431 {
1432 1,
1433
1434 {
1435 "dz\weapons\attachments\optics\data\lensglass_ca.paa"
1436 }
1437 },
1438
1439 {
1440 0.69999999,
1441 {}
1442 },
1443
1444 {
1445 0.5,
1446
1447 {
1448 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa"
1449 }
1450 },
1451
1452 {
1453 0.30000001,
1454 {}
1455 },
1456
1457 {
1458 0,
1459
1460 {
1461 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa"
1462 }
1463 }
1464 };
1465 };
1466 class AnimationSources
1467 {
1468 class hide
1469 {
1470 source="user";
1471 animPeriod=0.0099999998;
1472 initPhase=0;
1473 };
1474 class rings_ris
1475 {
1476 source="user";
1477 animPeriod=0.0099999998;
1478 initPhase=1;
1479 };
1480 class rings_ris_pilot
1481 {
1482 source="user";
1483 animPeriod=0.0099999998;
1484 initPhase=1;
1485 };
1486 class rings_winchester
1487 {
1488 source="user";
1489 animPeriod=0.0099999998;
1490 initPhase=0;
1491 };
1492 class rings_winchester_pilot
1493 {
1494 source="user";
1495 animPeriod=0.0099999998;
1496 initPhase=0;
1497 };
1498 };
1499 };
1500 class PistolOptic: ItemOptics_Base
1501 {
1502 scope=2;
1503 displayName="$STR_cfgVehicles_PistolOptic0";
1504 descriptionShort="$STR_cfgVehicles_PistolOptic1";
1505 model="\DZ\weapons\attachments\optics\optic_pistol.p3d";
1506 debug_ItemCategory=3;
1507 animClass="Binoculars";
1508 rotationFlags=12;
1509 reversed=0;
1510 weight=700;
1511 itemSize[]={3,1};
1512 inventorySlot[]=
1513 {
1514 "weaponOpticsCrossbow"
1515 };
1516 simulation="itemoptics";
1517 recoilModifier[]={1,1,1};
1518 swayModifier[]={1,1,1};
1519 memoryPointCamera="eyeScope";
1520 cameraDir="cameraDir";
1521 hiddenSelections[]=
1522 {
1523 "camo"
1524 };
1525 hiddenSelectionsTextures[]=
1526 {
1527 "dz\weapons\attachments\optics\data\pistol_scope_co.paa"
1528 };
1529 hiddenSelectionsMaterials[]=
1530 {
1531 "dz\weapons\attachments\data\pistol_scope.rvmat"
1532 };
1533 class DamageSystem
1534 {
1535 class GlobalHealth
1536 {
1537 class Health
1538 {
1539 hitpoints=30;
1540 healthLevels[]=
1541 {
1542
1543 {
1544 1,
1545
1546 {
1547 "DZ\weapons\attachments\data\scope_alpha_clear_ca.paa",
1548 "DZ\weapons\attachments\data\pistol_scope.rvmat"
1549 }
1550 },
1551
1552 {
1553 0.69999999,
1554 {}
1555 },
1556
1557 {
1558 0.5,
1559
1560 {
1561 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
1562 "DZ\weapons\attachments\data\pistol_scope_damage.rvmat"
1563 }
1564 },
1565
1566 {
1567 0.30000001,
1568 {}
1569 },
1570
1571 {
1572 0,
1573
1574 {
1575 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
1576 "DZ\weapons\attachments\data\pistol_scope_destruct.rvmat"
1577 }
1578 }
1579 };
1580 };
1581 };
1582 };
1583 class OpticsInfo
1584 {
1585 memoryPointCamera="eyeScope";
1586 cameraDir="cameraDir";
1587 modelOptics="-";
1588 opticsDisablePeripherialVision=0.67000002;
1589 opticsFlare=1;
1590 opticsPPEffects[]=
1591 {
1592 "OpticsCHAbera5",
1593 "OpticsBlur1"
1594 };
1595 opticsZoomMin="0.3926/1.8";
1596 opticsZoomMax="0.3926/1.8";
1597 opticsZoomInit="0.3926/1.8";
1598 distanceZoomMin=50;
1599 distanceZoomMax=150;
1600 discreteDistance[]={50,100,150};
1601 discreteDistanceInitIndex=0;
1602 PPMaskProperties[]={0.5,0.5,0.23,0.050000001};
1603 PPLensProperties[]={0.5,0.15000001,0,0};
1604 PPBlurProperties=0.2;
1605 };
1606 };
1607 class SportingOptic: ItemOptics_Base
1608 {
1609 scope=2;
1610 displayName="$STR_cfgVehicles_SportingOptic0";
1611 descriptionShort="$STR_cfgVehicles_SportingOptic1";
1612 model="\DZ\weapons\attachments\optics\optic_sporting.p3d";
1613 debug_ItemCategory=3;
1614 attachments[]=
1615 {
1616 "BatteryD"
1617 };
1618 animClass="Binoculars";
1619 rotationFlags=12;
1620 reversed=0;
1621 weight=250;
1622 itemSize[]={3,1};
1623 inventorySlot[]=
1624 {
1625 "weaponOpticsHunting"
1626 };
1627 simulation="itemoptics";
1628 recoilModifier[]={1,1,1};
1629 swayModifier[]={1,1,1};
1630 memoryPointCamera="eyeScope";
1631 cameraDir="cameraDir";
1632 hiddenSelections[]=
1633 {
1634 "camo",
1635 "reddot"
1636 };
1637 hiddenSelectionsTextures[]=
1638 {
1639 "dz\weapons\attachments\optics\data\optic_sporting_co.paa",
1640 ""
1641 };
1642 hiddenSelectionsMaterials[]=
1643 {
1644 "dz\weapons\attachments\optics\data\optic_sporting.rvmat",
1645 ""
1646 };
1647 class DamageSystem
1648 {
1649 class GlobalHealth
1650 {
1651 class Health
1652 {
1653 hitpoints=30;
1654 healthLevels[]=
1655 {
1656
1657 {
1658 1,
1659
1660 {
1661 "DZ\weapons\attachments\data\scope_alpha_clear_ca.paa",
1662 "DZ\weapons\attachments\optics\data\optic_sporting.rvmat"
1663 }
1664 },
1665
1666 {
1667 0.69999999,
1668 {}
1669 },
1670
1671 {
1672 0.5,
1673
1674 {
1675 "DZ\weapons\attachments\data\scope_alpha_damaged_ca.paa",
1676 "DZ\weapons\attachments\optics\data\optic_sporting_damage.rvmat"
1677 }
1678 },
1679
1680 {
1681 0.30000001,
1682 {}
1683 },
1684
1685 {
1686 0,
1687
1688 {
1689 "DZ\weapons\attachments\data\scope_alpha_destroyed_ca.paa",
1690 "DZ\weapons\attachments\optics\data\optic_sporting_destruct.rvmat"
1691 }
1692 }
1693 };
1694 };
1695 };
1696 };
1697 class OpticsInfo
1698 {
1699 memoryPointCamera="eyeScope";
1700 cameraDir="cameraDir";
1701 modelOptics="-";
1702 opticsDisablePeripherialVision=0.67000002;
1703 opticsFlare=1;
1704 opticsPPEffects[]=
1705 {
1706 "OpticsCHAbera5",
1707 "OpticsBlur1"
1708 };
1709 opticsZoomMin="0.3926/2";
1710 opticsZoomMax="0.3926/2";
1711 opticsZoomInit="0.3926/2";
1712 distanceZoomMin=25;
1713 distanceZoomMax=200;
1714 discreteDistance[]={25,50,100,200};
1715 discreteDistanceInitIndex=0;
1716 PPMaskProperties[]={0.5,0.5,0.17200001,0.039999999};
1717 PPLensProperties[]={0.5,0.25,0,0};
1718 PPBlurProperties=0.2;
1719 opticSightTexture="dz\weapons\attachments\optics\data\collimdot_red_ca.paa";
1720 };
1721 class EnergyManager
1722 {
1723 hasIcon=1;
1724 energyUsagePerSecond=0.02;
1725 plugType=1;
1726 attachmentAction=1;
1727 };
1728 };
1729 class MK4Optic_ColorBase: ItemOptics_Base
1730 {
1731 scope=0;
1732 displayName="$STR_cfgVehicles_MK4Optic0";
1733 descriptionShort="$STR_cfgVehicles_MK4Optic1";
1734 model="\DZ\weapons\attachments\optics\optic_mark4.p3d";
1735 debug_ItemCategory=3;
1736 attachments[]=
1737 {
1738 "BatteryD"
1739 };
1740 animClass="Binoculars";
1741 rotationFlags=4;
1742 reversed=0;
1743 weight=600;
1744 itemSize[]={4,1};
1745 inventorySlot[]=
1746 {
1747 "WeaponOptics"
1748 };
1749 simulation="itemoptics";
1750 recoilModifier[]={1,1,1};
1751 swayModifier[]={1,1,1};
1752 memoryPointCamera="eyeScope_temp";
1753 cameraDir="cameraDir";
1754 hiddenSelections[]=
1755 {
1756 "camo"
1757 };
1758 class DamageSystem
1759 {
1760 class GlobalHealth
1761 {
1762 class Health
1763 {
1764 hitpoints=100;
1765 healthLevels[]=
1766 {
1767
1768 {
1769 1,
1770
1771 {
1772 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
1773 "DZ\weapons\attachments\optics\data\optic_mark4.rvmat"
1774 }
1775 },
1776
1777 {
1778 0.69999999,
1779 {}
1780 },
1781
1782 {
1783 0.5,
1784
1785 {
1786 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
1787 "DZ\weapons\attachments\optics\data\optic_mark4_damage.rvmat"
1788 }
1789 },
1790
1791 {
1792 0.30000001,
1793 {}
1794 },
1795
1796 {
1797 0,
1798
1799 {
1800 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
1801 "DZ\weapons\attachments\optics\data\optic_mark4_destruct.rvmat"
1802 }
1803 }
1804 };
1805 };
1806 };
1807 };
1808 class OpticsInfo
1809 {
1810 memoryPointCamera="eyeScope";
1811 cameraDir="cameraDir";
1812 useModelOptics=1;
1813 modelOptics="\DZ\weapons\attachments\optics\opticview_mark4.p3d";
1814 preloadOpticType="Preload2DOptic_Longrange";
1815 opticsDisablePeripherialVision=0.67000002;
1816 opticsFlare=1;
1817 opticsPPEffects[]=
1818 {
1819 "OpticsCHAbera3",
1820 "OpticsBlur1"
1821 };
1822 opticsZoomMin="0.3926/3.5";
1823 opticsZoomMax="0.3926/10";
1824 opticsZoomInit="0.3926/10";
1825 discretefov[]=
1826 {
1827 "0.3926/3.5",
1828 "0.3926/6.5",
1829 "0.3926/10"
1830 };
1831 discreteInitIndex=0;
1832 distanceZoomMin=100;
1833 distanceZoomMax=1100;
1834 discreteDistance[]={100,200,300,400,500,600,700,800,900,1000,1100};
1835 discreteDistanceInitIndex=0;
1836 PPMaskProperties[]={0.5,0.5,0.47999999,0.1};
1837 PPLensProperties[]={0.075000003,0.15000001,0,0};
1838 PPBlurProperties=0.30000001;
1839 };
1840 class OpticsModelInfo
1841 {
1842 hiddenSelections[]=
1843 {
1844 "reddot"
1845 };
1846 hiddenSelectionsTextures[]=
1847 {
1848 ""
1849 };
1850 healthLevels[]=
1851 {
1852
1853 {
1854 1,
1855
1856 {
1857 "dz\weapons\attachments\optics\data\lensglass_ca.paa"
1858 }
1859 },
1860
1861 {
1862 0.69999999,
1863 {}
1864 },
1865
1866 {
1867 0.5,
1868
1869 {
1870 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa"
1871 }
1872 },
1873
1874 {
1875 0.30000001,
1876 {}
1877 },
1878
1879 {
1880 0,
1881
1882 {
1883 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa"
1884 }
1885 }
1886 };
1887 opticSightTexture="dz\weapons\attachments\optics\data\opticview_mark4_e_ca.paa";
1888 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
1889 };
1890 class AnimationSources
1891 {
1892 class hide
1893 {
1894 source="user";
1895 animPeriod=0.0099999998;
1896 initPhase=0;
1897 };
1898 class camo
1899 {
1900 source="user";
1901 animPeriod=0.0099999998;
1902 initPhase=0;
1903 };
1904 };
1905 class EnergyManager
1906 {
1907 hasIcon=1;
1908 energyUsagePerSecond=0.02;
1909 plugType=1;
1910 attachmentAction=1;
1911 };
1912 };
1913 class MK4Optic_Tan: MK4Optic_ColorBase
1914 {
1915 scope=2;
1916 hiddenSelectionsTextures[]=
1917 {
1918 "dz\weapons\attachments\optics\data\optic_mark4_tan_co.paa"
1919 };
1920 };
1921 class MK4Optic_Green: MK4Optic_ColorBase
1922 {
1923 scope=2;
1924 hiddenSelectionsTextures[]=
1925 {
1926 "dz\weapons\attachments\optics\data\optic_mark4_green_co.paa"
1927 };
1928 };
1929 class MK4Optic_Black: MK4Optic_ColorBase
1930 {
1931 scope=2;
1932 hiddenSelectionsTextures[]=
1933 {
1934 "dz\weapons\attachments\optics\data\optic_mark4_black_co.paa"
1935 };
1936 };
1937 class PSO1Optic: ItemOptics_Base
1938 {
1939 scope=2;
1940 displayName="$STR_cfgVehicles_PSO1Optic0";
1941 descriptionShort="$STR_cfgVehicles_PSO1Optic1";
1942 model="\DZ\weapons\attachments\optics\optic_pso1.p3d";
1943 debug_ItemCategory=3;
1944 attachments[]=
1945 {
1946 "BatteryD"
1947 };
1948 animClass="Binoculars";
1949 rotationFlags=17;
1950 reversed=0;
1951 weight=600;
1952 itemSize[]={3,2};
1953 inventorySlot[]=
1954 {
1955 "weaponOpticsAK"
1956 };
1957 simulation="itemoptics";
1958 memoryPointCamera="eyeScope";
1959 cameraDir="cameraDir";
1960 recoilModifier[]={1,1,1};
1961 swayModifier[]={1,1,1};
1962 hiddenSelections[]=
1963 {
1964 "reddot",
1965 "reticle_nonglow",
1966 "camo",
1967 "camo2"
1968 };
1969 hiddenSelectionsTextures[]=
1970 {
1971 "",
1972 "dz\weapons\attachments\optics\data\Reticle_Pso1Glow_ca.paa",
1973 "dz\weapons\attachments\data\svd_scope_co.paa",
1974 "dz\weapons\attachments\data\svd_scope_ca.paa"
1975 };
1976 hiddenSelectionsMaterials[]=
1977 {
1978 "",
1979 "dz\weapons\attachments\optics\data\default_black.rvmat",
1980 "dz\weapons\attachments\data\svd_scope.rvmat",
1981 ""
1982 };
1983 class DamageSystem
1984 {
1985 class GlobalHealth
1986 {
1987 class Health
1988 {
1989 hitpoints=50;
1990 healthLevels[]=
1991 {
1992
1993 {
1994 1,
1995
1996 {
1997 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
1998 "DZ\weapons\attachments\data\svd_scope.rvmat"
1999 }
2000 },
2001
2002 {
2003 0.69999999,
2004 {}
2005 },
2006
2007 {
2008 0.5,
2009
2010 {
2011 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2012 "DZ\weapons\attachments\data\svd_scope_damage.rvmat"
2013 }
2014 },
2015
2016 {
2017 0.30000001,
2018 {}
2019 },
2020
2021 {
2022 0,
2023
2024 {
2025 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2026 "DZ\weapons\attachments\data\svd_scope_destruct.rvmat"
2027 }
2028 }
2029 };
2030 };
2031 };
2032 };
2033 class OpticsInfo
2034 {
2035 memoryPointCamera="eyeScope";
2036 cameraDir="cameraDir";
2037 modelOptics="-";
2038 opticsDisablePeripherialVision=0.67000002;
2039 opticsFlare=1;
2040 opticsPPEffects[]=
2041 {
2042 "OpticsCHAbera5",
2043 "OpticsBlur3"
2044 };
2045 opticSightTexture="dz\weapons\attachments\optics\data\reticle_pso1glow_ca.paa";
2046 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
2047 opticsZoomMin="0.3926/4*5/4";
2048 opticsZoomMax="0.3926/4*5/4";
2049 opticsZoomInit="0.3926/4*5/4";
2050 distanceZoomMin=100;
2051 distanceZoomMax=1000;
2052 discreteDistance[]={100,200,300,400,500,600,700,800,900,1000};
2053 discreteDistanceInitIndex=0;
2054 PPMaskProperties[]={0.5,0.5,0.36000001,0.045000002};
2055 PPLensProperties[]={0.75,0.25,0,0};
2056 PPBlurProperties=0.60000002;
2057 };
2058 class EnergyManager
2059 {
2060 hasIcon=1;
2061 energyUsagePerSecond=0.02;
2062 plugType=1;
2063 attachmentAction=1;
2064 };
2065 };
2066 class PSO11Optic: ItemOptics_Base
2067 {
2068 scope=2;
2069 displayName="$STR_cfgVehicles_PSO11Optic0";
2070 descriptionShort="$STR_cfgVehicles_PSO11Optic1";
2071 model="\DZ\weapons\attachments\optics\optic_pso1.p3d";
2072 debug_ItemCategory=3;
2073 attachments[]=
2074 {
2075 "BatteryD"
2076 };
2077 animClass="Binoculars";
2078 rotationFlags=1;
2079 reversed=0;
2080 weight=600;
2081 itemSize[]={3,2};
2082 inventorySlot[]=
2083 {
2084 "weaponOpticsAK"
2085 };
2086 simulation="itemoptics";
2087 memoryPointCamera="eyeScope";
2088 cameraDir="cameraDir";
2089 recoilModifier[]={1,1,1};
2090 swayModifier[]={1,1,1};
2091 hiddenSelections[]=
2092 {
2093 "reddot",
2094 "reticle_nonglow",
2095 "camo",
2096 "camo2"
2097 };
2098 hiddenSelectionsTextures[]=
2099 {
2100 "",
2101 "dz\weapons\attachments\optics\data\Reticle_Pso11Glow_ca.paa",
2102 "dz\weapons\attachments\data\svd_scope_co.paa",
2103 "dz\weapons\attachments\data\svd_scope_ca.paa"
2104 };
2105 hiddenSelectionsMaterials[]=
2106 {
2107 "",
2108 "dz\weapons\attachments\optics\data\default_black.rvmat",
2109 "dz\weapons\attachments\data\svd_scope.rvmat",
2110 ""
2111 };
2112 class DamageSystem
2113 {
2114 class GlobalHealth
2115 {
2116 class Health
2117 {
2118 hitpoints=50;
2119 healthLevels[]=
2120 {
2121
2122 {
2123 1,
2124
2125 {
2126 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
2127 "DZ\weapons\attachments\data\svd_scope.rvmat"
2128 }
2129 },
2130
2131 {
2132 0.69999999,
2133 {}
2134 },
2135
2136 {
2137 0.5,
2138
2139 {
2140 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2141 "DZ\weapons\attachments\data\svd_scope_damage.rvmat"
2142 }
2143 },
2144
2145 {
2146 0.30000001,
2147 {}
2148 },
2149
2150 {
2151 0,
2152
2153 {
2154 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2155 "DZ\weapons\attachments\data\svd_scope_destruct.rvmat"
2156 }
2157 }
2158 };
2159 };
2160 };
2161 };
2162 class OpticsInfo
2163 {
2164 memoryPointCamera="eyeScope";
2165 cameraDir="cameraDir";
2166 modelOptics="-";
2167 opticsDisablePeripherialVision=0.67000002;
2168 opticsFlare=1;
2169 opticsPPEffects[]=
2170 {
2171 "OpticsCHAbera5",
2172 "OpticsBlur3"
2173 };
2174 opticSightTexture="dz\weapons\attachments\optics\data\reticle_pso11glow_ca.paa";
2175 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
2176 opticsZoomMin="0.3926/4*5/4";
2177 opticsZoomMax="0.3926/4*5/4";
2178 opticsZoomInit="0.3926/4*5/4";
2179 distanceZoomMin=100;
2180 distanceZoomMax=1000;
2181 discreteDistance[]={100,200,300,400,500,600,700,800,900,1000};
2182 discreteDistanceInitIndex=0;
2183 PPMaskProperties[]={0.5,0.5,0.36000001,0.045000002};
2184 PPLensProperties[]={0.75,0.25,0,0};
2185 PPBlurProperties=0.60000002;
2186 };
2187 class EnergyManager
2188 {
2189 hasIcon=1;
2190 energyUsagePerSecond=0.02;
2191 plugType=1;
2192 attachmentAction=1;
2193 };
2194 };
2195 class PSO6Optic: PSO1Optic
2196 {
2197 scope=2;
2198 displayName="$STR_cfgVehicles_PSO6Optic0";
2199 descriptionShort="$STR_cfgVehicles_PSO6Optic1";
2200 model="\DZ\weapons\attachments\optics\optic_pso6.p3d";
2201 debug_ItemCategory=3;
2202 attachments[]=
2203 {
2204 "BatteryD"
2205 };
2206 animClass="Binoculars";
2207 rotationFlags=17;
2208 reversed=0;
2209 weight=650;
2210 itemSize[]={3,2};
2211 inventorySlot[]=
2212 {
2213 "weaponOpticsAK"
2214 };
2215 simulation="itemoptics";
2216 memoryPointCamera="eyeScope";
2217 cameraDir="cameraDir";
2218 recoilModifier[]={1,1,1};
2219 swayModifier[]={1,1,1};
2220 hiddenSelections[]=
2221 {
2222 "reddot",
2223 "reticle_nonglow"
2224 };
2225 hiddenSelectionsTextures[]=
2226 {
2227 "",
2228 "dz\weapons\attachments\optics\data\Reticle_Pso1Glow_ca.paa"
2229 };
2230 hiddenSelectionsMaterials[]=
2231 {
2232 "",
2233 "dz\weapons\attachments\optics\data\default_black.rvmat"
2234 };
2235 class DamageSystem
2236 {
2237 class GlobalHealth
2238 {
2239 class Health
2240 {
2241 hitpoints=50;
2242 healthLevels[]=
2243 {
2244
2245 {
2246 1,
2247
2248 {
2249 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
2250 "DZ\weapons\attachments\data\svd_scope.rvmat"
2251 }
2252 },
2253
2254 {
2255 0.69999999,
2256 {}
2257 },
2258
2259 {
2260 0.5,
2261
2262 {
2263 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2264 "DZ\weapons\attachments\data\svd_scope_damage.rvmat"
2265 }
2266 },
2267
2268 {
2269 0.30000001,
2270 {}
2271 },
2272
2273 {
2274 0,
2275
2276 {
2277 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2278 "DZ\weapons\attachments\data\svd_scope_destruct.rvmat"
2279 }
2280 }
2281 };
2282 };
2283 };
2284 };
2285 class OpticsInfo
2286 {
2287 memoryPointCamera="eyeScope";
2288 cameraDir="cameraDir";
2289 modelOptics="-";
2290 opticsDisablePeripherialVision=0.67000002;
2291 opticsFlare=1;
2292 opticsPPEffects[]=
2293 {
2294 "OpticsCHAbera5",
2295 "OpticsBlur3"
2296 };
2297 opticSightTexture="dz\weapons\attachments\optics\data\reticle_pso6xglow_ca.paa";
2298 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
2299 opticsZoomMin="0.3926/6.0";
2300 opticsZoomMax="0.3926/6.0";
2301 opticsZoomInit="0.3926/6.0";
2302 distanceZoomMin=100;
2303 distanceZoomMax=1000;
2304 discreteDistance[]={100,200,300,400,500,600,700,800,900,1000};
2305 discreteDistanceInitIndex=0;
2306 PPMaskProperties[]={0.5,0.5,0.44999999,0.029999999};
2307 PPLensProperties[]={0.5,0.40000001,0,0};
2308 PPBlurProperties=0.60000002;
2309 };
2310 class EnergyManager
2311 {
2312 hasIcon=1;
2313 energyUsagePerSecond=0.02;
2314 plugType=1;
2315 attachmentAction=1;
2316 };
2317 };
2318 class GrozaOptic: ItemOptics_Base
2319 {
2320 scope=2;
2321 displayName="$STR_cfgVehicles_GrozaOptic0";
2322 descriptionShort="$STR_cfgVehicles_GrozaOptic1";
2323 model="\DZ\weapons\attachments\optics\optic_ots14.p3d";
2324 animClass="Binoculars";
2325 rotationFlags=17;
2326 reversed=0;
2327 weight=600;
2328 itemSize[]={3,1};
2329 inventorySlot[]=
2330 {
2331 "weaponOpticsAK"
2332 };
2333 simulation="itemoptics";
2334 recoilModifier[]={1,1,1};
2335 swayModifier[]={1,1,1};
2336 memoryPointCamera="eyeScope";
2337 cameraDir="cameraDir";
2338 class DamageSystem
2339 {
2340 class GlobalHealth
2341 {
2342 class Health
2343 {
2344 hitpoints=100;
2345 healthLevels[]=
2346 {
2347
2348 {
2349 1,
2350
2351 {
2352 "DZ\weapons\attachments\data\ots14_scope.rvmat"
2353 }
2354 },
2355
2356 {
2357 0.69999999,
2358
2359 {
2360 "DZ\weapons\attachments\data\ots14_scope.rvmat"
2361 }
2362 },
2363
2364 {
2365 0.5,
2366
2367 {
2368 "DZ\weapons\attachments\data\ots14_scope_damage.rvmat"
2369 }
2370 },
2371
2372 {
2373 0.30000001,
2374
2375 {
2376 "DZ\weapons\attachments\data\ots14_scope_damage.rvmat"
2377 }
2378 },
2379
2380 {
2381 0,
2382
2383 {
2384 "DZ\weapons\attachments\data\ots14_scope_destruct.rvmat"
2385 }
2386 }
2387 };
2388 };
2389 };
2390 };
2391 class OpticsInfo
2392 {
2393 memoryPointCamera="eyeScope";
2394 cameraDir="cameraDir";
2395 useModelOptics=1;
2396 modelOptics="\DZ\weapons\attachments\optics\opticview_pso1_vss.p3d";
2397 preloadOpticType="Preload2DOptic_Pso1_VSS";
2398 opticsDisablePeripherialVision=0.67000002;
2399 opticsFlare=1;
2400 opticsPPEffects[]=
2401 {
2402 "OpticsCHAbera5",
2403 "OpticsBlur3"
2404 };
2405 opticsZoomMin="0.3926/4";
2406 opticsZoomMax="0.3926/4";
2407 opticsZoomInit="0.3926/4";
2408 distanceZoomMin=100;
2409 distanceZoomMax=400;
2410 discreteDistance[]={100,200,400};
2411 discreteDistanceInitIndex=1;
2412 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
2413 PPLensProperties[]={1,0.15000001,0,0};
2414 PPBlurProperties=0.2;
2415 };
2416 class AnimationSources
2417 {
2418 class leaver
2419 {
2420 source="user";
2421 animPeriod=0.5;
2422 initPhase=0;
2423 };
2424 class hide
2425 {
2426 source="user";
2427 animPeriod=0.0099999998;
2428 initPhase=0;
2429 };
2430 };
2431 };
2432 class KobraOptic: ItemOptics_Base
2433 {
2434 scope=2;
2435 displayName="$STR_cfgVehicles_KobraOptic0";
2436 descriptionShort="$STR_cfgVehicles_KobraOptic1";
2437 model="\DZ\weapons\attachments\optics\optic_kobra.p3d";
2438 debug_ItemCategory=3;
2439 attachments[]=
2440 {
2441 "BatteryD"
2442 };
2443 animClass="Binoculars";
2444 rotationFlags=16;
2445 reversed=0;
2446 weight=800;
2447 itemSize[]={2,2};
2448 inventorySlot[]=
2449 {
2450 "weaponOpticsAK"
2451 };
2452 simulation="itemoptics";
2453 recoilModifier[]={1,1,1};
2454 swayModifier[]={1,1,1};
2455 hiddenSelections[]=
2456 {
2457 "camo",
2458 "reddot"
2459 };
2460 hiddenSelectionsTextures[]=
2461 {
2462 "dz\weapons\attachments\optics\data\red_dot_kobra_co.paa"
2463 };
2464 hiddenSelectionsMaterials[]=
2465 {
2466 "dz\weapons\attachments\optics\data\red_dot_kobra.rvmat"
2467 };
2468 memoryPointCamera="eyeScope";
2469 cameraDir="cameraDir";
2470 class DamageSystem
2471 {
2472 class GlobalHealth
2473 {
2474 class Health
2475 {
2476 hitpoints=50;
2477 healthLevels[]=
2478 {
2479
2480 {
2481 1,
2482
2483 {
2484 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
2485 "DZ\weapons\attachments\optics\data\lensglass_clearer.rvmat",
2486 "DZ\weapons\attachments\optics\data\Red_dot_kobra.rvmat"
2487 }
2488 },
2489
2490 {
2491 0.69999999,
2492 {}
2493 },
2494
2495 {
2496 0.5,
2497
2498 {
2499 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2500 "DZ\weapons\attachments\optics\data\lensglass_clearer_damage.rvmat",
2501 "DZ\weapons\attachments\optics\data\Red_dot_kobra_damage.rvmat"
2502 }
2503 },
2504
2505 {
2506 0.30000001,
2507 {}
2508 },
2509
2510 {
2511 0,
2512
2513 {
2514 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2515 "DZ\weapons\attachments\optics\data\lensglass_clearer_destruct.rvmat",
2516 "DZ\weapons\attachments\optics\data\Red_dot_kobra_destruct.rvmat"
2517 }
2518 }
2519 };
2520 };
2521 };
2522 };
2523 class OpticsInfo
2524 {
2525 memoryPointCamera="eyeScope";
2526 cameraDir="cameraDir";
2527 modelOptics="-";
2528 opticsDisablePeripherialVision=0.67000002;
2529 opticsFlare=1;
2530 opticsPPEffects[]=
2531 {
2532 "OpticsCHAbera3",
2533 "OpticsBlur1"
2534 };
2535 opticsZoomMin=0.52359998;
2536 opticsZoomMax=0.52359998;
2537 opticsZoomInit=0.52359998;
2538 distanceZoomMin=100;
2539 distanceZoomMax=100;
2540 discreteDistance[]={100};
2541 discreteDistanceInitIndex=0;
2542 PPMaskProperties[]={0.5,0.5,0.40000001,0.050000001};
2543 PPLensProperties[]={1,0.15000001,0,0};
2544 PPBlurProperties=0.2;
2545 opticSightTexture="dz\weapons\attachments\optics\data\red_chevron_ca.paa";
2546 };
2547 class EnergyManager
2548 {
2549 hasIcon=1;
2550 energyUsagePerSecond=0.02;
2551 plugType=1;
2552 attachmentAction=1;
2553 };
2554 };
2555 class KazuarOptic: ItemOptics_Base
2556 {
2557 scope=2;
2558 displayName="$STR_cfgvehicles_1PN51Optic0";
2559 descriptionShort="$STR_cfgvehicles_1PN51Optic1";
2560 model="\DZ\weapons\attachments\optics\optic_1PN51.p3d";
2561 debug_ItemCategory=3;
2562 attachments[]=
2563 {
2564 "BatteryD"
2565 };
2566 animClass="Binoculars";
2567 rotationFlags=17;
2568 reversed=0;
2569 weight=2000;
2570 itemSize[]={4,3};
2571 inventorySlot[]=
2572 {
2573 "weaponOpticsAK"
2574 };
2575 simulation="itemoptics";
2576 recoilModifier[]={1,1,1};
2577 swayModifier[]={1,1,1};
2578 memoryPointCamera="eyeScope_temp";
2579 cameraDir="cameraDir";
2580 NVOptic=1;
2581 repairableWithKits[]={};
2582 repairCosts[]={};
2583 hiddenSelections[]=
2584 {
2585 "camo"
2586 };
2587 hiddenSelectionsTextures[]=
2588 {
2589 "dz\weapons\attachments\optics\data\optic_1pn-51_co.paa"
2590 };
2591 hiddenSelectionsMaterials[]=
2592 {
2593 "dz\weapons\attachments\optics\data\optic_1pn-51.rvmat"
2594 };
2595 class DamageSystem
2596 {
2597 class GlobalHealth
2598 {
2599 class Health
2600 {
2601 hitpoints=30;
2602 healthLevels[]=
2603 {
2604
2605 {
2606 1,
2607
2608 {
2609 "dz\weapons\attachments\optics\data\lensglass_ca.paa",
2610 "DZ\weapons\attachments\optics\data\optic_1PN-51.rvmat"
2611 }
2612 },
2613
2614 {
2615 0.69999999,
2616 {}
2617 },
2618
2619 {
2620 0.5,
2621
2622 {
2623 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2624 "DZ\weapons\attachments\optics\data\optic_1PN-51_damage.rvmat"
2625 }
2626 },
2627
2628 {
2629 0.30000001,
2630 {}
2631 },
2632
2633 {
2634 0,
2635
2636 {
2637 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2638 "DZ\weapons\attachments\optics\data\optic_1PN-51_destruct.rvmat"
2639 }
2640 }
2641 };
2642 };
2643 };
2644 };
2645 class OpticsInfo
2646 {
2647 memoryPointCamera="eyeScope_temp";
2648 cameraDir="cameraDir";
2649 useModelOptics=1;
2650 modelOptics="\DZ\weapons\attachments\optics\1PN51_opticview.p3d";
2651 preloadOpticType="Preload2DOptic_1PN51";
2652 opticsDisablePeripherialVision=0.67000002;
2653 opticsFlare=1;
2654 opticsPPEffects[]=
2655 {
2656 "OpticsCHAbera3",
2657 "OpticsBlur1"
2658 };
2659 opticsZoomMin="0.3926/3.5";
2660 opticsZoomMax="0.3926/3.5";
2661 opticsZoomInit="0.3926/3.5";
2662 distanceZoomMin=100;
2663 distanceZoomMax=700;
2664 discreteDistance[]={100,200,300,400,500,600,700};
2665 discreteDistanceInitIndex=0;
2666 PPMaskProperties[]={0.5,0.5,0.40000001,0.1};
2667 PPLensProperties[]={-1.25,1,0,0};
2668 PPBlurProperties=0.75;
2669 };
2670 class OpticsModelInfo
2671 {
2672 hiddenSelections[]=
2673 {
2674 "reddot"
2675 };
2676 hiddenSelectionsTextures[]=
2677 {
2678 ""
2679 };
2680 healthLevels[]=
2681 {
2682
2683 {
2684 1,
2685
2686 {
2687 "dz\weapons\attachments\optics\data\lensglass_ca.paa"
2688 }
2689 },
2690
2691 {
2692 0.69999999,
2693 {}
2694 },
2695
2696 {
2697 0.5,
2698
2699 {
2700 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa"
2701 }
2702 },
2703
2704 {
2705 0.30000001,
2706 {}
2707 },
2708
2709 {
2710 0,
2711
2712 {
2713 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa"
2714 }
2715 }
2716 };
2717 opticSightTexture="dz\weapons\attachments\optics\data\1pn51_reticle_ca.paa";
2718 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
2719 };
2720 class AnimationSources
2721 {
2722 class hide
2723 {
2724 source="user";
2725 animPeriod=0.0099999998;
2726 initPhase=0;
2727 };
2728 class hide_cover
2729 {
2730 source="user";
2731 animPeriod=0.0099999998;
2732 initPhase=1;
2733 };
2734 class hide_cover_pilot
2735 {
2736 source="user";
2737 animPeriod=0.0099999998;
2738 initPhase=1;
2739 };
2740 };
2741 class EnergyManager
2742 {
2743 hasIcon=1;
2744 energyUsagePerSecond=0.02;
2745 plugType=1;
2746 attachmentAction=1;
2747 };
2748 };
2749 class StarlightOptic: ItemOptics_Base
2750 {
2751 scope=2;
2752 displayName="$STR_StarlightOptic0";
2753 descriptionShort="$STR_StarlightOptic1";
2754 model="\DZ\weapons\attachments\optics\optic_starlight.p3d";
2755 debug_ItemCategory=3;
2756 attachments[]=
2757 {
2758 "BatteryD"
2759 };
2760 animClass="Binoculars";
2761 rotationFlags=17;
2762 weight=1800;
2763 itemSize[]={4,3};
2764 inventorySlot[]=
2765 {
2766 "WeaponOptics"
2767 };
2768 simulation="itemoptics";
2769 recoilModifier[]={1,1,1};
2770 swayModifier[]={1,1,1};
2771 memoryPointCamera="eyeScope_temp";
2772 cameraDir="cameraDir";
2773 NVOptic=1;
2774 repairableWithKits[]={};
2775 repairCosts[]={};
2776 hiddenSelections[]=
2777 {
2778 "camo",
2779 "camo_cover"
2780 };
2781 hiddenSelectionsTextures[]=
2782 {
2783 "dz\weapons\attachments\optics\data\starlight_scope_co.paa",
2784 "dz\weapons\attachments\optics\data\starlight_cover_co.paa"
2785 };
2786 hiddenSelectionsMaterials[]=
2787 {
2788 "dz\weapons\attachments\optics\data\optic_starlight.rvmat",
2789 "dz\weapons\attachments\optics\data\optic_starlight_cover.rvmat"
2790 };
2791 class DamageSystem
2792 {
2793 class GlobalHealth
2794 {
2795 class Health
2796 {
2797 hitpoints=30;
2798 healthLevels[]=
2799 {
2800
2801 {
2802 1,
2803
2804 {
2805 "DZ\weapons\attachments\optics\data\lensglass_ca.paa",
2806 "DZ\weapons\attachments\optics\data\optic_starlight.rvmat",
2807 "DZ\weapons\attachments\optics\data\optic_starlight_emissive.rvmat",
2808 "DZ\weapons\attachments\optics\data\optic_starlight_cover.rvmat"
2809 }
2810 },
2811
2812 {
2813 0.69999999,
2814 {}
2815 },
2816
2817 {
2818 0.5,
2819
2820 {
2821 "DZ\weapons\attachments\optics\data\lensglass_damage_ca.paa",
2822 "DZ\weapons\attachments\optics\data\optic_starlight_damage.rvmat",
2823 "DZ\weapons\attachments\optics\data\optic_starlight_emissive.rvmat",
2824 "DZ\weapons\attachments\optics\data\optic_starlight_cover_damage.rvmat"
2825 }
2826 },
2827
2828 {
2829 0.30000001,
2830 {}
2831 },
2832
2833 {
2834 0,
2835
2836 {
2837 "DZ\weapons\attachments\optics\data\lensglass_destruct_ca.paa",
2838 "DZ\weapons\attachments\optics\data\optic_starlight_destruct.rvmat",
2839 "DZ\weapons\attachments\optics\data\optic_starlight_destruct.rvmat",
2840 "DZ\weapons\attachments\optics\data\optic_starlight_cover_destruct.rvmat"
2841 }
2842 }
2843 };
2844 };
2845 };
2846 };
2847 class OpticsInfo
2848 {
2849 memoryPointCamera="eyeScope_temp";
2850 cameraDir="cameraDir";
2851 useModelOptics=1;
2852 modelOptics="\DZ\weapons\attachments\optics\starlightscope_opticview.p3d";
2853 preloadOpticType="Preload2DOptic_1PN51";
2854 opticsDisablePeripherialVision=0.67000002;
2855 opticsFlare=1;
2856 opticsPPEffects[]=
2857 {
2858 "OpticsCHAbera3",
2859 "OpticsBlur1"
2860 };
2861 opticsZoomMin="0.3926/3.5";
2862 opticsZoomMax="0.3926/3.5";
2863 opticsZoomInit="0.3926/3.5";
2864 distanceZoomMin=100;
2865 distanceZoomMax=700;
2866 discreteDistance[]={100,200,300,400,500,600,700};
2867 discreteDistanceInitIndex=0;
2868 PPMaskProperties[]={0.5,0.5,0.5,0.059999999};
2869 PPLensProperties[]={-0.89999998,1,0,0};
2870 PPBlurProperties=0.75;
2871 };
2872 class OpticsModelInfo
2873 {
2874 hiddenSelections[]=
2875 {
2876 "reddot"
2877 };
2878 hiddenSelectionsTextures[]=
2879 {
2880 ""
2881 };
2882 healthLevels[]=
2883 {
2884
2885 {
2886 1,
2887
2888 {
2889 "dz\weapons\attachments\optics\data\lensglass_ca.paa"
2890 }
2891 },
2892
2893 {
2894 0.69999999,
2895 {}
2896 },
2897
2898 {
2899 0.5,
2900
2901 {
2902 "dz\weapons\attachments\optics\data\lensglass_damage_ca.paa"
2903 }
2904 },
2905
2906 {
2907 0.30000001,
2908 {}
2909 },
2910
2911 {
2912 0,
2913
2914 {
2915 "dz\weapons\attachments\optics\data\lensglass_destruct_ca.paa"
2916 }
2917 }
2918 };
2919 opticSightTexture="dz\weapons\attachments\optics\data\starlight_scope_reticle_co.paa";
2920 opticSightMaterial="dz\weapons\attachments\optics\data\tritium_medium.rvmat";
2921 };
2922 class AnimationSources
2923 {
2924 class hide
2925 {
2926 source="user";
2927 animPeriod=0.0099999998;
2928 initPhase=0;
2929 };
2930 class hide_cover
2931 {
2932 source="user";
2933 animPeriod=0.0099999998;
2934 initPhase=1;
2935 };
2936 class hide_cover_pilot
2937 {
2938 source="user";
2939 animPeriod=0.0099999998;
2940 initPhase=1;
2941 };
2942 };
2943 class EnergyManager
2944 {
2945 hasIcon=1;
2946 energyUsagePerSecond=0.02;
2947 plugType=1;
2948 attachmentAction=1;
2949 };
2950 };
2951 class Preload2DOptic_Longrange: Inventory_Base
2952 {
2953 scope=0;
2954 model="\DZ\weapons\attachments\optics\opticview_longrange.p3d";
2955 };
2956 class Preload2DOptic_Pistol: Inventory_Base
2957 {
2958 scope=0;
2959 model="\DZ\weapons\attachments\optics\opticview_pistol.p3d";
2960 };
2961 class Preload2DOptic_Pso1_VSS: Inventory_Base
2962 {
2963 scope=0;
2964 model="\DZ\weapons\attachments\optics\opticview_pso1_vss.p3d";
2965 };
2966 class Preload2DOptic_1PN51: Inventory_Base
2967 {
2968 scope=0;
2969 model="\DZ\weapons\attachments\optics\1PN51_opticview.p3d";
2970 };
2971};
2972class CfgNonAIVehicles
2973{
2974 class ProxyAttachment;
2975 class ProxyOptic_M4_carryhandle: ProxyAttachment
2976 {
2977 scope=2;
2978 inventorySlot="weaponOptics";
2979 model="\DZ\weapons\attachments\optics\optic_m4_carryhandle.p3d";
2980 };
2981 class ProxyOptic_BUIS: ProxyAttachment
2982 {
2983 scope=2;
2984 inventorySlot="weaponOptics";
2985 model="\DZ\weapons\attachments\optics\optic_buis.p3d";
2986 };
2987 class ProxyOptic_FNP45_MRDS: ProxyAttachment
2988 {
2989 scope=2;
2990 inventorySlot="pistolOptics";
2991 model="\DZ\weapons\attachments\optics\optic_fnp45_mrds.p3d";
2992 };
2993 class ProxyOptic_ACOG: ProxyAttachment
2994 {
2995 scope=2;
2996 inventorySlot="weaponOptics";
2997 model="\DZ\weapons\attachments\optics\optic_acog.p3d";
2998 };
2999 class ProxyOptic_T3N_RDS: ProxyAttachment
3000 {
3001 scope=2;
3002 inventorySlot="weaponOptics";
3003 model="\DZ\weapons\attachments\optics\optic_t3n_rds.p3d";
3004 };
3005 class Proxyoptic_red_point: ProxyAttachment
3006 {
3007 scope=2;
3008 inventorySlot="weaponOpticsCrossbow";
3009 model="\DZ\weapons\attachments\optics\optic_red_point.p3d";
3010 };
3011 class ProxyOptic_PUScope: ProxyAttachment
3012 {
3013 scope=2;
3014 inventorySlot="weaponOpticsMosin";
3015 model="\DZ\weapons\attachments\optics\optic_puscope.p3d";
3016 };
3017 class ProxyOptic_LongRange: ProxyAttachment
3018 {
3019 scope=2;
3020 inventorySlot="weaponOpticsLRS";
3021 model="\DZ\weapons\attachments\optics\optic_longrange.p3d";
3022 };
3023 class ProxyOptic_PSO1: ProxyAttachment
3024 {
3025 scope=2;
3026 inventorySlot="weaponOpticsAK";
3027 model="\DZ\weapons\attachments\optics\optic_pso1.p3d";
3028 };
3029 class ProxyOptic_Hunting: ProxyAttachment
3030 {
3031 scope=2;
3032 inventorySlot="weaponOpticsHunting";
3033 model="\DZ\weapons\attachments\optics\optic_hunting.p3d";
3034 };
3035 class ProxyOptic_MK4Optic: ProxyAttachment
3036 {
3037 scope=2;
3038 inventorySlot="weaponOptics";
3039 model="\DZ\weapons\attachments\optics\optic_hunting.p3d";
3040 };
3041 class ProxyOptic_Pistol: ProxyAttachment
3042 {
3043 scope=2;
3044 inventorySlot="weaponOpticsCrossbow";
3045 model="\DZ\weapons\attachments\optics\optic_pistol.p3d";
3046 };
3047 class ProxyOptic_Reflex: ProxyAttachment
3048 {
3049 scope=2;
3050 inventorySlot="weaponOptics";
3051 model="\DZ\weapons\attachments\optics\optic_reflex.p3d";
3052 };
3053 class Proxyoptic_1PN51: ProxyAttachment
3054 {
3055 scope=2;
3056 inventorySlot="weaponOpticsAK";
3057 model="\DZ\weapons\attachments\optics\optic_1PN51.p3d";
3058 };
3059};