config.cpp 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. #define COMPONENT RPS6
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class RD501_patch_RPS6
  7. {
  8. author="RD501";
  9. addonRootClass = MACRO_QUOTE(RD501_patch_weapons);
  10. requiredAddons[]=
  11. {
  12. RD501_patch_weapons
  13. };
  14. requiredVersion=0.1;
  15. units[]={};
  16. weapons[]={
  17. macro_new_weapon(launcher,RPS6)
  18. };
  19. };
  20. };
  21. class CfgWeapons
  22. {
  23. class 3AS_RPS6_HP;
  24. class macro_new_weapon(launcher,RPS6):3AS_RPS6_HP
  25. {
  26. scope=2;
  27. canLock = 2;
  28. airLock=2;
  29. displayName="Republic RPS6 Launcher";
  30. weaponInfoType="RscOptics_titan";
  31. modelOptics="\A3\Weapons_F_Beta\acc\reticle_titan.p3d";
  32. icon = "\RD501_Weapons\Launchers\RPS6\icon.paa";
  33. picture = "\RD501_Weapons\Launchers\RPS6\icon.paa";
  34. nameSound="aalauncher";
  35. recoil="";
  36. magazines[]=
  37. {
  38. macro_new_mag(RPS_AT,1),
  39. macro_new_mag(RPS_AA,1)
  40. };
  41. class OpticsModes
  42. {
  43. class StepScope
  44. {
  45. opticsID=1;
  46. useModelOptics=1;
  47. opticsPPEffects[]=
  48. {
  49. "OpticsCHAbera1",
  50. "OpticsBlur1"
  51. };
  52. opticsFlare=0;
  53. opticsZoomInit =scope_magnification(1); //0.1083;
  54. opticsZoomMax = scope_magnification(1); //0.1083;
  55. opticsZoomMin = scope_magnification(6); //0.1083;
  56. distanceZoomMin=300;
  57. distanceZoomMax=300;
  58. memoryPointCamera="eye";
  59. cameraDir="look";
  60. visionMode[]=
  61. {
  62. "Normal",
  63. "NVG",
  64. "Ti"
  65. };
  66. thermalMode[]={0};
  67. opticsDisablePeripherialVision=1;
  68. discretefov[] = {scope_magnification(1),scope_magnification(3),scope_magnification(6)};
  69. discreteInitIndex=0;
  70. };
  71. };
  72. };
  73. };