//  
//  
//  

// Basic defines
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

// type scope
#define private 0
#define protected 1
#define public 2

#define WeaponNoSlot		0	// dummy weapons
#define WeaponSlotPrimary	1	// primary weapons
#define WeaponSlotSecondary	16	// secondary weapons
#define WeaponSlotHandGun	2	// HandGun
#define WeaponSlotHandGunItem	32 // HandGun magazines
#define WeaponSlotItem		256	// items
#define WeaponSlotBinocular	4096	// binocular
#define WeaponHardMounted	65536


class CfgPatches
{
	class IvoBRS
	{
		units[] = { "IVOBREB1"};
		weapons[] = {};

		requiredAddons[]=
		{
			"BIS_Resistance"
		};

		requiredVersion = 1.96;		
	};
};

class CfgModels
{
	class Default {};
	class Head: Default {};
	class Man: Default {};
	class IvoBREB: Man {
		sections[] =
		{
			"head injury",
			"body injury",
			"osobnost",
			"l arm injury",
			"r arm injury",
			"p arm injury",
			"l leg injury",
			"r leg injury",
			"p leg injury",
			"medic",
			"hlava",
			"krk",
			"zadni svetlo",
			"zasleh",
			"facenull",
			"gooAX",
			"google",
			"goo",
			"mic",
			"holster",
			"beret",
			"Viseira"
		};
		sectionsInherit=Head;
	};
	class SOLDADOAEROMOVEL: IvoBREB {};
};


////////////////////////////////////////////////////////
// cfgVehicles
////////////////////////////////////////////////////////

class CfgVehicles
{
	class All{};
	class AllVehicles:All{};
	class Land:AllVehicles{};
	class Man:Land{};
	class Soldier:Man{};
	class SoldierWB:Soldier{};

	class IvoBREB1: SoldierWB
	{
		model="\IvoBRS\IvoBREB.P3D";
		displayName="Leader";
		moves="CfgMovesMC";
		vehicleClass ="Brazilian Army";
		extCameraPosition[]={0.25,-0.1,-1.4};
		side=1;
		
		hiddenSelections[]=
		{
			"medic"
		};

		
		weapons[]={"BRFAL","Binocular","NVGoggles","Throw","Put"};
		magazines[]={"JAM_W762_20mag", "JAM_W762_20mag", "JAM_W762_20mag", "JAM_W762_20mag", "JAM_W762_20mag", "JAM_W762_20mag","JAM_W762_20mag", "Handgrenade", "Handgrenade", "Handgrenade"};
		
		wounds[]=
		{
			// Target Textures
			// Tropas Brasileiras - troca de Textura
			"\BRINF\wl\legr.paa","\BRINF\wl\LergD.paa",
			"\BRINF\wl\legl.paa","\BRINF\wl\LergD.paa",
			"\BRINF\wl\bad.paa","\BRINF\wl\badD.paa",
			"\BRINF\wl\bag.paa","\BRINF\wl\bagD.paa",
			"\BRINF\wl\baf.paa","\BRINF\wl\bafD.paa",
			"\BRINF\wl\bab1.paa","\BRINF\wl\bab1D.paa",
			"\BRINF\wl\ba_bk.paa","\BRINF\wl\ba_bkd.paa",
			"\BRINF\wl\bin.paa","\BRINF\wl\binD.paa",
			"\BRINF\wl\rba_bk.paa","\BRINF\wl\ba_bkd.paa",
			"\BRINF\wl\rba_frt.paa","\BRINF\wl\ba_frtD.paa",
			"\BRINF\wl\arml1.paa","\BRINF\wl\ArmlD.paa",
			"\BRINF\wl\bafUN.paa","\BRINF\wl\bafUND.paa",
			"\BRINF\wl\bab1UN.paa","\BRINF\wl\bab1UND.paa",
			"\BRINF\wl\bafEB.paa","\BRINF\wl\bafEBD.paa",
			"\BRINF\wl\bab1EB.paa","\BRINF\wl\bab1EBD.paa",
			"\BRINF\wl\bodyf.paa","\BRINF\wl\bodyfD.paa",
			"\BRINF\wl\bodyb.paa","\BRINF\wl\bodybD.paa",



 			
		};

		class EventHandlers
		{
		init = "_this exec ""\facestex2\c_ca_faces.sqs""";              
		};
	};