Jump to content
Sign in to follow this  
Bjorling

I have some question about editing

Recommended Posts

I have some question about editing

I build a training map and I want to remove some houses is that possibly on a downloaded map

Then I have a list whit thing I want to do is

1 has marine doing push up and other exercise

2 have a damage tank that is repair by a guy ex track

3 have a marine shooting range. 30 target know its axist a trhead but its to much in it for me to understand

4 have a rope training place

5 more will come

Share this post


Link to post
Share on other sites

Searching the forums will find you the answer to all of that, even 5. 4 will be difficult since fast roping doesn't really work too well in vanilla and even in ACE it works best with players instead of AI.

But really, search and ye shall find. :)

Share this post


Link to post
Share on other sites

Did you get mr murray's editing guide yet?

It is a good start and should cover most of your ideas.

Share this post


Link to post
Share on other sites

yepp se the first thing and have find things on the forum but I am a total noob so need some help to explain this.

the roping tower is for player not for a AI its clan training=) i use ace

the gun range is the follow i have the code but i want to change this thing

i want a computer were i have a scroll down menu were i chose to start lane 1-4

some other thing is this thing se how many hits? i think so but no sure

//                 How to use. 
// 1. Place a popup target and name it to pt1 
// 2. copy it 8 times and it will auto name the targets
// 3. place this line in a trigger or init  nul=[max,set,time] execVM "popup.sqf" 
// max  is the total number of targets that will popup
// set is the max number of targets that can popup per set upto a max of 3
// time is the amount of time to hit the targets before they go down


_maxtarg  = _this select 0;
_numtargs = _this select 1;
_skill    = _this select 2;

_targets = [pt1,pt1_1, pt1_2];// target names 
_many    =  count _targets; // count the number of possible targets

_inc     = 0;// keeps track of the number of popup targets triggered 
_score   = 0;// keep count of the targets hit


{_x  animate["terc",1]} forEach _targets;//puts the targets down before the start

_rnumber1=0; 
_rnumber2=0;
_rnumber3=0;

_flag1=0;
_flag2=0;

nopop=true; // sets them to stay down until triggered to popup

hint "Setting up the Range";
sleep 2;
hint "Ready";
sleep 2;


while {_inc<_maxtarg} do 
{
_rnumber1 = random _many;
_int = _rnumber1%1;
_rnumber1 = _rnumber1-_int;


// 1. Check for duplicate targets 
while {(_rnumber1 == _rnumber2) or (_rnumber1 == _rnumber3) or (_rnumber2 == _rnumber3)} do
{  
_rnumber2 = random _many;
_int = _rnumber2%1;
_rnumber2 = _rnumber2-_int;

_rnumber3 = random _many;
_int = _rnumber3%1;
_rnumber3 = _rnumber3-_int;
};
// 1. END

// 2. Set the targets that will popup
_rtarget1 = _targets select _rnumber1;
_rtarget2 = _targets select _rnumber2;
_rtarget3 = _targets select _rnumber3;
// 2. END

// 3. Popup target one always active
_rtarget1 animate["terc", 0];
_inc=_inc+1;
// 3. END

// 3a. Check to see if more than one target is required and opopup at random
// 3b. second target
If (_numtargs > 1 ) then
{
if ((random 2 > 1) and (_inc < _maxtarg)) then
{
_rtarget2 animate["terc", 0];
_inc=_inc+1;
_flag1=1;
};
};
//3b. END

//3c. Third target
If (_numtargs > 2 ) then
{
if ((random 2 < 1) and (_inc < _maxtarg)) then
{
_rtarget3 animate["terc", 0];
_inc=_inc+1;
_flag2=1;
};
};
// 3c. END
// 3a. END

// 4. Time allowed for shooting.
sleep _skill; 
// 4. END 

// 5. Check to see if targets have been hit and count the score
if (_rtarget1 animationPhase "terc" > 0.1) then
{
	_score = _score+1;
	    };
if ((_rtarget2 animationPhase "terc" > 0.1) and (_flag1 == 1)) then

{
	_score = _score+1;
	    };
if ((_rtarget3 animationPhase "terc" > 0.1) and (_flag2 == 1)) then
{
	_score = _score+1;
	    };
// 4. END		    

// 5. Display Score		    
hint format ["Targets :%1 Hit :%2",_inc,_score];
// 5. END

// 6. Reset targets down and restet flags
_rtarget1 animate["terc", 1];
_rtarget2 animate["terc", 1];
_rtarget3 animate["terc", 1];
_flag1=0;
_flag2=0;
// 6. END

sleep 2;
};
sleep 2;
hint "Session Complete";At the start of the mission allt the targets are up (like i want it).

and i want for example 10 taget 30 target 5 sec up 3 sec up and 10000 taget pops up 1 at the time. but i will like to be ablle to change so it can be on training mode and on test mode USMC test

Edited by Bjorling

Share this post


Link to post
Share on other sites

I am intrigued by your rope tower idea. Do you have a model for it already or is it working or just an idea you had for training?

The firing range would be a lot more complicated, especially if you wanted all those types of options. You might look at this script for some ideas.

Share this post


Link to post
Share on other sites

have seen a big training tower for rope training

I have been in a clan that have this rifle range(the script like thing) and i realy like you COD 4 link :)

Edited by Bjorling

Share this post


Link to post
Share on other sites

hwo to do this i want a unit ex platoon leader spawn whit out no gear that easy i know but i want the gear to be in a ammo box that easy to but i want to be able to take the gear from a scroll down menu like this one

script one

//------------------------------
// Gear selection script with SAM mod.
// Is called from gearBox_init.sqf
// Original @Assign_Gear.sqf by: F2
// Edited by: Pelle - SSG, 2010
//------------------------------


