105 lines
3.9 KiB
Plaintext
105 lines
3.9 KiB
Plaintext
|
|
// place a box down and give it a unique name
|
||
|
|
// add the following below to the box's init, making sure the name of the box, and the name below are the same (case sensative)
|
||
|
|
// EG, ammoBox0
|
||
|
|
// null = ["ammoBox0"] execVM "equipment.sqf";
|
||
|
|
// duplicate one of the "cases" below for your new box
|
||
|
|
|
||
|
|
// !!!IMPORTANT!!!
|
||
|
|
// delete the // below BEFORE uploading to server/ if it's not showing up in the editor, add //
|
||
|
|
|
||
|
|
// if !(isServer) exitWith {};
|
||
|
|
_case = _this select 0;
|
||
|
|
|
||
|
|
switch (_case) do {
|
||
|
|
|
||
|
|
case "baseBox" : {
|
||
|
|
//Base ammo box
|
||
|
|
|
||
|
|
_unit = baseAmmoBox;
|
||
|
|
|
||
|
|
clearMagazineCargoGlobal _unit;
|
||
|
|
clearWeaponCargoGlobal _unit;
|
||
|
|
clearItemCargoGlobal _unit;
|
||
|
|
clearBackpackCargoGlobal _unit;
|
||
|
|
|
||
|
|
//helmets RHS
|
||
|
|
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd_blk_ess", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd_headset_blk2", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd_headset_blk", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd_headset", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_lwh_helmet_marpatwd_ess", 10];
|
||
|
|
|
||
|
|
//Facewear Vanilla
|
||
|
|
_unit addItemCargoGlobal ["G_Combat", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Combat_Goggles_tna_F", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Lady_Blue", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Lady_Red", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Lady_Mirror", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Lady_Dark", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Lowprofile", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Shades_Black", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Shades_Blue", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Shades_Green", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Shades_Red", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Spectacles", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_Red", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_Blackyellow", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_BlackWhite", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_Checkered", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_Blackred", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Sport_Greenblack", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Squares_Tinted", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Squares", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Tactical_Clear", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Tactical_Black", 10];
|
||
|
|
_unit addItemCargoGlobal ["G_Spectacles_Tinted", 10];
|
||
|
|
|
||
|
|
//Facewear RHS
|
||
|
|
_unit addItemCargoGlobal ["rhs_googles_black", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhs_googles_clear", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhs_googles_yellow", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhs_googles_orange", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhs_ess_black", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_oakley_goggles_blk", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_oakley_goggles_clr", 10];
|
||
|
|
_unit addItemCargoGlobal ["rhsusf_oakley_goggles_ylw", 10];
|
||
|
|
};
|
||
|
|
|
||
|
|
case "falconAmmo" : {
|
||
|
|
//ammo for chopper
|
||
|
|
|
||
|
|
_unit = falcon01;
|
||
|
|
|
||
|
|
clearMagazineCargoGlobal _unit;
|
||
|
|
clearWeaponCargoGlobal _unit;
|
||
|
|
clearItemCargoGlobal _unit;
|
||
|
|
clearBackpackCargoGlobal _unit;
|
||
|
|
|
||
|
|
_unit addWeaponCargoGlobal ["rhs_weap_m4_carryhandle", 3];
|
||
|
|
_unit addMagazineCargoGlobal ["rhsusf_mag_6Rnd_M441_HE", 5];
|
||
|
|
_unit addMagazineCargoGlobal ["rhsusf_mag_17Rnd_9x19_JHP", 20];
|
||
|
|
_unit addMagazineCargoGlobal ["rhsusf_mag_6Rnd_M397_HET", 6];
|
||
|
|
_unit addMagazineCargoGlobal ["rhsusf_mag_6Rnd_M714_white", 5];
|
||
|
|
|
||
|
|
_unit addMagazineCargoGlobal ["rhs_mag_30Rnd_556x45_M855_PMAG", 50];
|
||
|
|
_unit addMagazineCargoGlobal ["rhs_mag_smaw_HEAA", 3];
|
||
|
|
|
||
|
|
_unit addMagazineCargoGlobal ["rhsusf_100Rnd_762x51", 10];
|
||
|
|
|
||
|
|
_unit addMagazineCargoGlobal["rhsusf_5Rnd_762x51_AICS_m118_special_Mag", 20];
|
||
|
|
|
||
|
|
_unit addMagazineCargoGlobal ["rhs_mag_M441_HE", 10];
|
||
|
|
_unit addMagazineCargoGlobal ["rhs_mag_m713_Red", 10];
|
||
|
|
|
||
|
|
_unit addItemCargoGlobal ["SmokeShellGreen", 20];
|
||
|
|
_unit addItemCargoGlobal ["SmokeShellBlue", 20];
|
||
|
|
|
||
|
|
_unit addItemCargoGlobal ["ACE_fieldDressing", 100];
|
||
|
|
_unit addItemCargoGlobal ["ACE_bloodIV_500", 20];
|
||
|
|
|
||
|
|
_unit addItemCargoGlobal ["ACE_EarPlugs", 20];
|
||
|
|
_unit addItemCargoGlobal ["ACE_bodyBag", 20];
|
||
|
|
};
|
||
|
|
};
|