DC_15A_2-6x_acog.hpp 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. class macro_new_weapon(scope,dc_r15a_acog): itemCore
  2. {
  3. scope = 2;
  4. author = "SWOP";
  5. inertia = 0.1;
  6. displayName = "DC-15A ACOG (2-6x)";
  7. picture = "\SWOP_Main\SWOP_Rifles\SWOP_Blaster\data\ui\E11_Scope.paa";
  8. model = "Scope\holoscopedc15A.p3d";
  9. descriptionShort = "DC-15 ACOG (2-6x) ";
  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(6);
  51. opticsZoomMax = scope_magnification(2);
  52. opticsZoomInit = scope_magnification(2);
  53. discreteinitIndex = 0;
  54. discretefov[] = {scope_magnification(2),scope_magnification(6)};
  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. };