// DECLARE VARIABLES AND FUNCTIONS

private [
"_faction","_rifle","_rifleGL","_mg","_pistol","_riflemag","_rifleGLACG","_rifleACG","_shortdot","_shortdotmag","_hkrifle",
"_glmag","_mgmag","_grenade","_at","_atmag",
"_glsmokewhite","_glsmokegreen","_glsmokered","_smokegrenade","_smokegrenadeG","_smokegrenadeY","_smokegrenadeR","_cngas203",
"_pistol","_pistolmag","_pistolSD","_pistolSDmag",
"_medicrifle","_medicmag","_snip","_snipmag","_sp","_spmag","_mediumMG","_mediumMGmag", "_heavyMG", "_heavyMGtripod", "_heavyMGmag",
"_mediumAT","_mediumATmag1","_mediumATmag2","_heavyAT","_heavyATmag1","_heavyATmag2","_rucksack","_medicrucksack","_stinger",
"_bandage", "_morphine","_epinephrine","_largebandage","_iv","_plasma",
"_oldrifle","_oldmag",
"_ruckmags","_ruckweapons","_rucksack","_medicrucksack","_slrucksack","_mgrucksack",
"_ir","_hunt","_huntmag","_rangefinder","_rangefinderMag","_lasermag","_lightG","_lightB","_lightR","_lightIR"];

// ====================================================================================

// ERROR CHECKING
// If the script has been called without both required paramaters being passed, it 
// exits immediately.

sleep .1;

if (isNull (_this select 1)) exitwith {};
if (!local (_this select 1)) exitwith {};

// ====================================================================================

// Please notice the differance here: "_this select 3" is to make sure that the addAction in
// gearBox_init.sqf selects the unit executes the action.
// In the normal @SSG_assignGear.sqf "_this select 3" is instead "_this select 1". Be sure to
// correct this if you copy+paste the entire contents from your Assign Gear script (ie. @SSG_assignGear.sqf).

_typeofUnit = toLower (_this select 3);
_unit = _this select 1;

_hasruck = false;
_ruckType = "";
_ruckMags = [];
_ruckWeps = [];


// Checks if the unit calling the script has a ruck sack.
_hasruck = _unit call ACE_Sys_Ruck_fnc_hasRuck;

// If the previous is true, then we want to set the variables to nil so that the ruck is empty before deletion.
if (_hasruck) then
{
_unit setVariable ["ACE_RuckMagContents", nil];
_unit setVariable ["ACE_RuckWepContents", nil];		
     _unit setVariable ["ACE_RuckMagContents", _ruckMags, true];
    	_unit setVariable ["ACE_RuckWepContents", _ruckWeps, true];

};

// ====================================================================================

// DEFINE GLOBAL EQUIPMENT
// The following blocks of code define equipment that is universal.

_bandage = "ACE_Bandage";
_largebandage = "ACE_LargeBandage";
_morphine = "ACE_Morphine";
_epinephrine = "ACE_Epinephrine";
_iv = "ACE_IV";
_plasma = "ACE_Plasma";

//Basic rifles
_rifle = "ACE_HK416_D14_COMPM3";
//_rifleGL = "M16A4_GL";
_rifleGL = "ACE_HK416_D14_COMPM3_M320";
_rifleGLACG = "ACE_M16A4_ACG_GL_CQB";
_rifleACG ="ACE_m16a4_acg_CQB";
_riflemag = "30Rnd_556x45_Stanag";

_hkrifle = "ACE_HK416_D10_AIM";
_medicrifle = "ACE_HK416_D10_COMPM3";
_medicmag = "30Rnd_556x45_Stanag";

_oldrifle = "ACE_HK416_D14";
_oldmag = "30Rnd_556x45_Stanag";


//M203 grenades
_glmag = "1Rnd_HE_M203";
_glsmokewhite = "1Rnd_Smoke_M203";
_glsmokegreen = "1Rnd_smokegreen_M203";
_glsmokered = "1Rnd_smokered_M203";

//Hand thrown grenades
_grenade = "HandGrenade_West";
_smokegrenade = "SmokeShell";
_smokegrenadeG = "SmokeShellGreen";
_smokegrenadeY = "SmokeShellYellow";
_smokegrenadeR = "SmokeShellRed";


//Machineguns
_mg = "ACE_M249Para";
_mgmag = "200Rnd_556x45_M249";

_mediumMG = "ACE_M240G_M145";
_mediumMGmag = "100Rnd_762x51_M240";

_heavyMG = "ACE_M2HBProxy";
_heavyMGtripod = "ACE_M3TripodProxy";
_heavyMGmag = "ACE_M2_CSWDM";

//Special rifles
_shortdot = "ACE_SOC_M4A1_SHORTDOT";
_shortdotmag = "30Rnd_556x45_Stanag";

_snip = "ACE_M110_SD";
_snipmag = "ACE_20Rnd_762x51_S_M110";
_sp = "ACE_SOC_M4A1_SHORTDOT_SD";
_spmag = "30Rnd_556x45_StanagSD";

//AT and AA equipment
_at = "M136";
_atmag = "M136";

_mediumAT = "SMAW";
_mediumATmag1 = "SMAW_HEAA";
_mediumATmag2 = "SMAW_HEDP";

_heavyAT = "Javelin";
_heavyATmag1 = "Javelin";
_heavyATmag2 = "Javelin";

_stinger = "Stinger";

//Pistols   
_pistol = "ACE_P226";
_pistolmag = "ACE_15Rnd_9x19_P226";

_pistolSD = "ACE_USPSD";
_pistolSDmag = "ACE_12Rnd_45ACP_USPSD";   

//Rucksacks
//_rucksack = "ACE_Rucksack_MOLLE_ACU";  // Ta denna för US ARMY  
_rucksack = "ACE_Rucksack_MOLLE_wood";  // Ta denna för USMC
_medicrucksack = "ACE_Rucksack_MOLLE_Brown_Medic";
_slrucksack = "ACE_CharliePack_WMARPAT";
_slrucksack2 = "ACE_Rucksack_MOLLE_green";
_mgrucksack = "ACE_FAST_PackEDC";

//Special equipment
_ir = "ACE_IRStrobe";

_cngas203 = "ACE_1Rnd_CS_M203";

_hunt = "ACE_HuntIR_monitor";
_huntmag = "ACE_HuntIR_M203";

_rangefinder = "ACE_Rangefinder_OD";
_rangefinderMag = "ACE_Battery_Rangefinder";
_lasermag = "Laserbatteries";

_lightG = "ACE_Knicklicht_G";   
_lightB = "ACE_Knicklicht_B";   
_lightR = "ACE_Knicklicht_R";   
_lightIR = "ACE_Knicklicht_IR";  

// ====================================================================================

// DEFINE UNIT TYPE LOADOUTS
// The following blocks of code define loadouts for each type of unit (the unit type
// is passed to the script in the first variable).

switch (_typeofUnit) do
{

// ====================================================================================
//KOMPANILEDNING

case "kompc": // Kompanichef // Platoon Leader Unit
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];	
{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addmagazine _bandage;} foreach [1,2];
     {_unit addmagazine _morphine;} foreach [1,2];

     _unit addweapon _rifleACG;
     _unit addweapon _pistol;
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
     _unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";
_unit addWeapon "ACE_Map_tools";
_unit addWeapon "ACE_Earplugs";	
_unit addWeapon "ACE_GlassesTactical";
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";
_unit addWeapon "ACE_HuntIR_monitor";	

_unit addWeapon "ACE_PRC119"; //Radio rucksack


//_unit addweapon _slrucksack;

     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	
     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;

_unit selectweapon primaryweapon _unit;      
};
case "kompsold": // Kompani skyttesoldat // FAC Unit
{
removeAllWeapons _unit;
removeAllItems _unit;		

	{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _smokegrenadeG} foreach [1,2,3];
{_unit addmagazine _lasermag} foreach [1];

{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _glsmokered} foreach [1,2,3,4,5,6];
     _unit addweapon _riflegl;
     _unit addweapon _pistol;	
     _unit addweapon "Laserdesignator"; 
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
     _unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";

     _unit addweapon _rucksack;

     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     _unit selectweapon primaryweapon _unit;   
};
case "kompsjuk": // Kompani - sjukvårdare //Platoon Medic Unit
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5];
{_unit addmagazine _smokegrenade} foreach [1,2,3];
     {_unit addmagazine _bandage;} foreach [1,2,3];
     {_unit addmagazine _morphine;} foreach [1,2];
     {_unit addmagazine _epinephrine;} foreach [1,2,3];
     _unit addweapon _medicrifle;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";		
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";

     _unit addweapon _medicrucksack;

     [_unit,_smokegrenade,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_largebandage,4] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_morphine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_iv,2] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_plasma,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;            

     _unit selectweapon primaryweapon _unit;	
};
case "kompksp": // Kompani KSPskytt // Platoon Sergeant Unit
{
	removeAllWeapons _unit;
	removeAllItems _unit;	

	{_unit addmagazine _mgmag} foreach [1,2,3,4,5,6];
	{_unit addmagazine _pistolmag} foreach [1,2,3,4];
     _unit addweapon _mg;
     _unit addweapon _pistol;
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemGPS";	
_unit addWeapon "itemRadio";		
_unit addWeapon "itemWatch";
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";
_unit addweapon _mgrucksack;

[_unit,_MGmag,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

_unit selectweapon primaryweapon _unit;            
};


//-------------------------------------------------------------------------------------
// PLUTON    
case "plutgrpc": // Pluton gruppchef // Squad Leader Unit
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8,9];
{_unit addmagazine _smokegrenadeG} foreach [1];
{_unit addmagazine _grenade} foreach [1];
     {_unit addmagazine _rangefindermag} foreach [1];

{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _GLmag} foreach [1,2];
{_unit addmagazine _glsmokered} foreach [1,2];
{_unit addmagazine _glsmokegreen} foreach [1,2];

     _unit addweapon _riflegl;
     _unit addweapon _pistol;
     _unit addweapon _rangefinder;
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_HuntIR_monitor";			
	_unit addWeapon "ACE_Earplugs";
 	_unit addWeapon "ACE_Map_tools";
_unit addWeapon "ACE_GlassesTactical";  
_unit addWeapon "ACE_GlassesGasMask_US";  
_unit addWeapon "ACE_KeyCuffs";

_unit addWeapon "ACE_PRC119";
    // _unit addweapon _slrucksack;

     [_unit,_ir,1] call ACE_fnc_PackMagazine;	      
     [_unit,_lightB,1] call ACE_fnc_PackMagazine;     
     [_unit,_lightIR,1] call ACE_fnc_PackMagazine;	                         
     [_unit,_huntmag,2] call ACE_fnc_PackMagazine;
     [_unit,_glsmokered,2] call ACE_fnc_PackMagazine;
     [_unit,_glsmokegreen,2] call ACE_fnc_PackMagazine;
     [_unit,"ACE_M7A3",1] call ACE_fnc_PackMagazine; 	      
     [_unit,_cngas203,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     [_unit,_morphine,1] call ACE_fnc_PackMagazine; 
     [_unit,_epinephrine,1] call ACE_fnc_PackMagazine;  
     [_unit,_bandage,2] call ACE_fnc_PackMagazine;

     _unit selectweapon primaryweapon _unit;      
};
case "plutstf": // Plutonstf / skarp / fac
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _shortdotmag} foreach [1,2,3,4,5,6,7,8,9];
{_unit addmagazine _smokegrenadeG} foreach [1,2];	
     {_unit addmagazine _lasermag} foreach [1];		
{_unit addmagazine _pistolmag} foreach [1,2,3,4];

     {_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _morphine} foreach [1];      
     {_unit addmagazine _bandage} foreach [1,2];

     _unit addweapon _shortdot;
     _unit addweapon _pistol;  
     _unit addweapon "Laserdesignator"; 
_unit addweapon "NVGoggles";
     _unit addWeapon "ItemGPS";	
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
	_unit addWeapon "ACE_Earplugs";
	_unit addWeapon "ACE_Map_tools";
_unit addWeapon "ACE_GlassesTactical"; 
_unit addWeapon "ACE_KeyCuffs";

_unit addWeapon "ACE_PRC119"; //Radio rucksack

 //    _unit addweapon _rucksack;

     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	  
     [_unit,_lightIR,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	                 
     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_glsmokewhite,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;


     _unit selectweapon primaryweapon _unit;       	
};
case "plutksp": // 
{
removeAllWeapons _unit;
removeAllItems _unit;	

	{_unit addmagazine _mediumMGmag} foreach [1,2,3];
{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _glsmokered} foreach [1,2];
{_unit addmagazine _glsmokegreen} foreach [1,2];
     _unit addweapon _mediumMG;
     _unit addweapon _pistol;	
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
     _unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";		
_unit addWeapon "itemWatch";	
	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";
_unit addWeapon "ACE_KeyCuffs";

_unit addweapon _mgrucksack;

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;

_unit selectweapon primaryweapon _unit;  	
};



case "plutsjuk": // Skyttegrupp - Sjukvårdare // Assistant Gunner Unit
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _smokegrenade} foreach [1,2,3,4,5];
     {_unit addmagazine _bandage;} foreach [1,2,3];
     {_unit addmagazine _morphine;} foreach [1,2,3];
     {_unit addmagazine _epinephrine;} foreach [1];
     _unit addweapon _medicrifle;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";		
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";

     _unit addweapon _medicrucksack;


     [_unit,_medicmag,10] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_GLmag,3] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_morphine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_largebandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;          

     _unit selectweapon primaryweapon _unit;	
};

//-------------------------------------------------------------------------------------


// SKYTTEGRUPP    
case "skyttgrpc": // Skyttegrupp - Gruppchef // Team Leader Unit
{
removeAllWeapons _unit;
	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8,9];
{_unit addmagazine _smokegrenadeG} foreach [1,2];
{_unit addmagazine _grenade} foreach [1];
{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addmagazine _GLmag} foreach [1,2,3,4];
{_unit addmagazine _glsmokered} foreach [1,2]; 
     _unit addweapon _riflegl;
     _unit addweapon _pistol;      
 	_unit addWeapon "ACE_HuntIR_monitor";		
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		
	_unit addWeapon "ACE_Map_tools";
	_unit addWeapon "ACE_GlassesTactical";
_unit addWeapon "ACE_Earplugs"; 
	_unit addWeapon "ACE_GlassesGasMask_US";
	_unit addWeapon "ACE_KeyCuffs";

     _unit addweapon _slrucksack; 

     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	     
     [_unit,_lightIR,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	       
     [_unit,_lightG,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_lightR,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_huntmag,3] call ACE_Sys_Ruck_fnc_AddMagToRuck;	         
     [_unit,_GLmag,7] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_glsmokewhite,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_glsmokered,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_glsmokegreen,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,3] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;         
     [_unit,_cngas203,2] call ACE_Sys_Ruck_fnc_AddMagToRuck; 

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     _unit selectweapon primaryweapon _unit;	
};
case "skyttstf": // Skyttegrupp - Stf // Team Leader Unit
{
removeAllWeapons _unit;
	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
     {_unit addmagazine _rangefindermag} foreach [1];  	
{_unit addmagazine _smokegrenadeG} foreach [1,2];
{_unit addmagazine _grenade} foreach [1];

{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _glsmokegreen} foreach [1,2];      

     {_unit addmagazine _morphine} foreach [1];      
     {_unit addmagazine _bandage} foreach [1,2];

     _unit addweapon _rifleacg;
     _unit addweapon _pistol;      
_unit addweapon "NVGoggles";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";	
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";
     _unit addweapon _rangefinder;   

//	_unit addWeapon "ACE_PRC119"; //Radio rucksack


     _unit addweapon _rucksack;

     [_unit,_riflemag,7] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_smokegrenade,3] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_grenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;            
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	


     _unit selectweapon primaryweapon _unit;				
};
case "skyttsjuk": // Skyttegrupp - Sjukvårdare // 
{
removeAllWeapons _unit;
	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5];
{_unit addmagazine _smokegrenade} foreach [1,2,3,4,5,6,7];
     {_unit addmagazine _bandage;} foreach [1,2,3];
     {_unit addmagazine _morphine;} foreach [1,2];
     {_unit addmagazine _epinephrine;} foreach [1,2,3];
     _unit addweapon _medicrifle;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		

     _unit addweapon _medicrucksack;
     [_unit,_medicmag,10] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_largebandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;      
     [_unit,_morphine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     _unit selectweapon primaryweapon _unit;	
};
case "skyttat": // AT-skytt
{
removeAllWeapons _unit;
	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _smokegrenade} foreach [1,2];	
//	{_unit addmagazine _atmag} foreach [1];
{_unit addmagazine _pistolmag} foreach [1,2,3];
     {_unit addmagazine _GLmag} foreach [1];
     {_unit addmagazine _glsmokered} foreach [1]; 
     {_unit addmagazine _morphine} foreach [1];      
     {_unit addmagazine _bandage} foreach [1];                 
     _unit addweapon _rifle;
     _unit addweapon _at;      
     _unit addweapon _pistol;      
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";

     _unit selectweapon primaryweapon _unit;	
};
case "skyttksp": // KSP90-skytt
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _mgmag} foreach [1,2,3,4,5];
{_unit addmagazine _pistolmag} foreach [1,2,3,4];
     {_unit addmagazine _GLmag} foreach [1,2];
     {_unit addmagazine _glsmokered} foreach [1,2];  
     _unit addweapon _mg;
     _unit addweapon _pistol;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";
_unit addWeapon "ACE_GlassesGasMask_US";
_unit addWeapon "ACE_KeyCuffs";

_unit addweapon _mgrucksack;	

[_unit,_MGmag,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  	
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

_unit selectweapon primaryweapon _unit; 	

};    
case "skyttsold": // Soldat 6
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _smokegrenade} foreach [1,2];
{_unit addmagazine _smokegrenadeG} foreach [1,2];	
{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addmagazine _glsmokegreen} foreach [1,2];
     {_unit addmagazine _glsmokered} foreach [1,2];
     _unit addweapon _rifle;
     _unit addweapon _pistol;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_KeyCuffs";	

     _unit addweapon _rucksack;

[_unit,_MGmag,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     _unit selectweapon primaryweapon _unit;		

};

//-------------------------------------------------------------------------------------

// SPANINGSGRUPP 
case "spangrpc": // Gruppchef
{
removeAllWeapons _unit;
  	removeAllItems _unit;

{_unit addmagazine _spmag} foreach [1,2,3,4,5,6,7];
{_unit addmagazine _ir} foreach [1];	
{_unit addmagazine _smokegrenadeG} foreach [1,2];
{_unit addmagazine _smokegrenadeR} foreach [1];
     {_unit addmagazine _lasermag} foreach [1];
{_unit addmagazine _pistolsdmag} foreach [1,2,3,4];

{_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1,2];
     {_unit addmagazine _morphine} foreach [1];

_unit addWeapon "ACE_Spottingscope";
_unit addWeapon "ACE_Map_tools";      	
     _unit addweapon _sp;
     _unit addweapon _pistolsd;
     _unit addweapon "Laserdesignator"; 	
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";		

_unit addWeapon "ACE_PRC119"; //Radio rucksack

     _unit selectweapon primaryweapon _unit;	

};
case "spanstf": // Stf
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _snipmag} foreach [1,2,3,4,5,6,7,8,9,10,11];
{_unit addmagazine _pistolsdmag} foreach [1,2,3,4];
{_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1,2];
     {_unit addmagazine _morphine} foreach [1];

     _unit addweapon _snip;
     _unit addweapon _pistolsd;	
 	_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_Map_tools";	

     _unit selectweapon primaryweapon _unit;	

};

case "spansjuk": // Scout
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _spmag} foreach [1,2,3,4,5];
{_unit addmagazine _smokegrenade} foreach [1,2,3];
     {_unit addmagazine _bandage;} foreach [1,2,3];
     {_unit addmagazine _morphine;} foreach [1,2];
     {_unit addmagazine _epinephrine;} foreach [1,2,3];
     _unit addweapon _sp;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";		
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_Map_tools";	

     _unit addweapon _medicrucksack;

     [_unit,_medicmag,10] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_morphine,10] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     _unit selectweapon primaryweapon _unit;	
};

case "spanskarp": // Sniper
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _snipmag} foreach [1,2,3,4,5,6,7,8,9,10,11,12];
{_unit addmagazine _pistolsdmag} foreach [1,2];
{_unit addmagazine _glsmokered} foreach [1,2];
{_unit addmagazine _glsmokegreen} foreach [1];

{_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];

     _unit addweapon _snip;
     _unit addweapon _pistolsd;	
 	_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_Map_tools";	

     _unit selectweapon primaryweapon _unit;	

};


//-------------------------------------------------------------------------------------
//Hotelgrupp
case "hotelgrpc": // Gruppchef
{
     removeAllWeapons _unit;
 	removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8,9];
{_unit addmagazine _smokegrenadeG} foreach [1,2];
     {_unit addmagazine _rangefindermag} foreach [1];

{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _glmag} foreach [1,2,3,4,5,6];	

     _unit addweapon _rifleGLACG; 
     _unit addweapon _pistol;	

_unit addweapon "NVGoggles";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		
     _unit addweapon _rangefinder; 
	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_Map_tools"; 
_unit addWeapon "ACE_GlassesGasMask_US";

     _unit addweapon _slrucksack; 

     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	      	         
     [_unit,_lightG,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;          
     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,"ACE_M7A3",2] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",2] call ACE_Sys_Ruck_fnc_AddMagToRuck;    

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     _unit selectweapon primaryweapon _unit;

};
case "hotelskarp": // Plutonstf / skarp / fac
{
removeAllWeapons _unit;
removeAllItems _unit;	

{_unit addmagazine _shortdotmag} foreach [1,2,3,4,5,6,7,8,9];
{_unit addmagazine _smokegrenadeG} foreach [1,2];	
     {_unit addmagazine _lasermag} foreach [1];		
{_unit addmagazine _pistolmag} foreach [1,2,3,4];

{_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];

     _unit addweapon _shortdot;
     _unit addweapon _pistol;  
     _unit addweapon "Laserdesignator"; 
_unit addweapon "NVGoggles";
     _unit addWeapon "ItemGPS";	
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
	_unit addWeapon "ACE_Earplugs";
 	_unit addWeapon "ACE_GlassesGasMask_US";

// 	_unit addWeapon "ACE_PRC119"; //Radio rucksack

     _unit addweapon _rucksack;

     [_unit,_mediumMGmag,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;        
     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	  
     [_unit,_lightIR,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	                 
     [_unit,_riflemag,5] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;


     _unit selectweapon primaryweapon _unit;       	
};
case "hotelengineer": // Hotel Ingengör
{
     removeAllWeapons _unit;
removeAllItems _unit;

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _pistolmag} foreach [1,2];

     {_unit addmagazine _morphine;} foreach [1];	
     {_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];


     _unit addweapon _rifle;  
     _unit addweapon _pistol;
_unit addweapon "NVGoggles";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addweapon "ItemRadio";	
_unit addWeapon "itemWatch";	

	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";

_unit addWeapon "ACE_BackPack";

     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   

     _unit selectweapon primaryweapon _unit;	

};
case "hotelaa": // Hotel stf.chef och AA
{
     removeAllWeapons _unit;
removeAllItems _unit;

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _stinger} foreach [1];
{_unit addmagazine _pistolmag} foreach [1,2];
{_unit addmagazine _glmag} foreach [1,2,3,4];	

     {_unit addmagazine _morphine;} foreach [1];	
     {_unit addmagazine _bandage} foreach [1];


     _unit addweapon _rifleglacg; 
     _unit addweapon _stinger; 
     _unit addweapon _pistol;
_unit addweapon "NVGoggles";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addweapon "ItemRadio";	
_unit addWeapon "itemWatch";	

	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";

     _unit selectweapon primaryweapon _unit;	

};
case "hotelsmaw": // SMAW
{
     removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _mediumATmag1} foreach [1,2];
{_unit addmagazine _mediumATmag2} foreach [1,2];	

{_unit addmagazine "ACE_smaw_spotting"} foreach [1,2,3,4,5];
{_unit addmagazine _pistolmag} foreach [1];
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];

     _unit addweapon _rifleacg; 
     _unit addweapon _mediumAT;
_unit addweapon _pistol;
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemRadio";	
_unit addWeapon "ItemGPS";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";
 	_unit addWeapon "ACE_GlassesGasMask_US";

     _unit selectweapon primaryweapon _unit;		

};
case "hotelksp": // KSP-58
{
     removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _mediumMGmag} foreach [1,2,3,4,5];
{_unit addmagazine _pistolmag} foreach [1,2,3,4];

     _unit addweapon _mediumMG; 
     _unit addweapon _pistol;
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemRadio";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemWatch";		
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";
_unit addWeapon "ACE_GlassesGasMask_US";

_unit addweapon _mgrucksack;	

[_unit,_mediumMGmag,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	
     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   

_unit selectweapon primaryweapon _unit; 	


};
case "hotelsjuk": // Sjukvårdare
{
removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5];
{_unit addmagazine _smokegrenade} foreach [1,2,3,4,5,6,7];
     {_unit addmagazine _bandage;} foreach [1,2,3];
     {_unit addmagazine _morphine;} foreach [1,2];
     {_unit addmagazine _epinephrine;} foreach [1,2,3];
     _unit addweapon _medicrifle;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";			
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";

     _unit addweapon _medicrucksack;

     [_unit,_medicmag,10] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_largebandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;      
     [_unit,_morphine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     _unit selectweapon primaryweapon _unit;	
};
case "hotelm2": // HMG-skytt
{
     removeAllWeapons _unit;
removeAllItems _unit;            

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addMagazine _heavyMGmag} forEach [1,2];	
     _unit addweapon _rifle; 
     _unit addweapon _heavyMG;  
     _unit addweapon _pistol;

     {_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine;} foreach [1];
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemGPS";	
_unit addWeapon "ItemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";	

_unit selectweapon primaryweapon _unit; 
};
case "hotelm2ass": // HMG-assistant
{
     removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5];
{_unit addmagazine _pistolmag} foreach [1,2,3];
     {_unit addMagazine _heavyMGmag} forEach [1,2];
     {_unit addmagazine _rangefindermag} forEach [1];
     _unit addweapon _rifle; 
     _unit addWeapon _heavyMGtripod; 
     _unit addweapon _pistol;
     _unit addweapon _rangefinder;
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemGPS";	
_unit addWeapon "ItemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesTactical";

     {_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine;} foreach [1]; 

     _unit selectweapon primaryweapon _unit; 
};

//-------------------------------------------------------------------------------------
// PANSAR

case "pansarenhet": // ALC Unit
{
removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _pistolmag} foreach [1,2,3];
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];	

     _unit addweapon _oldrifle;
     _unit addweapon _pistol;	
_unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
     _unit addWeapon "ItemGPS";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Map_tools";
_unit addWeapon "ACE_GlassesGasMask_US";

     _unit selectweapon primaryweapon _unit;	 
};

//-------------------------------------------------------------------------------------
// FLYGVAPNET

case "pilotenhet": // Pilot Unit
{
removeAllWeapons _unit;
removeAllItems _unit;     	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _smokegrenadeY} foreach [1,2];
{_unit addmagazine _smokegrenadeR} foreach [1,2];
{_unit addmagazine _pistolmag} foreach [1,2,3];
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];

     _unit addweapon _oldrifle;
     _unit addweapon _pistol;
     _unit addweapon "Binocular";
_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemGPS";
     _unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";	
_unit addWeapon "ACE_Map_tools";
_unit addWeapon "ACE_GlassesGasMask_US";

_unit selectweapon primaryweapon _unit;	

};


//-------------------------------------------------------------------------------------

// TACP
case "tacpgrpc": // Gruppchef
{
     removeAllWeapons _unit;
 	removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6];
{_unit addmagazine _smokegrenadeG} foreach [1,2];
     {_unit addmagazine _lasermag} foreach [1];	

{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addmagazine _GLmag} foreach [1,2,3,4];
{_unit addmagazine _glsmokered} foreach [1,2]; 

     _unit addweapon _rifleGLACG; 
     _unit addweapon _pistol;	
     _unit addweapon "Laserdesignator"; 
_unit addweapon "NVGoggles";
_unit addWeapon "ItemGPS";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";		

_unit addWeapon "ACE_HuntIR_monitor";
	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_Map_tools"; 
_unit addWeapon "ACE_GlassesGasMask_US";

 	_unit addWeapon "ACE_PRC119"; //Radio rucksack


     [_unit,_ir,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	      
     [_unit,_lightB,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;     
     [_unit,_lightIR,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;	                         
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;         

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	


     _unit selectweapon primaryweapon _unit;

};
case "tacpfac": //  / fac
{
removeAllWeapons _unit;
removeAllItems _unit;   

{_unit addmagazine "ACE_20Rnd_762x51_B_G3"} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _smokegrenadeG} foreach [1,2];	
     {_unit addmagazine _lasermag} foreach [1];		
{_unit addmagazine _pistolmag} foreach [1,2,3];

     _unit addweapon "ACE_G3SG1"; 
     _unit addweapon _pistol;  
     _unit addweapon "Laserdesignator"; 
_unit addweapon "NVGoggles";
     _unit addWeapon "ItemGPS";	
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	
	_unit addWeapon "ACE_Earplugs";
_unit addWeapon "ACE_GlassesGasMask_US";

     _unit addweapon _slrucksack;

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,"ACE_M7A3",1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 	      
     [_unit,"ACE_Flashbang",1] call ACE_Sys_Ruck_fnc_AddMagToRuck;         



     _unit selectweapon primaryweapon _unit;       	
};
case "tacpsjuk": // Sjukvårdare
{
removeAllWeapons _unit;
removeAllItems _unit;      

{_unit addmagazine _riflemag} foreach [1,2,3,4,5];
{_unit addmagazine _smokegrenade} foreach [1,2,3,4,5,6];

{_unit addmagazine _epinephrine} foreach [1]; 
     {_unit addmagazine _bandage} foreach [1];
     {_unit addmagazine _morphine} foreach [1];	

     _unit addweapon _medicrifle;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "ItemGPS";
_unit addWeapon "itemRadio";
_unit addWeapon "itemWatch";			
_unit addWeapon "ACE_Earplugs";

     _unit addweapon _medicrucksack;

     [_unit,_medicmag,4] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenade,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_bandage,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_largebandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;      
     [_unit,_morphine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_epinephrine,15] call ACE_Sys_Ruck_fnc_AddMagToRuck;

     _unit selectweapon primaryweapon _unit;	
};

case "tacpsold": // Soldat
{
removeAllWeapons _unit;
 	removeAllItems _unit;	

{_unit addmagazine _riflemag} foreach [1,2,3,4,5,6,7,8];
{_unit addmagazine _smokegrenade} foreach [1,2];
{_unit addmagazine _smokegrenadeG} foreach [1,2];	
{_unit addmagazine _pistolmag} foreach [1,2];
     {_unit addmagazine _glsmokegreen} foreach [1,2];
     {_unit addmagazine _glsmokered} foreach [1,2];
     _unit addweapon _rifle;
     _unit addweapon _pistol;
 	_unit addweapon "NVGoggles";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemMap";	
_unit addWeapon "itemRadio";	
_unit addWeapon "itemWatch";	

     _unit addweapon _rucksack;


     [_unit,_riflemag,4] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_grenade,1] call ACE_Sys_Ruck_fnc_AddMagToRuck; 
     [_unit,_smokegrenadeG,3] call ACE_Sys_Ruck_fnc_AddMagToRuck;
     [_unit,_smokegrenadeR,3] call ACE_Sys_Ruck_fnc_AddMagToRuck;      

     [_unit,_morphine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;   
     [_unit,_epinephrine,1] call ACE_Sys_Ruck_fnc_AddMagToRuck;  
     [_unit,_bandage,2] call ACE_Sys_Ruck_fnc_AddMagToRuck;	

     _unit selectweapon primaryweapon _unit;		

};

//--------------------------------------------------------------------------------


};

this is from a older clan i got it on the computer and dont know how to use it

can I just add this insted of the Other load out for example the kompanichef platoon leader

Share this post


Link to post
Share on other sites
	private ["_type", "_unit"];

_type = _this select 0;
_unit = _this select 1;


_unit addWeapon "ACE_EARPLUGS"; 
_unit addMagazine "ACE_BANDAGE"; 
_unit addMagazine "ACE_BANDAGE";
_unit addMagazine "ACE_MORPHINE";
_unit addWeapon "ItemMap";
_unit addWeapon "ItemCompass";
_unit addWeapon "ItemWatch";
_unit addWeapon "ACRE_PRC343";
_unit setVariable ["ace_weaponOnBack", "ACE_CharliePack_WMARPAT"];
_unit addWeapon "NVGoggles";
_unit addWeapon "ACE_GlassesTactical";

