config.cpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. #define COMPONENT RPS6
  2. #include "../../../RD501_main/config_macros.hpp"
  3. #include "../../_common/common.hpp"
  4. class CfgPatches
  5. {
  6. class macro_patch_name(RPS6)
  7. {
  8. author="RD501";
  9. addonRootClass= macro_patch_name(weapons)
  10. requiredAddons[]=
  11. {
  12. macro_patch_name(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. displayName="Republic RPS6 Launcher";
  28. weaponInfoType="RscOptics_titan";
  29. modelOptics="\A3\Weapons_F_Beta\acc\reticle_titan.p3d";
  30. magazines[]=
  31. {
  32. macro_new_mag(RPS_AT,1),
  33. macro_new_mag(RPS_AA,1)
  34. };
  35. class OpticsModes
  36. {
  37. class StepScope
  38. {
  39. opticsID=1;
  40. useModelOptics=1;
  41. opticsPPEffects[]=
  42. {
  43. "OpticsCHAbera1",
  44. "OpticsBlur1"
  45. };
  46. opticsFlare=0;
  47. opticsZoomMin=0.083329998;
  48. opticsZoomMax=0.041669998;
  49. opticsZoomInit=0.083329998;
  50. distanceZoomMin=300;
  51. distanceZoomMax=300;
  52. memoryPointCamera="eye";
  53. cameraDir="look";
  54. visionMode[]=
  55. {
  56. "Normal",
  57. "Ti"
  58. };
  59. thermalMode[]={0,1};
  60. opticsDisablePeripherialVision=1;
  61. discretefov[]={0.083329998,0.041669998};
  62. discreteInitIndex=0;
  63. };
  64. };
  65. };
  66. };