DC_15A_x4_acog.hpp 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. class macro_new_weapon(scope,dc_15a_acog): itemCore
  2. {
  3. scope = 2;
  4. author = "SWOP";
  5. inertia = 0.1;
  6. displayName = "DC-15 Holo (x4)";
  7. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Scope.paa";
  8. model = "Scope\holoscopedc15A.p3d";
  9. descriptionShort = "DC-15 Holo (x3) Eotech";
  10. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  11. class ItemInfo: InventoryOpticsItem_Base_F
  12. {
  13. opticType = 2;
  14. mass = 4;
  15. RMBhint = "DC-15A Scope (x4)";
  16. optics = 1;
  17. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  18. //modelOptics = "Scope\dc15zoomscope_sight.p3d";
  19. modelOptics = "Scope\4x_xm8.p3d";
  20. class OpticsModes
  21. {
  22. class Iron
  23. {
  24. opticsID = 2;
  25. opticsDisplayName = "";
  26. useModelOptics = 0;
  27. opticsPPEffects[] = {"", ""};
  28. opticsFlare = 0;
  29. opticsDisablePeripherialVision = 0;
  30. opticsZoomMin = scope_magnification(.53);
  31. opticsZoomMax = 1.25;
  32. opticsZoomInit = 0.75;
  33. memoryPointCamera = "eye";
  34. visionMode[] = {};
  35. //discretefov[] = {scope_magnification(.53)};
  36. discreteDistance[] = {200};
  37. discreteDistanceInitIndex = 0;
  38. distanceZoomMin = 200;
  39. distanceZoomMax = 200;
  40. discreteInitIndex = 0;
  41. modelOptics = "\A3\Weapons_F\empty";
  42. //modelOptics = "Scope\DC17MSniperZoom.p3d";
  43. };
  44. class Snip
  45. {
  46. opticsID = 1;
  47. opticsDisplayName = "WFOV";
  48. useModelOptics = 1;
  49. opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
  50. opticsZoomMin = scope_magnification(4);
  51. opticsZoomMax = scope_magnification(1);
  52. opticsZoomInit = scope_magnification(4);
  53. discreteinitIndex = 0;
  54. discretefov[] = {scope_magnification(1.25),scope_magnification(4)};
  55. discreteDistance[] = {100, 300, 400, 500, 600, 700, 800, 900, 1000};
  56. discreteDistanceInitIndex = 1;
  57. distanceZoomMin = 100;
  58. distanceZoomMax = 1000;
  59. visionMode[] = {"Normal", "NVG"};
  60. thermalMode[] = {1, 2};
  61. memoryPointCamera = "opticView";
  62. modelOptics = "Scope\4x_xm8.p3d";
  63. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  64. opticsFlare = 1;
  65. opticsDisablePeripherialVision = 0;//1;
  66. cameraDir = "";
  67. };
  68. };
  69. };
  70. };
  71. class macro_new_weapon(scope,dc_15a_acogtcw): itemCore
  72. {
  73. scope = 2;
  74. author = "SWOP";
  75. inertia = 0.1;
  76. displayName = "DC-15C Holo (x4)";
  77. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Scope.paa";
  78. model = "Scope\holoscopedc15A.p3d";
  79. descriptionShort = "DC-15 Holo (x3)";
  80. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  81. class ItemInfo: InventoryOpticsItem_Base_F
  82. {
  83. opticType = 2;
  84. mass = 4;
  85. RMBhint = "DC-15A Scope (x4)";
  86. optics = 1;
  87. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  88. //modelOptics = "Scope\dc15zoomscope_sight.p3d";
  89. modelOptics = "Scope\4x_xm8.p3d";
  90. class OpticsModes
  91. {
  92. /* class Iron
  93. {
  94. opticsID = 2;
  95. opticsDisplayName = "";
  96. useModelOptics = 0;
  97. opticsPPEffects[] = {"", ""};
  98. opticsFlare = 0;
  99. opticsDisablePeripherialVision = 0;
  100. opticsZoomMin = scope_magnification(.53);
  101. opticsZoomMax = 1.25;
  102. opticsZoomInit = 0.75;
  103. memoryPointCamera = "opticView";
  104. visionMode[] = {};
  105. //discretefov[] = {scope_magnification(.53)};
  106. discreteDistance[] = {200};
  107. discreteDistanceInitIndex = 0;
  108. distanceZoomMin = 200;
  109. distanceZoomMax = 200;
  110. discreteInitIndex = 0;
  111. modelOptics = "\A3\Weapons_F\empty";
  112. //modelOptics = "Scope\DC17MSniperZoom.p3d";
  113. };*/
  114. class Snip
  115. {
  116. opticsID = 1;
  117. opticsDisplayName = "WFOV";
  118. useModelOptics = 1;
  119. opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
  120. opticsZoomMin = scope_magnification(4);
  121. opticsZoomMax = scope_magnification(1);
  122. opticsZoomInit = scope_magnification(4);
  123. discreteinitIndex = 0;
  124. discretefov[] = {scope_magnification(1.25),scope_magnification(4)};
  125. discreteDistance[] = {100, 300, 400, 500, 600, 700, 800, 900, 1000};
  126. discreteDistanceInitIndex = 1;
  127. distanceZoomMin = 100;
  128. distanceZoomMax = 1000;
  129. visionMode[] = {"Normal", "NVG"};
  130. thermalMode[] = {1, 2};
  131. memoryPointCamera = "opticView";
  132. modelOptics = "Scope\4x_xm8.p3d";
  133. weaponInfoType = "RscOptics_nightstalkerbluenorange";
  134. opticsFlare = 1;
  135. opticsDisablePeripherialVision = 0;//1;
  136. cameraDir = "";
  137. };
  138. };
  139. };
  140. };