SHARE
TWEET

Untitled

a guest Jan 24th, 2020 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #define public 2
  2. class CfgPatches
  3. {
  4.     class 3rd_weap_arsenal
  5.     {
  6.         units[] = {"SFG_Ammo_Arsenal","SFG_Ammo_1_5","SFG_Ammo_2_5","SFG_Ammo_Rangers","SFG_Ammo_SOAR","SFG_Ammo_Empty","SFG_Ammo_Resupply","SFG_Ammo_Vehicle"};
  7.         weapons[] = {};
  8.         requiredAddons[] = {"A3_Weapons_F"};
  9.         requiredVersion = 0.1;
  10.         versionDesc = "SFG Arsenal Ammoboxes";
  11.         versionAct = "";
  12.     };
  13. };
  14. class CfgSettings
  15. {
  16.     class CBA
  17.     {
  18.         class Versioning
  19.         {
  20.             class 3rd_weap_arsenal{};
  21.         };
  22.     };
  23. };
  24. class CfgFunctions
  25. {
  26.     class SFG
  27.     {
  28.         tag = "SFG";
  29.         class functions
  30.         {
  31.             class SFGArsenal2_3
  32.             {
  33.                 file = "\meu_arsenal\scripts\SFG_Armory.sqf";
  34.                 description = "2/3 SFG Main Arsenal Script";
  35.             };
  36.             class SFGArsenal1_5
  37.             {
  38.                 file = "\meu_arsenal\scripts\SFG_1_5.sqf";
  39.                 description = "1/5 SFG Main Arsenal Script";
  40.             };
  41.             class SFGArsenal2_5
  42.             {
  43.                 file = "\meu_arsenal\scripts\SFG_2_5.sqf";
  44.                 description = "2/5 SFG Main Arsenal Script";
  45.             };
  46.             class SFGArsenalRangers
  47.             {
  48.                 file = "\meu_arsenal\scripts\SFG_Rangers.sqf";
  49.                 description = "3rd SFG Main Arsenal Script";
  50.             };
  51.             class SFGDefaultLoadouts
  52.             {
  53.                 file = "\meu_arsenal\scripts\SFG_Default_Loadouts.sqf";
  54.                 description = "3rd SFG Main Loadouts Script";
  55.             };
  56.             class SFGArsenalSOAR
  57.             {
  58.                 file = "\meu_arsenal\scripts\SFG_SOAR.sqf";
  59.                 description = "3rd SFG SOAR Arsenal Script";
  60.             };
  61.         };
  62.     };
  63. };
  64. class CBA_Extended_EventHandlers_base;
  65. class CfgVehicleClasses
  66. {
  67.     class SFG_AmmoBoxes
  68.     {
  69.         displayName = "[3rd SFG] Ammo Boxes";
  70.     };
  71. };
  72. class CfgVehicles
  73. {
  74.     class Box_NATO_AmmoVeh_F;
  75.     class B_supplyCrate_F;
  76.     class SFG_Ammo_Resupply: B_supplyCrate_F
  77.     {
  78.         displayName = "3rd SFG Resupply Box";
  79.         scope = public;
  80.         supplyRadius = 3.5;
  81.         maximumLoad = 9999;
  82.         vehicleClass = "SFG_AmmoBoxes";
  83.         ace_dragging_canDrag = 1;
  84.         ace_dragging_dragPosition[] = {0,1.2,0};
  85.         ace_dragging_dragDirection = 0;
  86.         ace_dragging_canCarry = 1;
  87.         ace_dragging_carryPosition[] = {0,1.2,0};
  88.         ace_dragging_carryDirection = 0;
  89.         class TransportItems
  90.         {
  91.             #define SFG_CLASS_ITEM(ITEM,COUNT)      class _xx_##ITEM {name = #ITEM; count = COUNT;}
  92.             SFG_CLASS_ITEM(ACE_packingBandage,100)
  93.             SFG_CLASS_ITEM(ACE_elasticBandage,100)
  94.             SFG_CLASS_ITEM(ACE_quikclot,100)
  95.             SFG_CLASS_ITEM(ACE_Morphine,20)
  96.             SFG_CLASS_ITEM(ACE_epinephrine,20)
  97.             SFG_CLASS_ITEM(ACE_salineIV_500,5)
  98.             SFG_CLASS_ITEM(ACE_EarPlugs,100)
  99.         };
  100.         class TransportMagazines
  101.         {
  102.             #define SFG_CLASS_MAG(MAGAZINE,COUNT)   class _xx_##MAGAZINE {magazine = #MAGAZINE; count = COUNT;}
  103.             SFG_CLASS_MAG(rhs_fgm148_magazine_AT,2)
  104.             SFG_CLASS_MAG(MRAWS_HEAT_F,3)
  105.             SFG_CLASS_MAG(rhs_mag_30Rnd_556x45_Mk318_Stanag_Ranger,100)
  106.             SFG_CLASS_MAG(rhsusf_100Rnd_556x45_M855_mixed_soft_pouch_coyote,40)
  107.             SFG_CLASS_MAG(rhsusf_100Rnd_762x51,20)
  108.             SFG_CLASS_MAG(rhs_mag_M433_HEDP,12)
  109.             SFG_CLASS_MAG(rhs_mag_M441_HE,12)
  110.             SFG_CLASS_MAG(rhsusf_20Rnd_762x51_m118_special_Mag,6)
  111.             SFG_CLASS_MAG(rhs_mag_20Rnd_SCAR_762x51_mk316_special,40)
  112.             SFG_CLASS_MAG(20Rnd_762x51_Mag,6)
  113.             SFG_CLASS_MAG(SmokeShellGreen,20)
  114.             SFG_CLASS_MAG(SmokeShellYellow,20)
  115.             SFG_CLASS_MAG(SmokeShell,20)
  116.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_60mm_Mo_Shells,20)
  117.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_60mm_Mo_Flare_White,10)
  118.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_60mm_Mo_Smoke_White,10)
  119.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_81mm_Mo_Shells,20)
  120.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_81mm_Mo_Flare_White,10)
  121.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_81mm_Mo_IRFlare_White,10)
  122.             SFG_CLASS_MAG(UK3CB_BAF_1Rnd_81mm_Mo_Smoke_White,10)
  123.         };
  124.         class TransportWeapons
  125.         {
  126.             #define SFG_CLASS_WEAP(WEAPON,COUNT)    class _xx_##WEAPON {weapon = #WEAPON; count = COUNT;}
  127.             SFG_CLASS_WEAP(rhs_weap_m72a7,2)
  128.             SFG_CLASS_WEAP(rhs_weap_M136_hp,2)
  129.         };
  130.         class TransportBackpacks
  131.         {
  132.             #define SFG_CLASS_BAG(BAG,COUNT)        class _xx_##BAG {backpack = #BAG; count = COUNT;}
  133.         };
  134.     };
  135.     class SFG_Ammo_Empty: SFG_Ammo_Resupply
  136.     {
  137.         displayName = "3rd SFG Empty Box";
  138.         class TransportItems{};
  139.         class TransportMagazines{};
  140.         class TransportWeapons{};
  141.         class TransportBackPacks{};
  142.         model = "meu_arsenal\crateModel\Proxy_UsBasicAmmoBox";
  143.         mapSize = 2;
  144.         slingLoadCargoMemoryPoints[] = {"sling1","sling2","sling3","sling4"};
  145.         editorPreview = "\meu_arsenal\crateModel\cratePreview.jpg";
  146.         hiddenSelections[] = {"main","sides"};
  147.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\front_empty_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  148.     };
  149.     class SFG_Ammo_Arsenal: SFG_Ammo_Empty
  150.     {
  151.         displayName = "2/3SFG Ammo Box";
  152.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\2_3SFG_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  153.         class EventHandlers
  154.         {
  155.             init = "_this call SFG_fnc_SFGArsenal2_3; _this call SFG_fnc_SFGDefaultLoadouts";
  156.             class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base{};
  157.         };
  158.     };
  159.     class SFG_Ammo_1_5: SFG_Ammo_Empty
  160.     {
  161.         displayName = "1/5SFG Ammo Box";
  162.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\1_5SFG_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  163.         class EventHandlers
  164.         {
  165.             init = "_this call SFG_fnc_SFGArsenal1_5; _this call SFG_fnc_SFGDefaultLoadouts";
  166.             class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base{};
  167.         };
  168.     };
  169.     class SFG_Ammo_2_5: SFG_Ammo_Empty
  170.     {
  171.         displayName = "2/5SFG Ammo Box";
  172.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\2_5SFG_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  173.         class EventHandlers
  174.         {
  175.             init = "_this call SFG_fnc_SFGArsenal2_5; _this call SFG_fnc_SFGDefaultLoadouts";
  176.             class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base{};
  177.         };
  178.     };
  179.     class SFG_Ammo_Rangers: SFG_Ammo_Empty
  180.     {
  181.         displayName = "3rd SFG Rangers Ammo Box";
  182.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\3_75rr_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  183.         class EventHandlers
  184.         {
  185.             init = "_this call SFG_fnc_SFGArsenalRangers";
  186.             class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base{};
  187.         };
  188.     };
  189.     class SFG_Ammo_SOAR: SFG_Ammo_Empty
  190.     {
  191.         displayName = "3rd SFG SOAR Ammo Box";
  192.         hiddenSelectionsTextures[] = {"meu_arsenal\crateModel\textures\SOAR_co.paa","meu_arsenal\crateModel\textures\Army_co.paa"};
  193.         class EventHandlers
  194.         {
  195.             init = "_this call SFG_fnc_SFGArsenalSOAR";
  196.             class CBA_Extended_EventHandlers: CBA_Extended_EventHandlers_base{};
  197.         };
  198.     };
  199.     class SFG_Ammo_Vehicle: Box_NATO_AmmoVeh_F
  200.     {
  201.         displayName = "3rd SFG Vehicle Ammo Box";
  202.         transportAmmo = 0;
  203.         scope = public;
  204.         supplyRadius = 0;
  205.         vehicleClass = "SFG_AmmoBoxes";
  206.     };
  207. };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top