Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // LOADOUT SCRIPT // TSUKI - NOON - KTOĹ? TAM
- // nul = [this, "PILOT"] execVM "LOADOUT.sqf";
- private ["_unit", "_strLoadout"];
- sleep .1;
- _unit = _this select 0;
- _strLoadout = _this select 1;
- if (isServer) then {
- comment "Remove existing items";
- removeAllWeapons _unit;
- removeAllItems _unit;
- removeAllAssignedItems _unit;
- removeUniform _unit;
- removeVest _unit;
- removeBackpack _unit;
- removeHeadgear _unit;
- removeGoggles _unit;
- switch (_strLoadout) do
- {
- case "ATSPEC":
- {
- comment "Add containers";
- _unit forceAddUniform "U_SBE_USMC_B_CombatUniform_mcam_vest";
- _unit addVest "V_SBE_USMC_PlateCarrier1_rgr";
- for "_i" from 1 to 8 do {_unit addItemToVest "30Rnd_556x45_Stanag_Tracer_Red";};
- for "_i" from 1 to 4 do {_unit addItemToVest "RH_12Rnd_45cal_usp";};
- _unit addBackpack "B_FieldPack_khk";
- _unit addItemToBackpack "ToolKit";
- for "_i" from 1 to 2 do {_unit addItemToBackpack "SmokeShell";};
- for "_i" from 1 to 2 do {_unit addItemToBackpack "HandGrenade";};
- for "_i" from 1 to 2 do {_unit addItemToBackpack "Chemlight_blue";};
- for "_i" from 1 to 2 do {_unit addItemToBackpack "SLAMDirectionalMine_Wire_Mag";};
- _unit addHeadgear "H_SBE_USMC_HelmetB";
- _unit addGoggles "G_Bandanna_khk";
- comment "Add weapons";
- _unit addWeapon "R3F_HK416M_DES";
- _unit addPrimaryWeaponItem "R3F_SILENCIEUX_HK416_DES";
- _unit addPrimaryWeaponItem "acc_pointer_IR";
- _unit addPrimaryWeaponItem "R3F_AIMPOINT_DES";
- _unit addWeapon "R3F_AT4CS";
- _unit addWeapon "RH_usp";
- _unit addHandgunItem "RH_gemtech45";
- _unit addHandgunItem "RH_X2";
- };
- case "RIFLEMAN":
- {
- comment "Add containers";
- this forceAddUniform "U_SBE_USMC_B_CombatUniform_mcam_vest";
- this addItemToUniform "R3F_30Rnd_556x45_HK416";
- this addVest "V_SBE_USMC_PlateCarrier1_rgr";
- for "_i" from 1 to 8 do {_unit addItemToVest "30Rnd_556x45_Stanag_Tracer_Red";};
- for "_i" from 1 to 4 do {_unit addItemToVest "RH_12Rnd_45cal_usp";};
- this addBackpack "B_FieldPack_khk";
- this addItemToBackpack "ToolKit";
- for "_i" from 1 to 2 do {this addItemToBackpack "SmokeShell";};
- for "_i" from 1 to 2 do {this addItemToBackpack "HandGrenade";};
- for "_i" from 1 to 2 do {this addItemToBackpack "Chemlight_blue";};
- this addHeadgear "H_SBE_Army_HelmetL";
- this addGoggles "G_Balaclava_oli";
- comment "Add weapons";
- this addWeapon "R3F_HK416M_HG";
- this addPrimaryWeaponItem "R3F_SILENCIEUX_HK416";
- this addPrimaryWeaponItem "FHQ_acc_LLM01F";
- this addPrimaryWeaponItem "R3F_AIMPOINT";
- this addWeapon "RH_usp";
- this addHandgunItem "RH_gemtech45";
- this addHandgunItem "RH_X2";
- };
- };
- // _unit addWeapon "itemGPS";
- _unit linkItem "ItemMap";
- _unit linkItem "ItemCompass";
- _unit linkItem "ItemWatch";
- _unit linkItem "tf_anprc148jem";
- _unit linkItem "ItemGPS";
- _unit linkItem "STKR_HMNVS";
- _unit linkItem "Binocular";
- _primaryWeapon = primaryWeapon _unit;
- _unit selectweapon _primaryWeapon;
- // check for multiple muzzles (eg: GL)
- _muzzles = getArray(configFile >> "cfgWeapons" >> _primaryWeapon >> "muzzles");
- if (count _muzzles > 1) then
- {
- _unit selectWeapon (_muzzles select 0);
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement