Jump to content
Sign in to follow this  
m4rk3tin6

Backpack Re-texture.

Recommended Posts

Hi guys, i'm Braizilian and this my first "addon", i just retexture some units for Brazilian Army Style. But i have some trouble in the backpacks.

I want make a new texture for a backpack call "B_Carryall_oli".

So, let's to the CODE.

	class ESA_mochila : Uniform_Base {
	scope = public;
	displayName = "ESA Mochila";
	picture = ""[b][u]What icon i use for that?[/u][/b]";
	model = ""[b][u]What p3d is the hight model of this backpack?[/u][/b]"";
	class ItemInfo : [b][u]and about that ? [/u][/b]{
		uniformModel = "-";
		uniformClass = "ESA_01";
		containerClass = "Supply40";
		mass = 80;
	};
};

PS: I don't have the paa for retexture that, how i find this?

Thanks.

Share this post


Link to post
Share on other sites

This is the Carryall base class, backpack classes belong inside the CfgVehicles class with your units.

class Bag_Base;
class B_Carryall_Base: Bag_Base
{
	model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
	hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_tortila_khk_co.paa"};
	maximumLoad = 320;
	mass = 60;
};

Share this post


Link to post
Share on other sites

Thx so much surpher. But how i finde the .paa for retexture ?

Share this post


Link to post
Share on other sites

Hi there.

For retexturing you will need 3 tools: TexView2, a PBO unpacker and Photoshop (or similar)

The .PAA-file is a picture format used by ARMA. You can use TexView 2 to convert a TGA>PAA and PAA<TGA

You best get started by unpacking the .PBO-files that came with ARMA in its addon-folder. After unpacking the right PBO, you will find the .PAA files in the respective folder.

Then, you can use photoshop to create a TGA file based on what you found in the .PBO

Of course you'll have to pack the whole thing later on using a PBO packer.

Share this post


Link to post
Share on other sites
Thx so much surpher. But how i finde the .paa for retexture ?

Open up the weapons_f.pbo and follow the path.

hiddenSelectionsTextures[] = {"\A3\weapons_f\ammoboxes\bags\data\backpack_tortila_khk_co.paa"};

Share this post


Link to post
Share on other sites

http://imageshack.com/scaled/large/802/706i.jpg (197 kB)

I have some sucess in do this, but i don't find the .paa of the CarryAll Backpack.

But i'll look for it. But thankls ZiR for u answer.

I know about this pbo, the has this .paa of CarryAll Backpack ?

---------- Post added at 02:30 PM ---------- Previous post was at 02:30 PM ----------

Thx Surpher, thats really help, i'll try this. Thx.

---------- Post added at 02:47 PM ---------- Previous post was at 02:30 PM ----------

I try open this .pbo whit:

PBOManager v.1.4 beta

ArmAUnPBO

and PboView

But, only the pbomanager 1.4 can extrat this arquive, BUT (again) when i try open it whit the TexView2, this error apears.

http://imageshack.com/scaled/large/580/c8sn.jpg (117 kB)

Share this post


Link to post
Share on other sites

this dll go to system32 ?

---------- Post added at 05:42 PM ---------- Previous post was at 05:27 PM ----------

i try everything, and nothing work, the error persist.

Surpher, can u please, up the .paa of the carryall backpack for me ? Please ?

Share this post


Link to post
Share on other sites

I just failed try to this work, i really can't edit the paa when i extract then. the error persist.

Share this post


Link to post
Share on other sites

//__________________________________________

//   Esquadrão Araras - M4rK3Ting

//__________________________________________

#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 private		0
#define protected		1
#define public		2

#define true	1
#define false	0

