Advertisement
Guest User

Untitled

a guest
May 15th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. //Remove Weapon SiothieGaming german Youtubechannel: http://www.youtube.com/user/SiothieGaming
  2. //Lines underneath are just a small tutorial
  3. // the Number in the Bracket is Important, -1 means Pilot seat
  4. //Try getting up with these numbers when you want to remove from another seat (e.g. gunner, front gunner, rear gunner etc. pp)
  5. // For every seat you have to do something like i did
  6. //_object magazinesTurret [-1];
  7. //_object removeMagazinesTurret ["14Rnd_FFAR",[-1]]; If you want to remove something from another seat at the same time you need to do something like this:
  8. // _object magazinesTurret [1];
  9. //_object removeMagazinesTurret ["14Rnd_FFAR",[1]]; I'm not completly sure now which number is which seat. I only know that -1 is pilot seat.
  10. {
  11. if (_object isKindof "BRDM2_HQ_TK_GUE_EP1") then {
  12. _object magazinesTurret [-1];
  13. _object removeMagazinesTurret ["100Rnd_762x54_PK",[-1]];
  14. };
  15. if (_object isKindof "BTR40_MG_TK_INS_EP1") then {
  16. _object magazinesTurret [-1];
  17. _object removeMagazinesTurret ["50Rnd_127x107_DSHKM",[-1]];
  18. };
  19. if (_object isKindof "BTR40_MG_TK_GUE_EP1") then {
  20. _object magazinesTurret [-1];
  21. _object removeMagazinesTurret ["50Rnd_127x107_DSHKM",[-1]];
  22. };
  23. if (_object isKindof "LandRover_SPG9_TK_EP1") then {
  24. _object magazinesTurret [-1];
  25. _object removeMagazinesTurret ["PG9_AT",[-1]];
  26. _object removeMagazinesTurret ["OG9_HE",[-1]];
  27. };
  28. if (_object isKindof "Offroad_SPG9_TK_GUE_EP1") then {
  29. _object magazinesTurret [-1];
  30. _object removeMagazinesTurret ["PG9_AT",[-1]];
  31. _object removeMagazinesTurret ["OG9_HE",[-1]];
  32. };
  33. if (_object isKindof "UAZ_SPG9_INS") then {
  34. _object magazinesTurret [-1];
  35. _object removeMagazinesTurret ["PG9_AT",[-1]];
  36. _object removeMagazinesTurret ["OG9_HE",[-1]];
  37. };
  38. if (_object isKindof "Offroad_SPG9_Gue") then {
  39. _object magazinesTurret [-1];
  40. _object removeMagazinesTurret ["PG9_AT",[-1]];
  41. _object removeMagazinesTurret ["OG9_HE",[-1]];
  42. };
  43. if (_object isKindof "M113_TK_EP1") then {
  44. _object magazinesTurret [-1];
  45. _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
  46. };
  47. if (_object isKindof "M113_UN_EP1") then {
  48. _object magazinesTurret [-1];
  49. _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
  50. };
  51.  
  52. if (_object isKindof "BTR60_TK_EP1") then {
  53. _object magazinesTurret [-1];
  54. _object removeMagazinesTurret ["500Rnd_145x115_KPVT",[-1]];
  55. _object removeMagazinesTurret ["1500Rnd_762x54_PKT",[-1]];
  56. _object WeaponsTurret [-1];
  57. _object removeWeapon "KPVT";
  58. };
  59. if (_object isKindof "BRDM2_TK_EP1") then {
  60. _object magazinesTurret [-1];
  61. _object removeMagazinesTurret ["500Rnd_145x115_KPVT",[-1]];
  62. _object removeMagazinesTurret ["1500Rnd_762x54_PKT",[-1]];
  63. _object WeaponsTurret [-1];
  64. _object removeWeapon "KPVT";
  65. };
  66. if (_object isKindof "AAV") then {
  67. _object magazinesTurret [-1];
  68. _object removeMagazinesTurret ["48Rnd_40mm_MK19",[-1]];
  69. _object removeMagazinesTurret ["100Rnd_127x99_M2",[-1]];
  70. _object WeaponsTurret [-1];
  71. _object removeWeapon "MK19";
  72. };
  73. if (_object isKindof "BTR90_DZE") then {
  74. _object magazinesTurret [-1];
  75. _object removeMagazinesTurret ["250Rnd_30mmAP_2A42",[-1]];
  76. _object removeMagazinesTurret ["250Rnd_30mmHE_2A42",[-1]];
  77. _object removeMagazinesTurret ["2000Rnd_762x54_PKT",[-1]];
  78. _object removeMagazinesTurret ["8Rnd_AT5_BMP2",[-1]];
  79. _object removeMagazinesTurret ["400Rnd_30mm_AGS17",[-1]];
  80. _object WeaponsTurret [-1];
  81. _object removeWeapon "AT5LauncherSingle";
  82. _object removeWeapon "AGS17";
  83. _object removeWeapon "2A42";
  84. };
  85. if (_object isKindof "LAV25_DZE") then {
  86. _object magazinesTurret [-1];
  87. _object removeMagazinesTurret ["210Rnd_25mm_M242_APDS",[-1]];
  88. _object removeMagazinesTurret ["210Rnd_25mm_M242_HEI",[-1]];
  89. _object removeMagazinesTurret ["1200Rnd_762x51_M240",[-1]];
  90. _object WeaponsTurret [-1];
  91. _object removeWeapon "M242";
  92. };
  93. if (_object isKindof "F35B") then {
  94. _object magazinesTurret [-1];
  95. _object removeMagazinesTurret ["300Rnd_25mm_GAU12",[-1]];
  96. _object removeMagazinesTurret ["2Rnd_GBU12",[-1]];
  97. _object removeMagazinesTurret ["2Rnd_Sidewinder_F35",[-1]];
  98. _object WeaponsTurret [-1];
  99. _object removeWeapon "GAU12";
  100. _object removeWeapon "BombLauncherF35";
  101. _object removeWeapon "SidewinderLaucher_F35";
  102. };
  103. //THIS IS STILL IN TESTING PHASE, IT COULD SCREW UP YOUR WHOLE SERVER
  104. //Just put the Classname of the Vehicle there and it should disable thear vision.
  105. // For example my server runs fine with it (Epoch Panthera) but a friend of mine screwed up his whole database
  106. if (_object isKindof "F35B") then {
  107. _object disableTIEquipment true;
  108. };
  109. if (_object isKindof "LAV25_DZE") then {
  110. _object disableTIEquipment true;
  111. };
  112. if (_object isKindof "BTR90_DZE") then {
  113. _object disableTIEquipment true;
  114. };
  115. if (_object isKindof "AAV") then {
  116. _object disableTIEquipment true;
  117. };
  118. if (_object isKindof "BRDM2_TK_EP1") then {
  119. _object disableTIEquipment true;
  120. };
  121. if (_object isKindof "BTR60_TK_EP1") then {
  122. _object disableTIEquipment true;
  123. };
  124. //TESTING STUFF END
  125. } forEach vehicles; //Not completly necessary, it just makes sure no vehicle is left out during the process (e.g. high server load)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement