MCCSandbox Wiki
Advertisement

Server side files

Servers or host players can configure the role selection by editing some of the default files create by iniDBi2.

To get to the iniDBi2 files you'll need to locate the mod folder which is usually in the ArmA 3 root folder under @inidbi2.

In the @inidbi2 folder go to the "db" folder then you'll find a file named "DEFAULT_SERVER.ini"

This is the server config file.

DEFAULT_SERVER.ini

In the DEFAULT_SERVER.ini you'll find some expressions you can change:

All statements starting with [] are headers:

[allowedPlayers]

  • MCC_allowedPlayers="["all"]" - replace the "all" statement with array of strings containing the players UID to determine who will have access to MCC from the server side.

[RoleSelectionDefinse]

  • CP_defaultGroups="["Alpha","Bravo","Charlie","Delta"]" - Default squads that will be shown in the squad dialog.

Player.ini

Every player that will join your server while role selection is active will create a playerName.ini file. As an example there will be a file called shay_gman.ini on my server.

This file contains the data about the player which usually we won't edit but in some cases servers owner would like to change the data (the best way to reset players data is just to delete the file as MCC will create a fresh one, same for all the ini files).

Cases where a server owner would like to change player.ini files can be:

  • Manually grant player extra XP for community work.
  • Add custom rank to player.

By default MCC sets the players rank by their experience level with the role they have chosen where the minimum rank is "Private" and the highest rank is "Colonel" for players level 60 or higher. The rank will be shown in the name tags if activated. But the server owner can give custom ranks to fit the rank the player have in his community.

The variables are:

  • MCCplayerRank="N/A" - replace "N/A" with rank name string:  PRIVATE, CORPORAL, SERGEANT, LIEUTENANT, CAPTAIN, MAJOR or COLONEL to set a default rank to this player.
  • XXXXLevel="[2,3500]" - the first variable in the array is rank the second is the XP it is highly recommended to change only the XP value and let MCC define the level once the player joined the server. Each level is 3000 XP plus 10% of the previous level. You'll find variable to each role.


Roles and gear

RoleDialog

In MCC Role Selection you can have different gear, weapons exc to each role. You can also have as many roles as

you want and you can define specific roles for each template. Of course if you are playing while IniDBi2 is running on the server any player's progress will be persistent to future missions.

The best way to explain how to configure custom roles and gears is to download this example mission file.

In short you should create a new entry in your mission description.exe file and add the MCC_lodouts class.

Example:

class MCC_loadouts
{
	#include "loadouts\rifleman.hpp"
	#include "loadouts\officer.hpp"
	#include "loadouts\ar.hpp"
	#include "loadouts\at.hpp"
	#include "loadouts\corpsman.hpp"
	#include "loadouts\marksman.hpp"
	#include "loadouts\specialist.hpp"
	#include "loadouts\crew.hpp"
	#include "loadouts\pilot.hpp"
};

I'm using the #include method to keep the code clean and each loadout file in a separate file but you can just drop the entire code there in the description.ext file.

You don't need to have the same roles as in the example and you can have as many roles as you want it is all up to you.

Now lets create the first loadout file. For example take a look at the rifleman.hpp file in the example above.

Before we'll go over the basics let me remind you that MCC will look for the local mission MCC_loadouts config file and if non is found it will use the default mod MCC_loadouts config. Also remember that ArmA config files use inheritance so if you defined the primary weapons for the rifleman class and the AT class in a inherent from the rifleman and you want it to use the same primary weapons as rifleman there is no need to define it again.

Class roleName

class rifleman
{
	name    = "Rifleman";
	picture =  __EVAL(MCCPATH +"mcc\roleSelection\data\Rifleman.paa");
	minPlayersForKit = 0;
	maxKitsInGroup = 99;
	maxKitsInSide = 999;
	allowMg = 0;
	allowAT = 0;
	allowSniper = 0;
	allowPilot = 0;
	allowCrew = 0;
  • name - the name of the role how it will be displayed in the Squad Dialog.
  • picture - the path to the picture paa file.
  • minPlayerForKit - how many players must be in the group to enable this role.
  • maxKitsInGroup - the maximum amount of this role in one group.
  • maxKitsInSide - the maximum amount of this role in the same side.
  • allowMg - set to 1 to enable this role to be able to use machine guns.
  • allowAT - set to 1 to enable this role to be able to use anti-tank weapons.
  • allowAT - set to 1 to enable this role to be able to use sniper rifles.
  • allowPilot - set to 1 to enable this role to be able to pilot aircraft.
  • allowCrew - set to 1 to enable this role to be able to drive and operate heavy vehicles.

Class side

the role selection is deviden into 3 sides: west, east and guer. Each side can have different gear in the same role.

Class primary

In the class primary we'll define the primary weapons for this role and the level which they will be unlocked.

class primary
		{
			class arifle_TRG21_F
			{
				unlockLevel = 0;
				cfgname = "arifle_TRG21_F";
				magazines[]= {"30Rnd_556x45_Stanag",9,"30Rnd_556x45_Stanag_Tracer_Red",2};
				attachments1[]= {{0,""},{3,"optic_Aco"},{4,"optic_Holosight"},{6,"optic_MRCO"},{8,"optic_Hamr"},{10,"optic_Arco"}};
 				attachments2[]= {{0,""},{9,"muzzle_snds_M"}};
 				attachments3[]= {{0,""},{1,"acc_flashlight"},{7,"acc_pointer_IR"}};
 				attachments4[]= {};
 			}

The name of the class is irrelevant but I like to keep it us the className of the weapon.

  • unlockLevel - which level the weapon will become available for this role.
  • cfgname - the className of the weapon as defined in the cfgWeapons.
  • magazines - array containing the magainze className as defined in the cfgMagazines followed by the number of magazines to add to the player. You can have more then one magazine type for each weapon.
  • attachments1 - Optics - arrays of arrays. Each sub array contains:
    • the level which the item will be available relatively to the unlockLevel. For example if you put something like {3,"optic_Aco"} and the weapon unlockLevel = 10 then the ACO optics will be unlocked at level 13 not 3.
    • the class name of the attachment as defined in cfgWeapons.
  • attachments2 - Same as attachments1 but for suppressors and muzzle breakers.
  • attachments3 - Same as attachments1 but for flashlights and pointers.
  • attachments4 - Same as attachments1 but for bi-pods.

Class Secondary

This is defined just as the primary class but it will effect the secondary weapons - launchers.

class secondary
		{
			class launch_NLAW_F
			{
				unlockLevel = 0;
				cfgname = "launch_NLAW_F";
				magazines[]= {"NLAW_F",2};
				attachments1[]= {};
				attachments2[]= {};
				attachments3[]= {};
				attachments4[]= {};
			}; 

Class handgun

This is defined just as the primary class but it will effect the handguns weapons - pistols.

class handgun
		{
			class none
			{
				unlockLevel = 0;
				cfgname = "";
				magazines[]= {};
				attachments1[]= {};
				attachments2[]= {};
				attachments3[]= {};
				attachments4[]= {};
			};

Gear

Last we will set the gear.

items1[]={{0,""},{20,"Binocular", {}},{40,"Rangefinder", {}}};
 		items2[]={{0,"SmokeShell", 2},{3,"MiniGrenade", 2},{7,"HandGrenade", 2},{11,"SmokeShellRed", 2},{13,"SmokeShellGreen", 2},{21,"Chemlight_green", 2},{22,"Chemlight_red", 2},{23,"Chemlight_yellow", 2},{25,"B_IR_Grenade", 2}};
 		items3[]={{0,"MiniGrenade", 2},{3,"SmokeShell", 2},{7,"HandGrenade", 2},{11,"SmokeShellRed", 2},{13,"SmokeShellGreen", 2},{21,"Chemlight_green", 2},{22,"Chemlight_red", 2},{23,"Chemlight_yellow", 2},{25,"B_IR_Grenade", 2}};
 		generalItems[]= {{0,"ItemMap",1},{0,"ItemCompass",1},{0,"ItemWatch",1},{0,"ItemRadio",1},{0,"FirstAidKit",2}};
 		nightVision[]= {{0,""},{0,"NVGoggles"}};
 		headgear[]= {{0,"H_HelmetB"},{12,"H_HelmetB_light"},{18,"H_HelmetB_light_black"}};
 		googles[]= {{0,""},{0,"G_Combat"},{6,"G_Tactical_Black"},{13,"G_Sport_Blackred"}};
 		vests[]= {{0,"V_PlateCarrier1_rgr"},{9,"V_PlateCarrierGL_rgr"},{13,"V_TacVest_oli"},{19,"V_PlateCarrier1_blk"}};
 		backpacks[]= {{0,"B_AssaultPack_mcamo"},{7,"B_Kitbag_mcamo"},{14,"B_Bergen_mcamo"},{18,"B_AssaultPack_blk"}};
 		uniforms[]= {{0,"U_B_CombatUniform_mcam"},{8,"U_B_CombatUniform_mcam_tshirt"},{15,"U_B_CombatUniform_mcam_vest"}};
 		insigna[]= {{0,""},{0,"111thID"},{0,"BI"},{0,"Curator"},{0,"MANW"}};

All the gear classes are arrays of arrays where:

  • The first element is integer - defines the unlock level
  • The second element is a string - defines the className
  • The third element is optional and it is either a number or an array. A number will define how many of this item we have to give to the player and an array will define magazines for this item - usually batteries where the first element is the item className and the second is the number to give.

Here is what each class do:

  • items1 - Binoculars and range finders.
  • items2 - Grenades, magazines, explosives exc.
  • items3 - Grenades, magazines, explosives exc.
  • generalItems - Default items the player will start with - will not be able to select in the Squad Dialog.
  • nightVision - Night Vision goggles.
  • headgear - Helmets & caps.
  • googles - goggles.
  • vests
  • backpacks
  • uniforms
  • insigna

Example

Here is an example of a rifleman gear using RHS and some other mods

class rifleman
{
	name    = "Rifleman";
	picture =  "loadouts\data\Rifleman.paa";
	minPlayersForKit = 0;
	maxKitsInGroup = 99;
	maxKitsInSide = 999;
	allowMg = 0;
	allowAT = 0;
	allowSniper = 0;
	allowPilot = 0;
	allowCrew = 0;

	class west
	{
		class primary
		{
			class SMA_M4MOE_SM
			{
				unlockLevel = 0;
				cfgname = "SMA_M4MOE_SM";
				magazines[]= {"SMA_30Rnd_556x45_M855A1",9,"SMA_30Rnd_556x45_M855A1_Tracer",2};
				attachments1[]= {{0,""},{0,"iansky_t1"},{1,"iansky_rds"},{5,"BWA3_optic_EOTech_Mag_Off"},{8,"sma_spitfire_03_rds_low_ard_black"},{11,"HAFM_optic_m4_acog"},{14,"rhsusf_acc_ACOG3_USMC"}};
 				attachments2[]= {{0,""},{2,"SMA_FLASHHIDER1"},{6,"SMA_supp2smaB_556"},{9,"SMA_Silencer_556"},{12,"SMA_supp1b_556"}};
 				attachments3[]= {{0,""},{3,"SMA_SFFL_BLK"},{7,"acc_pointer_IR"},{10,"rhsusf_acc_anpeq15_light"}};
 				attachments4[]= {{4,"SMA_Gripod_01"}};
 			};
 
 			class SMA_HK416vfg
 			{
 				unlockLevel = 7;
 				cfgname = "SMA_HK416vfg";
 				magazines[]= {"SMA_30Rnd_556x45_M855A1",9,"SMA_30Rnd_556x45_M855A1_Tracer",2};
 				attachments1[]= {{0,""},{0,"iansky_t1"},{1,"iansky_rds"},{5,"BWA3_optic_EOTech_Mag_Off"},{8,"sma_spitfire_03_rds_low_ard_black"},{11,"HAFM_optic_m4_acog"},{14,"rhsusf_acc_ACOG3_USMC"}};
 				attachments2[]= {{0,""},{2,"SMA_FLASHHIDER1"},{6,"SMA_supp2smaB_556"},{9,"SMA_Silencer_556"},{12,"SMA_supp1b_556"}};
 				attachments3[]= {{0,""},{3,"SMA_SFFL_BLK"},{7,"acc_pointer_IR"},{10,"rhsusf_acc_anpeq15_light"}};
 				attachments4[]= {{4,"SMA_Gripod_01"}};
 			};
 
 			class SMA_MK18MOE
 			{
 				unlockLevel = 14;
 				cfgname = "SMA_MK18MOE";
 				magazines[]= {"SMA_30Rnd_556x45_M855A1",9,"SMA_30Rnd_556x45_M855A1_Tracer",2};
 				attachments1[]= {{0,""},{0,"iansky_t1"},{1,"iansky_rds"},{5,"BWA3_optic_EOTech_Mag_Off"},{8,"sma_spitfire_03_rds_low_ard_black"},{11,"HAFM_optic_m4_acog"},{14,"rhsusf_acc_ACOG3_USMC"}};
 				attachments2[]= {{0,""},{2,"SMA_FLASHHIDER1"},{6,"SMA_supp2smaB_556"},{9,"SMA_Silencer_556"},{12,"SMA_supp1b_556"}};
 				attachments3[]= {{0,""},{3,"SMA_SFFL_BLK"},{7,"acc_pointer_IR"},{10,"rhsusf_acc_anpeq15_light"}};
 				attachments4[]= {{4,"SMA_Gripod_01"}};
 			};
 
 			class SMA_L85RIS
 			{
 				unlockLevel = 21;
 				cfgname = "SMA_L85RIS";
 				magazines[]= {"SMA_30Rnd_556x45_M855A1",9,"SMA_30Rnd_556x45_M855A1_Tracer",2};
 				attachments1[]= {{0,""},{0,"iansky_t1"},{1,"iansky_rds"},{5,"BWA3_optic_EOTech_Mag_Off"},{8,"sma_spitfire_03_rds_low_ard_black"},{11,"HAFM_optic_m4_acog"},{14,"rhsusf_acc_ACOG3_USMC"}};
 				attachments2[]= {{0,""},{2,"SMA_FLASHHIDER1"},{6,"SMA_supp2smaB_556"},{9,"SMA_Silencer_556"},{12,"SMA_supp1b_556"}};
 				attachments3[]= {{0,""},{3,"SMA_SFFL_BLK"},{7,"acc_pointer_IR"},{10,"rhsusf_acc_anpeq15_light"}};
 				attachments4[]= {{4,"SMA_Gripod_01"}};
 			};
 
 			class SMA_MK16
 			{
 				unlockLevel = 28;
 				cfgname = "SMA_MK16";
 				magazines[]= {"SMA_30Rnd_556x45_M855A1",9,"SMA_30Rnd_556x45_M855A1_Tracer",2};
 				attachments1[]= {{0,""},{0,"iansky_t1"},{1,"iansky_rds"},{5,"BWA3_optic_EOTech_Mag_Off"},{8,"sma_spitfire_03_rds_low_ard_black"},{11,"HAFM_optic_m4_acog"},{14,"rhsusf_acc_ACOG3_USMC"}};
 				attachments2[]= {{0,""},{2,"SMA_supp2bSCAR_556"},{6,"SMA_supp2btanSCAR_556"}};
 				attachments3[]= {{0,""},{3,"SMA_SFFL_BLK"},{7,"acc_pointer_IR"},{10,"rhsusf_acc_anpeq15_light"}};
 				attachments4[]= {{4,"SMA_Gripod_01"}};
 			}
 		};
 
 		class secondary
 		{
 
 		};
 
 		class handgun
 		{
 			class none
 			{
 				unlockLevel = 0;
 				cfgname = "";
 				magazines[]= {};
 				attachments1[]= {};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Rook40_F
 			{
 				unlockLevel = 4;
 				cfgname = "hgun_Rook40_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_P07_F
 			{
 				unlockLevel = 8;
 				cfgname = "hgun_P07_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_ACPC2_F
 			{
 				unlockLevel = 12;
 				cfgname = "hgun_ACPC2_F";
 				magazines[]= {"9Rnd_45ACP_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_02_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_02_F";
 				magazines[]= {"6Rnd_45ACP_Cylinder",2};
 				attachments1[]= {{0,""},{2,"optic_Yorris"}};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_01_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_01_F";
 				magazines[]= {"11Rnd_45ACP_Mag",2};
 				attachments1[]= {{0,""},{4,"optic_MRD"}};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 		};
 
 		items1[]={{0,"Binocular",{}},{7,"Rangefinder", {}},{14,"ACE_Vector", {}},{21,"Laserdesignator", {"Laserbatteries",2}}};
 		items2[]={{0,"SmokeShell", 2},{2,"SmokeShellRed", 2},{3,"MCC_ammoBoxMag", 2},{4,"SmokeShellGreen", 2},{6,"SmokeShellBlue", 2},{8,"SmokeShellGreen", 2},{10,"Chemlight_green", 2},{12,"Chemlight_red", 2},{14,"Chemlight_yellow", 2},{16,"B_IR_Grenade", 2}};
 		items3[]={{0,"MiniGrenade", 2},{1,"HandGrenade", 2},{3,"ACE_M84", 2},{5,"rhs_mag_an_m14_th3", 2},{7,"BWA3_DM51A1", 2},{9,"rhs_mag_m7a3_cs", 2},{11,"rhs_mag_mk3a2", 2}};
 		generalItems[]= {{0,"ItemMap",1},{0,"ItemCompass",1},{0,"ItemWatch",1},{0,"ItemRadio",1},{0,"ACE_EarPlugs",1},{0,"ACE_CableTie",2},{0,"ACE_packingBandage",12},{0,"ACE_tourniquet",2},{0,"ACE_EntrenchingTool",1},{0,"ACE_Flashlight_XL50",1}};
 		nightVision[]= {{0,""},{0,"rhsusf_ANPVS_14"},{8,"rhsusf_ANPVS_15"},{16,"ACE_NVG_Gen4"}};
 		headgear[]= {{0,"rhsusf_ach_helmet_M81"},{0,"rhsusf_ach_helmet_ocp"},{3,"rhsusf_ach_helmet_camo_ocp"},{5,"rhsusf_ach_helmet_ucp"},{7,"H_HelmetSpecB_blk"},{9,"H_HelmetSpecB_paint2"},{11,"H_HelmetB_light_black"},{13,"H_HelmetB_light_snakeskin"}};
 		googles[]= {{0,""},{0,"G_Combat"},{4,"G_Tactical_Black"},{8,"G_Balaclava_blk"},{12,"rhs_balaclava1_olive"},{14,"G_Diving"},{16,"G_Bandanna_beast"}};
 		vests[]= {{0,"rhsusf_iotv_ocp_Rifleman"},{0,"rhsusf_iotv_ucp_Rifleman"},{4,"rhsusf_spc_rifleman"},{7,"V_PlateCarrier1_blk"},{9,"BWA3_Vest_Rifleman1_Fleck"},{11,"BWA3_Vest_Rifleman1_Tropen"},{13,"V_PlateCarrier1_rgr"},{15,"V_PlateCarrierGL_rgr"}};
 		backpacks[]= {{0,"rhsusf_assault_eagleaiii_coy"},{0,"rhsusf_assault_eagleaiii_ocp"},{0,"rhsusf_assault_eagleaiii_ucp"},{2,"BWA3_PatrolPack_Fleck"},{4,"B_Kitbag_mcamo"},{6,"B_Carryall_cbr"},{8,"B_AssaultPack_blk"}};
 		uniforms[]= {{0,"T1_U_Squad_Standard_desert"},{2,"T1_U_Squad_Standard"},{3,"rhs_uniform_cu_ocp"},{5,"rhs_uniform_cu_ucp"},{8,"BWA3_Uniform2_idz_Fleck"},{12,"BWA3_Uniform3_idz_Tropen"},{15,"T1_U_Pilot_Black"}};
 		insigna[]= {{0,""},{0,"111thID"},{0,"BI"},{0,"Curator"},{0,"MANW"}};
 	};
 
 	class east
 	{
 		class primary
 		{
 			class rhs_weap_ak74m
 			{
 				unlockLevel = 0;
 				cfgname = "rhs_weap_ak74m";
 				magazines[]= {"rhs_30Rnd_545x39_AK",9,"rhs_30Rnd_545x39_AK_no_tracers",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_dtk4short"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak103
 			{
 				unlockLevel = 7;
 				cfgname = "rhs_weap_ak103";
 				magazines[]= {"rhs_30Rnd_762x39mm",9,"rhs_30Rnd_762x39mm_tracer",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_pbs1"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak104
 			{
 				unlockLevel = 14;
 				cfgname = "rhs_weap_ak104";
 				magazines[]= {"rhs_30Rnd_762x39mm",9,"rhs_30Rnd_762x39mm_tracer",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_pbs1"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak105
 			{
 				unlockLevel = 21;
 				cfgname = "rhs_weap_ak105";
 				magazines[]= {"rhs_30Rnd_545x39_AK",9,"rhs_30Rnd_545x39_AK_no_tracers",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_dtk4short"}};
 				attachments4[]= {};
 			};
 		}
 
 		class secondary
 		{
 
 		};
 
 		class handgun
 		{
 			class none
 			{
 				unlockLevel = 0;
 				cfgname = "";
 				magazines[]= {};
 				attachments1[]= {};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Rook40_F
 			{
 				unlockLevel = 4;
 				cfgname = "hgun_Rook40_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_P07_F
 			{
 				unlockLevel = 8;
 				cfgname = "hgun_P07_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_ACPC2_F
 			{
 				unlockLevel = 12;
 				cfgname = "hgun_ACPC2_F";
 				magazines[]= {"9Rnd_45ACP_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_02_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_02_F";
 				magazines[]= {"6Rnd_45ACP_Cylinder",2};
 				attachments1[]= {{0,""},{2,"optic_Yorris"}};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_01_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_01_F";
 				magazines[]= {"11Rnd_45ACP_Mag",2};
 				attachments1[]= {{0,""},{4,"optic_MRD"}};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 		};
 
 		items1[]={{0,"Binocular",{}},{7,"Rangefinder", {}},{14,"ACE_Vector", {}},{21,"Laserdesignator", {"Laserbatteries",2}}};
 		items2[]={{0,"SmokeShell", 2},{2,"SmokeShellRed", 2},{3,"MCC_ammoBoxMag", 2},{4,"SmokeShellGreen", 2},{6,"SmokeShellBlue", 2},{8,"SmokeShellGreen", 2},{10,"Chemlight_green", 2},{12,"Chemlight_red", 2},{14,"Chemlight_yellow", 2},{16,"B_IR_Grenade", 2}};
 		items3[]={{0,"MiniGrenade", 2},{1,"HandGrenade", 2},{3,"ACE_M84", 2},{5,"rhs_mag_an_m14_th3", 2},{7,"BWA3_DM51A1", 2},{9,"rhs_mag_m7a3_cs", 2},{11,"rhs_mag_mk3a2", 2}};
 		generalItems[]= {{0,"ItemMap",1},{0,"ItemCompass",1},{0,"ItemWatch",1},{0,"ItemRadio",1},{0,"ACE_EarPlugs",1},{0,"ACE_CableTie",2},{0,"ACE_packingBandage",12},{0,"ACE_tourniquet",2}};
 		nightVision[]= {{0,""},{0,"rhsusf_ANPVS_14"},{8,"rhsusf_ANPVS_15"},{16,"ACE_NVG_Gen4"}};
 		headgear[]= {{0,"rhs_6b26_green"},{0,"rhs_6b26"},{3,"rhs_6b27m_t1"},{5,"rhs_6b26_bala_green"},{7,"rhs_6b26_ess_bala"},{9,"rhs_6b27m_green_bala"},{11,"rhs_6b27m_digi_bala"},{13,"rhs_6b27m_ml"}};
 		googles[]= {{0,""},{0,"G_Combat"},{4,"G_Tactical_Black"},{8,"G_Balaclava_blk"},{12,"rhs_balaclava1_olive"},{14,"G_Diving"},{16,"G_Bandanna_beast"}};
 		vests[]= {{0,"rhs_6b23_t1"},{0,"rhs_6b23_digi"},{4,"rhs_6b23_ML"},{7,"rhs_6b13_Flora"},{9,"rhs_6b13_6sh92_vog"},{11,"rhs_6b23_rifleman"},{13,"rhs_6b23_digi_6sh92_radio_t1"},{15,"rhs_6b23_digi_vydra_3m"}};
 		backpacks[]= {{0,"rhs_assault_umbts"},{0,"rhs_assault_umbts_engineer_empty"},{0,"rhs_sidor"}};
 		uniforms[]= {{0,"rhs_uniform_flora_patchless"},{2,"rhs_uniform_flora_patchless_alt"},{3,"rhs_uniform_vdv_emr_des"},{5,"rhs_uniform_emr_patchless"},{8,"rhs_uniform_gorka_r_g"},{12,"rhs_uniform_gorka_r_y"},{15,"rhs_uniform_mvd_izlom"}};
 		insigna[]= {{0,""},{0,"GryffinRegiment"},{0,"BI"},{0,"Curator"},{0,"MANW"}};
 	};
 
 	class guer
 	{
 		class primary
 		{
 			class rhs_weap_ak74m
 			{
 				unlockLevel = 0;
 				cfgname = "rhs_weap_ak74m";
 				magazines[]= {"rhs_30Rnd_545x39_AK",9,"rhs_30Rnd_545x39_AK_no_tracers",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_dtk4short"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak103
 			{
 				unlockLevel = 7;
 				cfgname = "rhs_weap_ak103";
 				magazines[]= {"rhs_30Rnd_762x39mm",9,"rhs_30Rnd_762x39mm_tracer",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_pbs1"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak104
 			{
 				unlockLevel = 14;
 				cfgname = "rhs_weap_ak104";
 				magazines[]= {"rhs_30Rnd_762x39mm",9,"rhs_30Rnd_762x39mm_tracer",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_pbs1"}};
 				attachments4[]= {};
 			};
 
 			class rhs_weap_ak105
 			{
 				unlockLevel = 21;
 				cfgname = "rhs_weap_ak105";
 				magazines[]= {"rhs_30Rnd_545x39_AK",9,"rhs_30Rnd_545x39_AK_no_tracers",2};
 				attachments1[]= {{0,""},{0,"rhs_acc_ekp1"},{3,"rhs_acc_pkas"},{6,"rhs_acc_1p63"},{8,"rhs_acc_1p29"}};
 				attachments2[]= {{0,""},{7,"rhs_acc_2dpZenit"}};
 				attachments3[]= {{0,""},{1,"rhs_acc_dtk"},{3,"rhs_acc_dtk4short"}};
 				attachments4[]= {};
 			};
 		}
 
 		class secondary
 		{
 
 		};
 
 		class handgun
 		{
 			class none
 			{
 				unlockLevel = 0;
 				cfgname = "";
 				magazines[]= {};
 				attachments1[]= {};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Rook40_F
 			{
 				unlockLevel = 4;
 				cfgname = "hgun_Rook40_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_P07_F
 			{
 				unlockLevel = 8;
 				cfgname = "hgun_P07_F";
 				magazines[]= {"16Rnd_9x21_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_L"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_ACPC2_F
 			{
 				unlockLevel = 12;
 				cfgname = "hgun_ACPC2_F";
 				magazines[]= {"9Rnd_45ACP_Mag",2};
 				attachments1[]= {};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_02_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_02_F";
 				magazines[]= {"6Rnd_45ACP_Cylinder",2};
 				attachments1[]= {{0,""},{2,"optic_Yorris"}};
 				attachments2[]= {};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 
 			class hgun_Pistol_heavy_01_F
 			{
 				unlockLevel = 16;
 				cfgname = "hgun_Pistol_heavy_01_F";
 				magazines[]= {"11Rnd_45ACP_Mag",2};
 				attachments1[]= {{0,""},{4,"optic_MRD"}};
 				attachments2[]= {{0,""},{2,"muzzle_snds_acp"}};
 				attachments3[]= {};
 				attachments4[]= {};
 			};
 		};
 
 		items1[]={{0,"Binocular",{}},{7,"Rangefinder", {}},{14,"ACE_Vector", {}},{21,"Laserdesignator", {"Laserbatteries",2}}};
 		items2[]={{0,"SmokeShell", 2},{2,"SmokeShellRed", 2},{3,"MCC_ammoBoxMag", 2},{4,"SmokeShellGreen", 2},{6,"SmokeShellBlue", 2},{8,"SmokeShellGreen", 2},{10,"Chemlight_green", 2},{12,"Chemlight_red", 2},{14,"Chemlight_yellow", 2},{16,"B_IR_Grenade", 2}};
 		items3[]={{0,"MiniGrenade", 2},{1,"HandGrenade", 2},{3,"ACE_M84", 2},{5,"rhs_mag_an_m14_th3", 2},{7,"BWA3_DM51A1", 2},{9,"rhs_mag_m7a3_cs", 2},{11,"rhs_mag_mk3a2", 2}};
 		generalItems[]= {{0,"ItemMap",1},{0,"ItemCompass",1},{0,"ItemWatch",1},{0,"ItemRadio",1},{0,"ACE_EarPlugs",1},{0,"ACE_CableTie",2},{0,"ACE_packingBandage",12},{0,"ACE_tourniquet",2}};
 		nightVision[]= {{0,""},{0,"rhsusf_ANPVS_14"},{8,"rhsusf_ANPVS_15"},{16,"ACE_NVG_Gen4"}};
 		headgear[]= {{0,"rhs_ssh68"},{0,"H_Bandanna_gry"},{3,"H_ShemagOpen_tan"},{5,"rhs_beanie_green"},{7,"H_Beret_blk"},{9,"H_Cap_blk"},{11,"rhs_fieldcap"},{13,"H_ShemagOpen_khk"}};
 		googles[]= {{0,""},{0,"G_Combat"},{4,"G_Tactical_Black"},{8,"G_Balaclava_blk"},{12,"rhs_balaclava1_olive"},{14,"G_Diving"},{16,"G_Bandanna_beast"}};
 		vests[]= {{0,"rhs_6sh46"},{0,"rhs_6sh92"},{4,"rhs_6sh92_digi"},{7,"rhs_6sh92_digi_vog"},{9,"V_Chestrig_oli"},{11,"V_HarnessO_brn"},{13,"rhs_vest_commander"},{15,"V_BandollierB_oli"}};
 		backpacks[]= {{0,"rhs_assault_umbts"},{0,"rhs_assault_umbts_engineer_empty"},{0,"rhs_sidor"}};
 		uniforms[]= {{0,"U_BG_Guerrilla_6_1"},{2,"sub_BG_Guerilla3_1"},{3,"sub_OG_Guerilla3_2"},{5,"sub_OG_leader"},{8,"rhs_chdkz_uniform_2"},{12,"rhs_chdkz_uniform_4"},{15,"rhs_chdkz_uniform_1"}};
 		insigna[]= {{0,""},{0,"TFAegis"},{0,"BI"},{0,"Curator"},{0,"MANW"}};
 	};
 };
Advertisement