DC_15A_LE_x4_x8.hpp 5.4 KB

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