Author: zed hunter
Author Website:

Requirements: No addons required

Version: 1.0

Short description: A series of scripts for custom loadouts

Date: 2013-08-07 18:26


Comments: (2)
Rating:



 



zed's loadout scripts

by
zed hunter


Description:
This is my first release, something that is not yet available by other means to the arma community.
This is a simple loadout script for arma 2, it will also work with arma 2 OA, and its easy and simple to customize for quick access to your favorite weapons and equipment.


Installation / Usage:
To use for backpacks on arma 2 OA the addBackpack command may be needed (not yet tested), however to change the weapons, ammo and equipment added just enter the classnames, this also over-rides max player cargo, which means you could carry over 5 different guns, some rocket launchers, laser designator, gps, map, dogtags, binoculars, nvg's, ALL pistols and as much satchel charges as you could ever want.

To install just do an addaction on any placeable object:
this addAction ["loadout name", "script name.sqf"]
then your good to go.
To add more items to the script just do the following:
//copy and paste this below...
removeAllWeapons player;
weaponClass = "xxx";
weaponAmmo = ["xxx"];
ammoCount = xx;
player addWeapon weaponClass;

for [{_i=0}, {_i < count weaponAmmo}, {_i=_i+1}] do
{
	for [{_x=0}, {_x < ammoCount}, {_x=_x+1}] do
	{
		player addMagazine (weaponAmmo select _i);
	};
};
//here as shown!
weaponClass = "xxx";
weaponAmmo = ["xxx"];
ammoCount = xx;

player addWeapon weaponClass;

for [{_i=0}, {_i < count weaponAmmo}, {_i=_i+1}] do
{
	for [{_x=0}, {_x < ammoCount}, {_x=_x+1}] do
	{
		player addMagazine (weaponAmmo select _i);
	};
};

weaponClass = nil;
weaponAmmo = nil;
ammoCount = nil;





Enable javascript to be able to download from Armaholic please!



Tags: Loadout