Jump to content
Sign in to follow this  
logan83

How Put magazines in uniform/vest

Recommended Posts

Hi to all, somebody know how can i Put some specific thing into the unit´s vest/uniform like in the BackPack...? I can put items in the unit, When the Uniform´s load its full, put next items in the vest... ok But How Can I Put items directly in the vest or in the uniform at my discretion???

Share this post


Link to post
Share on other sites

(unitBackpack player) addMagazineCargo ["30Rnd_45ACP_Mag_SMG_01",8];

This puts the magazine "30Rnd_45ACP_Mag_SMG_01" into the player's backpack.

I am not sure if there's a way to do specifically vest...

Share this post


Link to post
Share on other sites

I already know how to put things in a backpack... i need put things in a vest...

Share this post


Link to post
Share on other sites

Don't think you can with current commands. You can check what's in a vest, but not actually put things into a vest since it's not a "vehicle" like a backpack is.

Share this post


Link to post
Share on other sites

uhm... what a Fail.... ok i can do it in this script... only run putting the stuff in this order...

// Accesorios
_soldado addHeadgear "H_mas_usn_Cap_headphones";
_soldado addGoggles 'G_Tactical_Clear';
_soldado linkItem  "b_uavterminal";
_soldado addweapon "laserdesignator";

// Mochila
_soldado addbackpack "B_mas_AssaultPack_mul";
clearAllItemsFromBackpack _soldado;
{_soldado removeMagazine _x} forEach magazines _soldado;
_mochi = unitBackpack _soldado;
_mochi addMagazineCargoGlobal ["12Rnd_mas_45acp_Mag",2];
_mochi addMagazineCargoGlobal ["20Rnd_mas_762x51_Stanag",5];

_mochi addMagazineCargoGlobal ["HandGrenade",2];
_mochi addMagazineCargoGlobal ["smokeshell",2];
_mochi addMagazineCargoGlobal ["smokeshellblue",1];
_mochi addMagazineCargoGlobal ["smokeshellred",1];
_mochi addMagazineCargoGlobal ["smokeshellgreen",1];

_mochi addMagazineCargoGlobal ["Chemlight_green",2];
_mochi addMagazineCargoGlobal ["Chemlight_Blue",2];
_mochi addMagazineCargoGlobal ["Chemlight_RED",1];

_mochi addMagazineCargoGlobal ["Laserbatteries",1];

	// Armamento
	_soldado addMagazine "20Rnd_mas_762x51_Stanag";
	_soldado addWeapon "arifle_mas_hk417_m203c_d_sd";
	_soldado addPrimaryWeaponItem 'FHQ_optic_HWS_G33_tan';
	_soldado addPrimaryWeaponItem 'FHQ_acc_ANPEQ15';

	_soldado addMagazine '12Rnd_mas_45acp_Mag';
	_soldado addWeapon 'hgun_mas_m23_F_sd';

		//Chaleco
		_soldado addVest "V_mas_usn_PlateCarrier1_rgr";
		_soldado addMagazine "HandGrenade";
		_soldado addMagazine "HandGrenade";

		_soldado addMagazine "12Rnd_mas_45acp_Mag";
		_soldado addMagazine "12Rnd_mas_45acp_Mag";

		_soldado addMagazine "20Rnd_mas_762x51_Stanag";
		_soldado addMagazine "20Rnd_mas_762x51_Stanag";
		_soldado addMagazine "20Rnd_mas_762x51_Stanag";
		_soldado addMagazine "20Rnd_mas_762x51_Stanag";

		_soldado addMagazine "Laserbatteries";

		_soldado addMagazine "smokeshell";
		_soldado addMagazine "smokeshell";
		_soldado addMagazine "smokeshellgreen";
		_soldado addMagazine "smokeshellblue";
		_soldado addMagazine "smokeshellred";

		_soldado addMagazine "1Rnd_HE_Grenade_shell";
		_soldado addMagazine "1Rnd_HE_Grenade_shell";
		_soldado addMagazine "1Rnd_HE_Grenade_shell";
		_soldado addMagazine "1Rnd_HE_Grenade_shell";
		_soldado addMagazine "1Rnd_HE_Grenade_shell",

		_soldado addMagazine "1Rnd_SmokeRed_Grenade_shell";
		_soldado addMagazine "1Rnd_SmokeRed_Grenade_shell";
		_soldado addMagazine "1Rnd_SmokeRed_Grenade_shell";
		_soldado addMagazine "UGL_FlareGreen_F";
		_soldado addMagazine "UGL_FlareRed_F";

		_soldado addMagazine "Chemlight_green";
		_soldado addMagazine "Chemlight_green";
		_soldado addMagazine "Chemlight_Blue";
		_soldado addMagazine "Chemlight_Blue";
		_soldado addMagazine "Chemlight_RED";
		_soldado addMagazine "Chemlight_RED";
		_soldado addItem "ItemGPS";

			//Uniforme
			_soldado addUniform "U_mas_usn_B_CombatUniform_mcam_vest";
			_soldado addItem "FirstAidKit";
			_soldado addItem "FirstAidKit";
			_soldado addMagazine "Chemlight_Yellow";

Share this post


Link to post
Share on other sites

If you add the vest then list the items you want in the vest first before you add the backpack, they should default into the vest.

Share this post


Link to post
Share on other sites
If you add the vest then list the items you want in the vest first before you add the backpack, they should default into the vest.

That's probably the best solution, but it's not technically "adding items to the vest" the way you can with the backpack. :) Also chances are people will overfill and wonder where their stuff went.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×