switch (_type) do
{
	case "PL":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit addWeapon "ACRE_PRC148";
		_unit addMagazine "ACE_Battery_Rangefinder";
		_unit addWeapon "ACE_Rangefinder_OD";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",7], ["SmokeShellGreen",2], ["SmokeShellRed",1], ["Handgrenade_west",2], ["ACE_Knicklicht_B", 20], ["ACE_Knicklicht_G", 20], ["ACE_Knicklicht_R", 20] ]];
		_unit addWeapon "ItemGPS";
	};

		case "SL":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit addWeapon "ACRE_PRC148";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",7], ["SmokeShellGreen",2], ["SmokeShellRed",1], ["Handgrenade_west",2]]];
		_unit addWeapon "ItemGPS";
		_unit addWeapon "Binocular";
	};

		case "TL":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",7], ["Handgrenade_west",2]]];
		_unit addWeapon "Binocular";
	};

		case "corpsman":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit addMagazine "ACE_Epinephrine";
		_unit addMagazine "ACE_Epinephrine";
		_unit addMagazine "ACE_Morphine";
		_unit addMagazine "ACE_Morphine";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",7], ["Handgrenade_west",2], ["SmokeShellGreen",4], ["ACE_Epinephrine", 10], ["ACE_BANDAGE", 20], ["ACE_MORPHINE", 20]]];
	};		

		case "rifle":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit addWeapon "ACE_M136_CSRS";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",10], ["Handgrenade_west",2]]];
	};	

		case "rTL":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "6Rnd_HE_M203";
		_unit addMagazine "6Rnd_HE_M203";
		_unit addMagazine "SmokeShell";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "1Rnd_SmokeRed_M203";
		_unit addMagazine "1Rnd_Smoke_M203";	
		_unit addMagazine "1Rnd_SmokeGreen_M203";
		_unit addMagazine "ACE_SSWhite_M203";			
		_unit addMagazine "ACE_SSRed_M203";				
		_unit addWeapon "m16a4";
		_unit setVariable ["ace_weaponOnBack", "ACE_M32"];
		_unit addWeapon "ACE_CharliePack_WMARPAT"; 
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",7], ["Handgrenade_west",2], ["6Rnd_HE_M203", 1]]];
		_unit addWeapon "Binocular";
	};

		case "AR":
	{
		_unit addMagazine "200Rnd_556x45_M249";
		_unit addMagazine "200Rnd_556x45_M249";
		_unit addMagazine "200Rnd_556x45_M249";
		_unit addMagazine "200Rnd_556x45_M249";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "M249_m145_EP1";
		_unit setVariable ["ACE_RuckMagContents", [["Handgrenade_west",2]]];
	};	

		case "AAR":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "200Rnd_556x45_M249";
		_unit addMagazine "200Rnd_556x45_M249";			
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit addWeapon "ACE_M72A2";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",5], ["Handgrenade_west",2]]];
	};	

		case "MG":
	{
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "ACE_M240G_M145";
	};	

		case "MGa":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "100Rnd_762x51_M240";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addWeapon "m16a4";
		_unit setVariable ["ACE_RuckMagContents", [["30Rnd_556x45_Stanag",5], ["Handgrenade_west",2]]];
	};	


		case "SMAWgunner":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "SMAW_HEDP"; 
		_unit addMagazine "SMAW_HEAA";
		_unit addMagazine "ACE_SMAW_Spotting"; _unit addMagazine "ACE_SMAW_Spotting";
		_unit addWeapon "SMAW";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "SmokeShell";
		_unit addWeapon "m16a4";
		_unit addWeapon "ItemGPS";
		_unit addWeapon "Binocular";
	};	

		case "SMAWa":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "SMAW_HEDP"; 
		_unit addMagazine "SMAW_HEAA"; 
		_unit addMagazine "ACE_30Rnd_556x45_T_Stanag";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "HandGrenade_West"; 
		_unit addMagazine "ACE_SMAW_Spotting";
		_unit addWeapon "m16a4";
		_unit setVariable ["ACE_RuckMagContents", [["Pipebomb", 1]]];
	};	


		case "AAVcrew":
	{
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "30Rnd_556x45_Stanag";
		_unit addMagazine "HandGrenade_West";
		_unit addMagazine "SmokeShell";
		_unit addWeapon "M4A1_Aim";
		_unit removeWeapon "ACE_CharliePack_WMARPAT";
	};	


		case "AAV":
	{
		_unit addWeaponCargo ["ACE_M72A2", 6];
		_unit addWeaponCargo ["ACE_M136_CSRS", 3];
		_unit addMagazineCargo ["Javelin", 2];
		_unit addMagazineCargo ["SMAW_HEDP", 6];
		_unit addMagazineCargo ["SMAW_HEAA", 6];
		_unit addMagazineCargo ["100Rnd_762x51_M240", 20];
		_unit addMagazineCargo ["30Rnd_556x45_Stanag", 135];
		_unit addMagazineCargo ["SmokeShell", 6];
		_unit addMagazineCargo ["SmokeShellRed", 3];
		_unit addMagazineCargo ["SmokeShellGreen", 3];
		_unit addMagazineCargo ["HandGrenade_West", 10];
		_unit addMagazineCargo ["ACE_Epinephrine", 1];
		_unit addMagazineCargo ["ACE_BANDAGE", 5];
		_unit addMagazineCargo ["ACE_MORPHINE", 3];
		_unit addMagazineCargo ["1Rnd_HE_M203", 40];
		_unit addMagazineCargo ["6Rnd_HE_M203", 10];
		_unit addMagazineCargo ["1Rnd_Smoke_M203", 10];
		_unit addMagazineCargo ["1Rnd_SmokeGreen_M203", 5];
		_unit addMagazineCargo ["1Rnd_SmokeRed_M203", 5];
		_unit addMagazineCargo ["ACE_SSWhite_M203", 10];
		_unit addMagazineCargo ["ACE_SSRed_M203", 10];
		_unit addMagazineCargo ["IRStrobe", 2];
		_unit addMagazineCargo ["ACE_VS17Panel_M", 2];
		_unit addMagazineCargo ["ACE_Rope_TOW_M_5", 1];
		_unit addWeaponCargo ["ACE_KeyCuffs", 5];
		_unit addWeaponCargo ["ACE_Map_Tools", 3];			
		_unit addWeaponCargo ["ACE_WireCutter", 1];	


	};	
};

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  

×