Skip to content

Missions: Default Loadouts

Tim Beswick edited this page Dec 21, 2022 · 3 revisions

The default loadouts available in the ACE Arsenal can be extended per mission

Exporting Loadouts

  • If the mission is for a main op, the loadouts must be compatible with the gear used on Saturdays
  • Create a loadout in ACE Arsenal and load it onto yourself
  • Open the debug console and execute copyToClipboard str (getUnitLoadout player)
  • IMPORTANT Paste the output array into notepad, and replace all instances of " with '
  • In the description.ext file of your mission, add a class at the bottom named uksf_arsenal_loadouts. Within this class, add a class per loadout you wish to create (See the example below, and the modpack default loadouts for reference)
  • Add each loadout with a unique class name, e.g uksf_arsenal_loadout_sfsgRifleman, a relevant name, and the formatted loadout pasted from notepad
  • These will then be available in the ACE Arsenal default loadouts. If the same class name as an existing loadout is configured, the mission version will be used

Example

class uksf_arsenal_loadouts {
    // Example - This will add a new loadout
    class uksf_arsenal_loadout_sfsgSpecialSnowflake {
        name = "SFSG: Special Snowflake";
        loadout = "[['UK3CB_BAF_L85A2_RIS','','UK3CB_BAF_LLM_Flashlight_Black','UK3CB_BAF_SpecterLDS_Dot_3D',['UK3CB_BAF_556_30Rnd_T',30],[],''],[],[],['UK3CB_BAF_U_CombatUniform_MTP_1Para',[['ACE_CableTie',2],['ACE_Flashlight_XL50',1],['ACE_EarPlugs',1],['ACE_MapTools',1],['ACRE_PRC152',1]]],['UK3CB_BAF_V_Osprey_Rifleman_E',[['B_IR_Grenade',2,1],['SmokeShell',3,1],['HandGrenade',4,1],['UK3CB_BAF_556_30Rnd_T',4,30],['UK3CB_BAF_12G_Pellets',3,8],['SmokeShellBlue',1,1]]],['UK3CB_BAF_B_Bergen_MTP_PointMan_L_A',[['ACE_packingBandage',10],['UK3CB_BAF_HMNVS',1],['UK3CB_BAF_556_30Rnd_T',5,30],['UK3CB_BAF_12G_Pellets',3,8]]],'UK3CB_BAF_H_Mk7_Camo_B','',[],['ItemMap','ItemGPS','ItemRadioAcreFlagged','ItemCompass','ACE_Altimeter','']]";
    };

    // Example - This will overwrite the default modpack loadout (same class name)
    class uksf_arsenal_loadout_sfsgRifleman {
        name = "SFSG: Rifleman - A blast from the past";
        loadout = "[['UK3CB_BAF_L85A2_RIS','','UK3CB_BAF_LLM_Flashlight_Black','UK3CB_BAF_SpecterLDS_Dot_3D',['UK3CB_BAF_556_30Rnd_T',30],[],''],[],[],['UK3CB_BAF_U_CombatUniform_MTP_1Para',[['ACE_CableTie',2],['ACE_Flashlight_XL50',1],['ACE_EarPlugs',1],['ACE_MapTools',1],['ACRE_PRC152',1]]],['UK3CB_BAF_V_Osprey_Rifleman_E',[['B_IR_Grenade',2,1],['SmokeShell',3,1],['HandGrenade',4,1],['UK3CB_BAF_556_30Rnd_T',4,30],['UK3CB_BAF_12G_Pellets',3,8],['SmokeShellBlue',1,1]]],['UK3CB_BAF_B_Bergen_MTP_PointMan_L_A',[['ACE_packingBandage',10],['UK3CB_BAF_HMNVS',1],['UK3CB_BAF_556_30Rnd_T',5,30],['UK3CB_BAF_12G_Pellets',3,8]]],'UK3CB_BAF_H_Mk7_Camo_B','',[],['ItemMap','ItemGPS','ItemRadioAcreFlagged','ItemCompass','ACE_Altimeter','']]";
    };
};