class CfgPatches {
class Esa_Mod {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta"};
};
};
//_____________________________________________________________________________________________
class cfgFactionClasses {
class Esa_Mod {
	displayName = "BRASIL";
	priority = 2;
	side = 2;
	icon = "\Esa_Mod\Data\esa_icon.paa";
};
};
class cfgVehicleClasses {
class ESA_Comunidade {
	displayName = "Esquadrao Arara";
};
};
//_____________________________________________________________________________________________
class CfgVehicles {
/*extern*/ class I_Soldier_base_F;
/*extern*/ class I_Soldier_lite_F;
/*extern*/ class I_Soldier_AR_F;
/*extern*/ class I_Soldier_GL_F;
/*extern*/ class I_Soldier_TL_F;
/*extern*/ class I_Soldier_SL_F;
/*extern*/ class I_Soldier_AT_F;
/*extern*/ class I_Soldier_AA_F;
/*extern*/ class I_medic_F;
/*extern*/ class I_Soldier_repair_F;
/*extern*/ class I_engineer_F;
/*extern*/ class I_Soldier_exp_F;
/*extern*/ class I_Soldier_M_F;
/*extern*/ class I_Soldier_A_F;
/*extern*/ class I_crew_F;
/*extern*/ class I_helipilot_F;
/*extern*/ class I_helicrew_F;
/*extern*/ class I_officer_F;
/*extern*/ class I_Sniper_F;
/*extern*/ class I_Spotter_F;
/*----------------------------|Infantry|------------------------------------*/
class ESA_Oficial : I_officer_F {
	_generalMacro = "I_officer_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Lider de GC";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class Esa_Lider :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Granadeiro";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203"};
	magazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_01 :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Infante";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila2";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_02 : I_medic_F {
	_generalMacro = "I_medic_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Medico";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "ESA_uniforme";
	backpack = "ESA_mochila2";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_03 : I_Soldier_M_F {
	_generalMacro = "I_Soldier_M_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Suporte";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
/*--------------------------------------------------------------------------------*/
};
//_____________________________________________________________________________________________
class cfgWeapons {
class ItemCore;	// External class reference
class HeadGearItem;	// External class reference
class ItemInfo;	// External class reference
class Vest_Camo_Base;	// External class reference
class VestItem;	// External class reference
class InventoryItem_Base_F;	// External class reference
class UniformItem : InventoryItem_Base_F {};
class Uniform_Base : ItemCore {};
class U_B_CombatUniform_mcam_vest; // External class reference
class U_B_CombatUniform_mcam; // External class reference
class U_B_HeliPilotCoveralls; // External class reference
class U_B_PilotCoveralls; // External class reference
class U_B_Wetsuit; // External class reference
class V_RebreatherB; //External class reference
class Bag_Base; // External class reference

class esa_capacete : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA capacete";
	picture = "\ESA_Mod\data\icon_helmet";
	model = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_capacete.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};
class esa_boina : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA Boina";
	picture = "\ESA_Mod\data\icon_beret.paa";
	model = "\A3\Characters_F\common\headgear_beret01.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_Boina.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\Characters_F\common\headgear_beret01.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};

class Esa_mochila;
class B_Carryall_oli: Esa_mochila
{
	displayname = "ESA Mochila";
	model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   }; 

class ESA_uniforme : Uniform_Base {
	scope = public;
	displayName = "ESA Uniforme";
	picture = "\ESA_Mod\data\icon_uniform.paa";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	class ItemInfo : UniformItem {
		uniformModel = "-";
		uniformClass = "ESA_01";
		containerClass = "Supply40";
		mass = 80;
	};
};

class ESA_colete : Vest_Camo_Base {
	scope = public;
	displayName = "ESA Colete";
	picture = "\ESA_Mod\data\icon_vest_inf.paa";
	model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\esa_colete.paa"};		
	class ItemInfo : VestItem {
		uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
		containerClass = "Supply200";
		mass = 50;
		armor = 5*0.5;
		passThrough = 0.7;
		hiddenSelections[] = {"camo"};
	};
};
};

I have some advance today,but now, in game when i try to preview, i have this error, and the game don't go.

http://imageshack.com/scaled/large/4/x2ij.jpg (110 kB)

Edited by M4rK3Tin6

Share this post


Link to post
Share on other sites

Backpack classes belong inside the CfgVehicles class, you also have your class inheritance mixed up.

class Esa_mochila;
   class B_Carryall_oli: Esa_mochila
   {
       displayname = "ESA Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };

Should be.

class B_Carryall_oli;
   class Esa_mochila: B_Carryall_oli
   {
       displayname = "ESA Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   }; 

Share this post


Link to post
Share on other sites

don't work

Bad vehicle in Esa_mochila persist :(

---------- Post added at 02:19 PM ---------- Previous post was at 01:05 PM ----------

I try separet the addon, i make the cfgvehiclesclasses.hpp and put this code on it. But don't work too :(

---------- Post added at 02:22 PM ---------- Previous post was at 02:19 PM ----------

config.cpp

//__________________________________________

//   Esquadrão Araras - M4rK3Ting

//__________________________________________

#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 private		0
#define protected		1
#define public		2

#define true	1
#define false	0

class CfgPatches {
class Esa_Mod {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta", "A3_Weapons_F_Ammoboxes"};
};
};
//_____________________________________________________________________________________________
class cfgFactionClasses {
class Esa_Mod {
	displayName = "BRASIL";
	priority = 2;
	side = 2;
	icon = "\Esa_Mod\Data\esa_icon.paa";
};
};
class cfgVehicleClasses {
class ESA_Comunidade {
	displayName = "Esquadrao Arara";
};
};

#include "CfgVehicleClasses.hpp"
//_____________________________________________________________________________________________
class CfgVehicles {
/*extern*/ class I_Soldier_base_F;
/*extern*/ class I_Soldier_lite_F;
/*extern*/ class I_Soldier_AR_F;
/*extern*/ class I_Soldier_GL_F;
/*extern*/ class I_Soldier_TL_F;
/*extern*/ class I_Soldier_SL_F;
/*extern*/ class I_Soldier_AT_F;
/*extern*/ class I_Soldier_AA_F;
/*extern*/ class I_medic_F;
/*extern*/ class I_Soldier_repair_F;
/*extern*/ class I_engineer_F;
/*extern*/ class I_Soldier_exp_F;
/*extern*/ class I_Soldier_M_F;
/*extern*/ class I_Soldier_A_F;
/*extern*/ class I_crew_F;
/*extern*/ class I_helipilot_F;
/*extern*/ class I_helicrew_F;
/*extern*/ class I_officer_F;
/*extern*/ class I_Sniper_F;
/*extern*/ class I_Spotter_F;
/*----------------------------|Infantry|------------------------------------*/
class ESA_Oficial : I_officer_F {
	_generalMacro = "I_officer_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Lider de GC";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class Esa_Lider :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Granadeiro";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203"};
	magazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_01 :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Infante";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila2";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_02 : I_medic_F {
	_generalMacro = "I_medic_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Medico";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "ESA_uniforme";
	backpack = "ESA_mochila2";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_03 : I_Soldier_M_F {
	_generalMacro = "I_Soldier_M_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Suporte";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
/*--------------------------------------------------------------------------------*/
};
//_____________________________________________________________________________________________
class cfgWeapons {
class ItemCore;	// External class reference
class HeadGearItem;	// External class reference
class ItemInfo;	// External class reference
class Vest_Camo_Base;	// External class reference
class VestItem;	// External class reference
class InventoryItem_Base_F;	// External class reference
class UniformItem : InventoryItem_Base_F {};
class Uniform_Base : ItemCore {};
class U_B_CombatUniform_mcam_vest; // External class reference
class U_B_CombatUniform_mcam; // External class reference
class U_B_HeliPilotCoveralls; // External class reference
class U_B_PilotCoveralls; // External class reference
class U_B_Wetsuit; // External class reference
class V_RebreatherB; //External class reference

class esa_capacete : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA capacete";
	picture = "\ESA_Mod\data\icon_helmet";
	model = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_capacete.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};

class esa_boina : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA Boina";
	picture = "\ESA_Mod\data\icon_beret.paa";
	model = "\A3\Characters_F\common\headgear_beret01.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_Boina.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\Characters_F\common\headgear_beret01.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};

class ESA_uniforme : Uniform_Base {
	scope = public;
	displayName = "ESA Uniforme";
	picture = "\ESA_Mod\data\icon_uniform.paa";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	class ItemInfo : UniformItem {
		uniformModel = "-";
		uniformClass = "ESA_01";
		containerClass = "Supply40";
		mass = 80;
	};
};

class ESA_colete : Vest_Camo_Base {
	scope = public;
	displayName = "ESA Colete";
	picture = "\ESA_Mod\data\icon_vest_inf.paa";
	model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\esa_colete.paa"};		
	class ItemInfo : VestItem {
		uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
		containerClass = "Supply200";
		mass = 50;
		armor = 5*0.5;
		passThrough = 0.7;
		hiddenSelections[] = {"camo"};
	};
};
};

CfgVehicleClasses.hpp

// Esquadrao Araras - M4rK3Ting

class Bag_Base; // External class reference

class CfgVehicleClasses {

   class B_Carryall_oli;
   class Esa_mochila: B_Carryall_oli {
       displayname = "ESA Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   }; 

   class B_Carryall_khk;
   class Esa_mochila2: B_Carryall_khk {
       displayname = "ESA Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };
};

still the error bad vehicle in the editor.

Share this post


Link to post
Share on other sites

//__________________________________________

//   Esquadrão Araras - M4rK3Ting

//__________________________________________

#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 private		0
#define protected		1
#define public		2

#define true	1
#define false	0

class CfgPatches {
class Esa_Mod {
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta", "A3_Weapons_F_Ammoboxes"};
};
};
//_____________________________________________________________________________________________
class cfgFactionClasses {
class Esa_Mod {
	displayName = "BRASIL";
	priority = 2;
	side = 2;
	icon = "\Esa_Mod\Data\esa_icon.paa";
};
};
class cfgVehicleClasses {
class ESA_Comunidade {
	displayName = "Esquadrao Arara";
};
};

//_____________________________________________________________________________________________
class CfgVehicles {
/*extern*/ class I_Soldier_base_F;
/*extern*/ class I_Soldier_lite_F;
/*extern*/ class I_Soldier_AR_F;
/*extern*/ class I_Soldier_GL_F;
/*extern*/ class I_Soldier_TL_F;
/*extern*/ class I_Soldier_SL_F;
/*extern*/ class I_Soldier_AT_F;
/*extern*/ class I_Soldier_AA_F;
/*extern*/ class I_medic_F;
/*extern*/ class I_Soldier_repair_F;
/*extern*/ class I_engineer_F;
/*extern*/ class I_Soldier_exp_F;
/*extern*/ class I_Soldier_M_F;
/*extern*/ class I_Soldier_A_F;
/*extern*/ class I_crew_F;
/*extern*/ class I_helipilot_F;
/*extern*/ class I_helicrew_F;
/*extern*/ class I_officer_F;
/*extern*/ class I_Sniper_F;
/*extern*/ class I_Spotter_F;
/*----------------------------|Infantry|------------------------------------*/
class ESA_Oficial : I_officer_F {
	_generalMacro = "I_officer_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Lider de GC";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class Esa_Lider :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Granadeiro";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203"};
	magazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
	respawnMagazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
	Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
	respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_01 :  I_Soldier_base_F {
	_generalMacro = " I_Soldier_base_F";
	faction = Esa_Mod;
	vehicleClass = ESA_Comunidade;
	canCarryBackPack = 1;
	canDeactivateMines = true;
	attendant = true;
	engineer = 1;
	scope = public;
	displayName = "Infante";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_02 : I_medic_F {
	_generalMacro = "I_medic_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Medico";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "ESA_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
class ESA_03 : I_Soldier_M_F {
	_generalMacro = "I_Soldier_M_F";
	faction = ESA_Mod;
	vehicleClass = ESA_Comunidade;
	attendant = true;
	canCarryBackPack = 1;
	scope = public;
	displayName = "Suporte";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	nakedUniform = "U_BasicBody";
	uniformAccessories[] = {};
	uniformClass = "esa_uniforme";
	backpack = "ESA_mochila";
	hiddenSelections[] = {"Camo"};
	hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
	weapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	respawnWeapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
	respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
	Items[] = {"FirstAidKit","FirstAidKit"};
	respawnItems[] = {"FirstAidKit","FirstAidKit"};		
	linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
	respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
};
/*--------------------------------------------------------------------------------*/
};
//_____________________________________________________________________________________________
class cfgWeapons {
class ItemCore;	// External class reference
class HeadGearItem;	// External class reference
class ItemInfo;	// External class reference
class Vest_Camo_Base;	// External class reference
class VestItem;	// External class reference
class InventoryItem_Base_F;	// External class reference
class UniformItem : InventoryItem_Base_F {};
class Uniform_Base : ItemCore {};
class U_B_CombatUniform_mcam_vest; // External class reference
class U_B_CombatUniform_mcam; // External class reference
class U_B_HeliPilotCoveralls; // External class reference
class U_B_PilotCoveralls; // External class reference
class U_B_Wetsuit; // External class reference
class V_RebreatherB; //External class reference
class Bag_Base; 

class esa_capacete : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA capacete";
	picture = "\ESA_Mod\data\icon_helmet";
	model = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_capacete.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};

class esa_boina : ItemCore {
	scope = public;
	weaponPoolAvailable = 1;
	displayName = "ESA Boina";
	picture = "\ESA_Mod\data\icon_beret.paa";
	model = "\A3\Characters_F\common\headgear_beret01.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_Boina.paa"};
	class ItemInfo : HeadGearItem {
		mass = 100;
		uniformModel = "\A3\Characters_F\common\headgear_beret01.p3d";
		modelSides[] = {3, 1};
		armor = 3*0.5;
		passThrough = 0.8;
		hiddenSelections[] = {"camo"};
	};
};

class ESA_uniforme : Uniform_Base {
	scope = public;
	displayName = "ESA Uniforme";
	picture = "\ESA_Mod\data\icon_uniform.paa";
	model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	class ItemInfo : UniformItem {
		uniformModel = "-";
		uniformClass = "ESA_01";
		containerClass = "Supply40";
		mass = 80;
	};
};

class ESA_colete : Vest_Camo_Base {
	scope = public;
	displayName = "ESA Colete";
	picture = "\ESA_Mod\data\icon_vest_inf.paa";
	model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
	hiddenSelections[] = {"camo"};
	hiddenSelectionsTextures[] = {"\ESA_Mod\data\esa_colete.paa"};		
	class ItemInfo : VestItem {
		uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
		containerClass = "Supply200";
		mass = 50;
		armor = 5*0.5;
		passThrough = 0.7;
		hiddenSelections[] = {"camo"};
	};
};
    class ESA_Mochila : B_Carryall_oli {
       displayname = "Esa Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };
};

I back to this single .cpp to try configure my addon. But the error persist!

cb4j.jpg

PLEASE, SOMEBODY HELP ME, I GOING CRAZY!

Share this post


Link to post
Share on other sites

You are missing an external reference for the B_Carryall_oli class and your backpack class is still in the wrong place.

Try this.

//__________________________________________

//   Esquadrão Araras - M4rK3Ting

//__________________________________________

#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 private        0
#define protected        1
#define public        2

#define true    1
#define false    0

class CfgPatches {
   class Esa_Mod {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta", "A3_Weapons_F_Ammoboxes"};
   };
};
//_____________________________________________________________________________________________
class cfgFactionClasses {
   class Esa_Mod {
       displayName = "BRASIL";
       priority = 2;
       side = 2;
       icon = "\Esa_Mod\Data\esa_icon.paa";
   };
};
class cfgVehicleClasses {
   class ESA_Comunidade {
       displayName = "Esquadrao Arara";
   };
};

//_____________________________________________________________________________________________
class CfgVehicles {
   /*extern*/ class I_Soldier_base_F;
   /*extern*/ class I_Soldier_lite_F;
   /*extern*/ class I_Soldier_AR_F;
   /*extern*/ class I_Soldier_GL_F;
   /*extern*/ class I_Soldier_TL_F;
   /*extern*/ class I_Soldier_SL_F;
   /*extern*/ class I_Soldier_AT_F;
   /*extern*/ class I_Soldier_AA_F;
   /*extern*/ class I_medic_F;
   /*extern*/ class I_Soldier_repair_F;
   /*extern*/ class I_engineer_F;
   /*extern*/ class I_Soldier_exp_F;
   /*extern*/ class I_Soldier_M_F;
   /*extern*/ class I_Soldier_A_F;
   /*extern*/ class I_crew_F;
   /*extern*/ class I_helipilot_F;
   /*extern*/ class I_helicrew_F;
   /*extern*/ class I_officer_F;
   /*extern*/ class I_Sniper_F;
   /*extern*/ class I_Spotter_F;
/*----------------------------|Infantry|------------------------------------*/
   class ESA_Oficial : I_officer_F {
       _generalMacro = "I_officer_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Lider de GC";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
       respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class Esa_Lider :  I_Soldier_base_F {
       _generalMacro = " I_Soldier_base_F";
       faction = Esa_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Granadeiro";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203"};
       magazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
       respawnMagazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
       respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_01 :  I_Soldier_base_F {
       _generalMacro = " I_Soldier_base_F";
       faction = Esa_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Infante";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_02 : I_medic_F {
       _generalMacro = "I_medic_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       attendant = true;
       canCarryBackPack = 1;
       scope = public;
       displayName = "Medico";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "ESA_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_03 : I_Soldier_M_F {
       _generalMacro = "I_Soldier_M_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       attendant = true;
       canCarryBackPack = 1;
       scope = public;
       displayName = "Suporte";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       respawnWeapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
/*--------------------------------------------------------------------------------*/
class B_Carryall_oli;
class ESA_Mochila : B_Carryall_oli {
       displayname = "Esa Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };
};
//_____________________________________________________________________________________________
class cfgWeapons {
   class ItemCore;    // External class reference
   class HeadGearItem;    // External class reference
   class ItemInfo;    // External class reference
   class Vest_Camo_Base;    // External class reference
   class VestItem;    // External class reference
   class InventoryItem_Base_F;    // External class reference
   class UniformItem : InventoryItem_Base_F {};
   class Uniform_Base : ItemCore {};
   class U_B_CombatUniform_mcam_vest; // External class reference
   class U_B_CombatUniform_mcam; // External class reference
   class U_B_HeliPilotCoveralls; // External class reference
   class U_B_PilotCoveralls; // External class reference
   class U_B_Wetsuit; // External class reference
   class V_RebreatherB; //External class reference
   class Bag_Base; 

   class esa_capacete : ItemCore {
       scope = public;
       weaponPoolAvailable = 1;
       displayName = "ESA capacete";
       picture = "\ESA_Mod\data\icon_helmet";
       model = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_capacete.paa"};
       class ItemInfo : HeadGearItem {
           mass = 100;
           uniformModel = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
           modelSides[] = {3, 1};
           armor = 3*0.5;
           passThrough = 0.8;
           hiddenSelections[] = {"camo"};
       };
   };

   class esa_boina : ItemCore {
       scope = public;
       weaponPoolAvailable = 1;
       displayName = "ESA Boina";
       picture = "\ESA_Mod\data\icon_beret.paa";
       model = "\A3\Characters_F\common\headgear_beret01.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_Boina.paa"};
       class ItemInfo : HeadGearItem {
           mass = 100;
           uniformModel = "\A3\Characters_F\common\headgear_beret01.p3d";
           modelSides[] = {3, 1};
           armor = 3*0.5;
           passThrough = 0.8;
           hiddenSelections[] = {"camo"};
       };
   };

   class ESA_uniforme : Uniform_Base {
       scope = public;
       displayName = "ESA Uniforme";
       picture = "\ESA_Mod\data\icon_uniform.paa";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "ESA_01";
           containerClass = "Supply40";
           mass = 80;
       };
   };

   class ESA_colete : Vest_Camo_Base {
       scope = public;
       displayName = "ESA Colete";
       picture = "\ESA_Mod\data\icon_vest_inf.paa";
       model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\esa_colete.paa"};        
       class ItemInfo : VestItem {
           uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
           containerClass = "Supply200";
           mass = 50;
           armor = 5*0.5;
           passThrough = 0.7;
           hiddenSelections[] = {"camo"};
       };
   };
};  

Share this post


Link to post
Share on other sites

Surpher, really thanks dude. U SAVE MY LIFE!

But i have another isue :/

I have 2 backpack in my addon, and one then works, but another one don't.

//__________________________________________

//   Esquadrão Araras - M4rK3Ting

//__________________________________________

#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 private        0
#define protected        1
#define public        2

#define true    1
#define false    0

class CfgPatches {
   class Esa_Mod {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Characters_F_BLUFOR", "A3_Characters_F_Beta", "A3_Weapons_F_Ammoboxes"};
   };
};
//_____________________________________________________________________________________________
class cfgFactionClasses {
   class Esa_Mod {
       displayName = "BRASIL";
       priority = 2;
       side = 2;
       icon = "\Esa_Mod\Data\esa_icon.paa";
   };
};
class cfgVehicleClasses {
   class ESA_Comunidade {
       displayName = "Esquadrao Arara";
   };
};

//_____________________________________________________________________________________________
class CfgVehicles {
   /*extern*/ class I_Soldier_base_F;
   /*extern*/ class I_Soldier_lite_F;
   /*extern*/ class I_Soldier_AR_F;
   /*extern*/ class I_Soldier_GL_F;
   /*extern*/ class I_Soldier_TL_F;
   /*extern*/ class I_Soldier_SL_F;
   /*extern*/ class I_Soldier_AT_F;
   /*extern*/ class I_Soldier_AA_F;
   /*extern*/ class I_medic_F;
   /*extern*/ class I_Soldier_repair_F;
   /*extern*/ class I_engineer_F;
   /*extern*/ class I_Soldier_exp_F;
   /*extern*/ class I_Soldier_M_F;
   /*extern*/ class I_Soldier_A_F;
   /*extern*/ class I_crew_F;
   /*extern*/ class I_helipilot_F;
   /*extern*/ class I_helicrew_F;
   /*extern*/ class I_officer_F;
   /*extern*/ class I_Sniper_F;
   /*extern*/ class I_Spotter_F;
/*----------------------------|Infantry|------------------------------------*/
   class ESA_Oficial : I_officer_F {
       _generalMacro = "I_officer_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Lider de GC";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
       respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_boina", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class Esa_Lider :  I_Soldier_base_F {
       _generalMacro = " I_Soldier_base_F";
       faction = Esa_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Granadeiro";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203"};
       magazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       respawnWeapons[] = {"Binocular", "Throw", "Put","arifle_mas_g3_m203_a"};
       respawnMagazines[] = {"HandGrenade","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","1Rnd_HE_Grenade_shell","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag"};
       Items[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};
       respawnItems[] = {"FirstAidKit","FirstAidKit","ACRE_PRC148_UHF"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_01 :  I_Soldier_base_F {
       _generalMacro = " I_Soldier_base_F";
       faction = Esa_Mod;
       vehicleClass = ESA_Comunidade;
       canCarryBackPack = 1;
       canDeactivateMines = true;
       attendant = true;
       engineer = 1;
       scope = public;
       displayName = "Infante";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","DemoCharge_Remote_Mag"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_02 : I_medic_F {
       _generalMacro = "I_medic_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       attendant = true;
       canCarryBackPack = 1;
       scope = public;
       displayName = "Medico";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "ESA_uniforme_medico";
       backpack = "ESA_mochila_M";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme_medico.paa"};
       weapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       respawnWeapons[] = {"Throw", "Put","arifle_mas_g3_h"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","20Rnd_mas_762x51_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
   class ESA_03 : I_Soldier_M_F {
       _generalMacro = "I_Soldier_M_F";
       faction = ESA_Mod;
       vehicleClass = ESA_Comunidade;
       attendant = true;
       canCarryBackPack = 1;
       scope = public;
       displayName = "Suporte";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
       nakedUniform = "U_BasicBody";
       uniformAccessories[] = {};
       uniformClass = "esa_uniforme";
       backpack = "ESA_mochila";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"\Esa_Mod\data\esa_uniforme.paa"};
       weapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
       magazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       respawnWeapons[] = {"Throw", "Put","LMG_mas_M249a_F_a"};
       respawnMagazines[] = {"HandGrenade","HandGrenade","SmokeShellGreen","SmokeShellRed","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","200Rnd_mas_556x45_T_Stanag","SmokeShellGreen","SmokeShellRed","SmokeShell","SmokeShell"};
       Items[] = {"FirstAidKit","FirstAidKit"};
       respawnItems[] = {"FirstAidKit","FirstAidKit"};        
       linkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
       respawnLinkedItems[] = {"esa_colete","esa_uniforme", "esa_capacete", "ItemMap","ItemGPS", "ItemCompass", "ItemWatch", "ItemRadio"};
   };
/*--------------------------------------------------------------------------------*/
   class B_Carryall_oli;
   class ESA_Mochila : B_Carryall_oli {
       displayname = "Esa Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };

class B_Carryall_oli;
   class ESA_Mochila_M : B_Carryall_oli {
       displayname = "Esa Mochila Medica";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila_medico.paa"};
};
//_____________________________________________________________________________________________
class cfgWeapons {
   class ItemCore;    // External class reference
   class HeadGearItem;    // External class reference
   class ItemInfo;    // External class reference
   class Vest_Camo_Base;    // External class reference
   class VestItem;    // External class reference
   class InventoryItem_Base_F;    // External class reference
   class UniformItem : InventoryItem_Base_F {};
   class Uniform_Base : ItemCore {};
   class U_B_CombatUniform_mcam_vest; // External class reference
   class U_B_CombatUniform_mcam; // External class reference
   class U_B_HeliPilotCoveralls; // External class reference
   class U_B_PilotCoveralls; // External class reference
   class U_B_Wetsuit; // External class reference
   class V_RebreatherB; //External class reference
   class Bag_Base; 

   class esa_capacete : ItemCore {
       scope = public;
       weaponPoolAvailable = 1;
       displayName = "ESA capacete";
       picture = "\ESA_Mod\data\icon_helmet";
       model = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_capacete.paa"};
       class ItemInfo : HeadGearItem {
           mass = 100;
           uniformModel = "\A3\characters_f_beta\INDEP\headgear_helmet_canvas.p3d";
           modelSides[] = {3, 1};
           armor = 3*0.5;
           passThrough = 0.8;
           hiddenSelections[] = {"camo"};
       };
   };

   class esa_boina : ItemCore {
       scope = public;
       weaponPoolAvailable = 1;
       displayName = "ESA Boina";
       picture = "\ESA_Mod\data\icon_beret.paa";
       model = "\A3\Characters_F\common\headgear_beret01.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_Boina.paa"};
       class ItemInfo : HeadGearItem {
           mass = 100;
           uniformModel = "\A3\Characters_F\common\headgear_beret01.p3d";
           modelSides[] = {3, 1};
           armor = 3*0.5;
           passThrough = 0.8;
           hiddenSelections[] = {"camo"};
       };
   };

   class ESA_uniforme : Uniform_Base {
       scope = public;
       displayName = "ESA Uniforme";
       picture = "\ESA_Mod\data\icon_uniform.paa";
       model = "\A3\Characters_F_Beta\INDEP\ia_soldier_01.p3d";
	hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_uniforme.paa"};
       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "ESA_01";
           containerClass = "Supply40";
           mass = 80;
       };
   };

   class ESA_colete : Vest_Camo_Base {
       scope = public;
       displayName = "ESA Colete";
       picture = "\ESA_Mod\data\icon_vest_inf.paa";
       model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\esa_colete.paa"};        
       class ItemInfo : VestItem {
           uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
           containerClass = "Supply200";
           mass = 50;
           armor = 5*0.5;
           passThrough = 0.7;
           hiddenSelections[] = {"camo"};
       };
   };
};  

I don't know, where is the problem here :(

---------- Post added at 08:48 PM ---------- Previous post was at 08:42 PM ----------

qcmk.jpg

This error now, when i try put another backpack in config.cpp

Share this post


Link to post
Share on other sites

You are missing }; from the end of your second backpack class, you can also remove class B_Carryall_oli; from above the second backpack class.

Should be like this.

/*--------------------------------------------------------------------------------*/
   class B_Carryall_oli;
   class ESA_Mochila : B_Carryall_oli {
       displayname = "Esa Mochila";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila.paa"};
   };

   class ESA_Mochila_M : B_Carryall_oli {
       displayname = "Esa Mochila Medica";
       model = "\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila";
       picture = "\ESA_Mod\data\ESA_icone_mochila.paa";
       hiddenSelections[] = {"camo"};
       hiddenSelectionsTextures[] = {"\ESA_Mod\data\ESA_mochila_medico.paa"};
};
};

Share this post


Link to post
Share on other sites

Really Thanks Surpher u are my hero dude.

A lot of people in this forum, and only u help me about this simple questions. Really Thx!

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  

×