DC_15A_modeled_x4.hpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //Modeled x4 scope
  2. class SWOP_DC15A_zoomscope:ItemCore
  3. {
  4. class ItemInfo;
  5. };
  6. class macro_new_weapon(scope,dc_15a_base1):SWOP_DC15A_zoomscope
  7. {
  8. scope=0;
  9. class ItemInfo:ItemInfo
  10. {
  11. class OpticsModes;
  12. };
  13. };
  14. class macro_new_weapon(scope,dc_15a_base2):macro_new_weapon(scope,dc_15a_base1)
  15. {
  16. scope=0;
  17. class ItemInfo:ItemInfo
  18. {
  19. class OpticsModes:OpticsModes
  20. {
  21. class Snip;
  22. };
  23. };
  24. };
  25. class macro_new_weapon(scope,dc_15a_x4):macro_new_weapon(scope,dc_15a_base2)
  26. {
  27. scope=2;
  28. displayName="DC-15A LSW x4 Scope";
  29. class ItemInfo:ItemInfo
  30. {
  31. class OpticsModes:OpticsModes
  32. {
  33. class Snip:Snip
  34. {
  35. opticsZoomMin = scope_magnification(4);
  36. opticsZoomMax = scope_magnification(1);
  37. opticsZoomInit = scope_magnification(1);
  38. discreteinitIndex = 0;
  39. discretefov[] = {scope_magnification(1),scope_magnification(2),scope_magnification(4)};
  40. modelOptics = "Scope\4x_xm8.p3d";
  41. opticsDisablePeripherialVision = 1;
  42. };
  43. class Iron
  44. {
  45. opticsID = 2;
  46. opticsDisplayName = "";
  47. useModelOptics = 0;
  48. opticsPPEffects[] = {"",""};
  49. opticsFlare = 0;
  50. opticsDisablePeripherialVision = 0;
  51. opticsZoomMin = 0.25;
  52. opticsZoomMax = 1.25;
  53. opticsZoomInit = 0.75;
  54. memoryPointCamera = "eye";
  55. visionMode[] = {};
  56. discretefov[] = {};
  57. discreteDistance[] = {200};
  58. discreteDistanceInitIndex = 0;
  59. distanceZoomMin = 200;
  60. distanceZoomMax = 200;
  61. discreteInitIndex = 0;
  62. //modelOptics = "\A3\Weapons_F\empty";
  63. modelOptics = "Scope\4x_xm8.p3d";
  64. };
  65. };
  66. };
  67. };