Forum Jump :

Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation:
Age: 20
In-game name:

 
#31 Posted at 2016-04-25 10:25        
     
Probably a dumb question but where do I go to find the pictures that will appear next to the items like for instance,

picture = "\A3\characters_f_epa\data\ui\icon_U_B_CTRG_uniform_ca.paa"; //Menu Picture

I'm trying to adjust it to make sure all the pictures are correct. Also just so you know this is my first ever attempt at ever coding in general so if it's something crazy simple don't bash my coding skills too hard :-D

Added 57 minutes later:

And for some reason I cant change either the drop down menu's name nor position, once again probably just something I'm missing.

Added 25 seconds later:

*In the editor just to clarify

Added 6 minutes later:


This post was edited by DaBootGremlin (2016-04-25 11:41, 542 days ago)


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#32 Posted at 2016-04-25 12:00        
     
The eden editor uses cfgeditorsubcatergories instead of cfgvehicleclasses.

cfgfactionclasses is still in use.

The picture which shows next to the names is done through the DLC attribute. which is defined within cfgMods.

e.g
class CfgMods
{
	class ASF_Mod
	{
		name = "Australian Special Forces Mod";
		author = "BroBeans";
		picture = "ASF\ASF_Core\logo.paa";
		logo = "ASF\ASF_Core\logo.paa";
		logoOver = "ASF\ASF_Core\logoglow.paa";
		logoSmall = "ASF\ASF_Core\logo.paa";
		tooltip = "Australian Special Forces"; 
		tooltipOwned = "Australian Special Forces"; 
		action = "http://armaholic.com";
		actionName = "Website"; 
		overview = "Australian Special Forces mod created by BroBeans"; 
		overviewPicture = "ASF\ASF_Core\logo.paa";
		overviewText = "Australian Special Forces"; 
		hideName = 0;
		hidePicture = 0;
	};
};
and the attribute is "DLC"
class ASF_Placeholder_unit: B_Soldier_base_F
	{
		scope = 2;
		author = "BroBeans";
		dlc = "ASF_Mod"; //This is your cfgMods reference
		uniformclass = "ASF_AMCU_1";
		nakeduniform = "ASF_Basic_Body";
		editorsubcatgory="ASF_Ex_Units";
		faction = "ASF_Faction";
		displayname = "Placeholder";
	};


Advertisement


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation:
Age: 20
In-game name:

 
#33 Posted at 2016-04-25 12:06        
     
Oh what I meant was I can't figure out how to have the drop down menus be named, like how NATO's is.

To be honest at this point everything I'm doing now is just to learn how to add units to the gmame so I can use them in zeus on the fly


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#34 Posted at 2016-04-25 12:11        
     
class CfgFactionClasses
{
	class ASF_Faction
	{
		displayname = "ASF"; //Shows in menu
		icon = "ASF\ASF_Core\logo.paa"; //Logo in menu
		priority = 10; 
		side = 1; //
	};
};

class CfgEditorSubcatergories
{
	class ASF_Ex_Units
	{
		displayName = "Example Units"; //Shows in menu
	};
};


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation:
Age: 20
In-game name:

 
#35 Posted at 2016-04-25 12:20        
     
It works! Thanks man now how do I go about adding in more than one unit into the file?


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#36 Posted at 2016-04-25 12:29        
     
like this?
class CfgFactionClasses
{
    class ASF_Faction
    {
        displayname = "ASF"; //Shows in menu
        icon = "ASF\ASF_Core\logo.paa"; //Logo in menu
        priority = 10; 
        side = 1; //
    };
};
 
class CfgEditorSubcatergories
{
    class ASF_Ex_Units
    {
        displayName = "Example Units"; //Shows in menu
    };
    class ASF_Ex_Units_1
    {
        displayName = "Example Units 2";
    };
};


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation:
Age: 20
In-game name:

 
#37 Posted at 2016-04-25 12:38        
     
Well that actually helps haha :-D. now that I'm thinking about it I'm sure it's going to be simple but I have no idea how to do it, I mean multiple units in the pack so have a marksman and the other be a rifleman or something. Also where do I find the pictures for the vanilla arma items like the uniforms and plate carriers. I figured out how to load up all of the stuff but the uniforms are showing up without a picture or name.


This post was edited by DaBootGremlin (2016-04-25 12:45, 542 days ago)


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#38 Posted at 2016-04-25 12:57        
     
you just create 2 entries like so.
class ASF_AMCU_Body_Base: B_Soldier_base_F //unit 1
	{
		scope=1;
		author="BroBeans";
		dlc="ASF_MOD";
		nakedUniform="ASF_Basic_Body";
		displayName="ASF Base Unit";
		uniformClass="ASF_AMCU_Uniform_Base";
		editorsubcategory="ASF_Ex_Units";
		hiddenSelectionsTextures[]=
		{
			"\ASF\ASF_Uniforms\crye\data\ASF_AMCU.paa",
			""
		};
		hiddenSelections[]=
		{
			"Camo",
			"Insignia"
		};
	};
	class ASF_AMCU_Body_Base_C: I_Soldier_base_F //unit 2
	{
		scope=1;
		author="BroBeans";
		dlc="ASF_MOD";
		nakedUniform="ASF_Basic_Body";
		displayName="ASF Base Unit";
		uniformClass="ASF_AMCU_Uniform_Base";
		editorsubcategory="ASF_Ex_Units";
		hiddenSelectionsTextures[]=
		{
			"\ASF\ASF_Uniforms\cargos\data\ASF_AMCU_C.paa",
			""
		};
		hiddenSelections[]=
		{
			"Camo",
			"Insignia"
		};
	};

as for finding pictures and paths just use the in-game config viewer. and all attributes are inherited from the reference class unless you specify them in the new entry.


Author Message


Posts: 5
Rank:


Level: Member

Country: us
Location: North Carolina
Occupation:
Age: 20
In-game name:

 
#39 Posted at 2016-04-26 00:17        
     
Hey man I'm back with another question, now when I load up a unit nothing is spawning in the backpack. This is the code I'm using, it spawns the bag fine but nothing in it. I also can move items into the bag once I am in game. And now the vest isn't working either.

class Opfor_Bpck1: B_AssaultPack_sgg
    {
        displayname = "Assault Pack (Sage)"; //In-Game Name
        scope = 2;
 
        class TransportItems
         {
			 
            class _xx_SmokeShell //Item Classname
            {
                name = "Smoke Grenade (White)";
                count = 4; //amount
            };
			
            class _xx_HandGrenade //Item Classname
            {
                name = "RGO Grenade";
                count = 2; //amount
            };
			
			class _xx_30Rnd_65x39_caseless_mag
			{
				name = "6.5mm 30Rnd STANAG Mag";
				count = 4;
			};
			
			class _xx_FirstAidKit
			{
				name = "First Aid Kit";
				count = 2;
				
			};
         };
		 
    };
	class Opfor_Vst1: Vest_V_BandollierB_khk
    {
        displayName = "Slash Bandolier (Khaki)"; //In-Game name
		scope = 2;

        class ItemInfo
        {
            containerClass = "Supply160"; //Carry Amount
            mass = 50; // Weight
            armor = "5*1.4";
            passThrough = 0.4;

        };
    };

This post was edited by DaBootGremlin (2016-04-26 00:39, 541 days ago)


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#40 Posted at 2016-04-26 04:11        
     
class Opfor_Bpck1: B_AssaultPack_sgg
    {
        displayname = "Assault Pack (Sage)"; //In-Game Name
        scope = 2;
 
        class TransportItems
         {
             
            class _xx_SmokeShell //Class
            {
                name = "SmokeShell"; //Item Classname
                count = 4; //amount
            };
            
            class _xx_HandGrenade //Class
            {
                name = "HandGrenade"; //Item Classname
                count = 2; //amount
            };
            
            class _xx_30Rnd_65x39_caseless_mag //Class
            {
                name = "30Rnd_65x39_caseless_mag"; //Item Classname
                count = 4;
            };
            
            class _xx_FirstAidKit //Class
            {
                name = "FirstAidKit"; //Item Class name
                count = 2;
                
            };
         };
         
    };

Class can be anything you want.
Class Name is the class name of the object you want to add.


As for the vest make sure its within cfgweapons not vehicle :)


Author Message


Posts: 10
Rank:


Level: Member

Country: tn
Location:
Occupation:
Age: 24
In-game name:

 
#41 Posted at 2016-06-16 14:07        
     
Hello i'm creating new Blufor faction ( Tunisian Army ) and Creating the Infantry Unit and when i try to pack it with addon builder it give me errors in the config so if you could fix the config i would be very thankful and if the problem with weapons if possible make with game original weapons
class CfgPatches
{
	class Tunisian_Infantry
	{
	    units[] = {};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Characters_F"};
		version="1.0";
	};
};
class cfgFactionClasses
{
	class Tunisian_Army
	{
		displayName="Tunisian Army";
		icon="Infantry\1stregiment.paa";
		priority=2;
		side=1;
	};
};
class CfgVehicleClasses
{
	class Tunisian_Infantry
	{
		displayName="1st Infantry Reg";
		priority=1;
	};
};
class CfgVehicles
{
	class B_Soldier_base_F;
	class B_Soldier_F;
	class B_Kitbag_Base;
	class NATO_Box_Base;
	class B_Competitor_F;
	class B_Carryall_oli;
	class B_TacticalPack_rgr;
	class B_soldier_exp_F;
	class B_soldier_repair_F;
	class B_AssaultPack_cbr;
	class B_Carryall_oucamo;
	class B_soldier_AR_F;
	class B_Soldier_SL_F;
	class B_Soldier_TL_F;
	class B_Soldier_GL_F;
	class B_medic_F;
	class Rifleman: B_Soldier_base_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="Rifleman";
		scope=2;
		displayName="Rifleman";
		weapons[]=
		{
			"arifle_mas_m4",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_01.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"infantry\Data\Uniform_green.paa"
		};
	};
	class Medic: B_medic_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="Medic";
		scope=2;
		displayName="Medic";
		weapons[]=
		{
			"arifle_mas_m4",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_03.p3d";
		uniformClass="Uniform_Green_Rolled";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	
	class Repair: B_soldier_repair_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="Repair";
		scope=2;
		displayName="Repair Specialist";
		weapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_03.p3d";
		uniformClass="Uniform_Green_Rolled";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class SquadLeader: B_Soldier_SL_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="SquadLeader";
		scope=2;
		displayName="Squad Leader";
		weapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_01.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class TeamLeader: B_Soldier_TL_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="Drifter";
		_generalMacro="TeamLeader";
		scope=2;
		displayName="Team Leader";
		weapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_01.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class AutoRifleman: B_soldier_AR_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="AutoRifleman";
		scope=2;
		displayName="Automatic Rifleman";
		weapons[]=
		{
			"LMG_mas_M249_F_h",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"LMG_mas_M249_F_h",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"200Rnd_mas_556x45_T_Stanag",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_03.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class Machinegunner: B_soldier_AR_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="Machinegunner";
		scope=2;
		displayName="Machinegunner";
		weapons[]=
		{
			"LMG_mas_Mk48_F_h",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"LMG_mas_Mk48_F_h",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"150Rnd_762x51_Box_Tracer",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_03.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class Grenadier: B_Soldier_GL_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="";
		_generalMacro="Grenadier";
		scope=2;
		displayName="Grenadier";
		weapons[]=
		{
			"arifle_mas_m4_m203_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4_m203_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_HE_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_Smoke_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"1Rnd_SmokeRed_Grenade_shell",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP_2",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP_2",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_01.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	class RTO: B_Soldier_base_F
	{
		side=1;
		faction="Tunisian Army";
		backpack="OCP_Backpack";
		vehicleclass="Tunisian_Infantry";
		author="r";
		_generalMacro="RTO";
		scope=2;
		displayName="Radio Telephone Operator";
		weapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		respawnWeapons[]=
		{
			"arifle_mas_m4_t",
			"hgun_Pistol_heavy_01_MRD_F",
			"Throw",
			"Put"
		};
		magazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		respawnMagazines[]=
		{
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"30Rnd_mas_556x45_Stanag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"11Rnd_45ACP_Mag",
			"HandGrenade",
			"HandGrenade",
			"SmokeShell"
		};
		cost=300000;
		threat[]={1,0.69999999,0.30000001};
		linkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP_2",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		respawnLinkedItems[]=
		{
			"Vest_OCP",
			"Helmet_OCP_2",
			"ItemMap",
			"ItemCompass",
			"ItemWatch",
			"ItemRadio",
			"NVGoggles"
		};
		model="\A3\Characters_F\BLUFOR\b_soldier_01.p3d";
		uniformClass="Uniform_Green";
		camouflage=1.6;
		hiddenSelections[]=
		{
			"camo"
		};
		HiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
	};
	
	};
	class Infantry_Backpack: B_Kitbag_Base
	{
		scope=1;
		displayName="{"" KitBag""";
		picture="-";
		icon="-";
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Fast.p3d";
		maximumLoad=860;
		mass=40;
		class TransportMagazines
		{
		};
		class TransportWeapons
		{
		};
		isbackpack=1;
		reversed=1;
		mapSize=2;
		vehicleClass="Backpacks";
		allowedSlots[]={1901};
		transportMaxWeapons=0;
		transportMaxMagazines=12;
		class DestructionEffects
		{
		};
	};
	class Backpack: B_Kitbag_Base
	{
		scope=2;
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Fast.p3d";
		displayName=" KitBag";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\data\Backpacks\backpack_OCP.paa"
		};
	};
	class Infantry_Backpack_Carry: B_Carryall_oucamo
	{
		scope=1;
		displayName="{"" Carryall""";
		picture="-";
		icon="-";
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila.p3d";
		maximumLoad=860;
		mass=40;
		class TransportMagazines
		{
		};
		class TransportWeapons
		{
		};
		isbackpack=1;
		reversed=1;
		mapSize=2;
		vehicleClass="Backpacks";
		allowedSlots[]={1901};
		transportMaxWeapons=0;
		transportMaxMagazines=12;
		class DestructionEffects
		{
		};
	};
	class Carryall: B_Carryall_oucamo
	{
		scope=2;
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Tortila.p3d";
		displayName=" Carryall";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\data\Backpacks\backpack_OCP_Carry.paa"
		};
	};
	class Infantry_Backpack_Compact: B_AssaultPack_cbr
	{
		scope=1;
		displayName="{"" Assault Pack""";
		picture="-";
		icon="-";
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Compact.p3d";
		maximumLoad=860;
		mass=40;
		class TransportMagazines
		{
		};
		class TransportWeapons
		{
		};
		isbackpack=1;
		reversed=1;
		mapSize=2;
		vehicleClass="Backpacks";
		allowedSlots[]={1901};
		transportMaxWeapons=0;
		transportMaxMagazines=12;
		class DestructionEffects
		{
		};
	};
	class Compact: B_AssaultPack_cbr
	{
		scope=2;
		model="\A3\weapons_f\Ammoboxes\bags\Backpack_Compact.p3d";
		displayName=" Assault Pack";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\data\Backpacks\backpack_OCP_Compact.paa"
		};
	};
};
class cfgWeapons
{
	class Uniform_Base;
	class UniformItem;
	class U_B_CombatUniform_mcam_vest;
	class Uniform_OCP: Uniform_Base
	{
		scope=2;
		displayName=" Uniform";
		picture="\A3\characters_f_epa\data\ui\icon_U_B_CTRG_uniform_ca.paa";
		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
		hiddenSelections[]=
		{
			"Camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Uniform_Green.paa"
		};
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="Rifleman_Green";
			containerClass="Supply40";
			mass=30;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class Uniform_Green_Rolled: U_B_CombatUniform_mcam_vest
	{
		scope=2;
		displayName=" Uniform Rolled Sleeve";
		picture="\A3\characters_f_epa\data\ui\icon_U_B_CTRG_uniform_ca.paa";
		model="\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
		hiddenSelections[]=
		{
			"Camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Rangers\OCP\Data\Uniform_Green.paa"
		};
		class ItemInfo: UniformItem
		{
			uniformModel="-";
			uniformClass="Medic";
			containerClass="Supply40";
			mass=30;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	
	class V_PlateCarrier1_rgr;
	class ItemInfo;
	class V_PlateCarrierSpec_rgr;
	class V_PlateCarrier2_rgr;
	class V_PlateCarrierIA1_dgtl;
	class V_PlateCarrierIA2_dgtl;
	class Vest: V_PlateCarrier1_rgr
	{
		picture="\A3\Characters_F_EPA\Data\ui\Icon_V_plate_carrier_snake_ca.paa";
		displayName=" Vest";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Vest_OCP.paa"
		};
		class ItemInfo: ItemInfo
		{
			uniformModel="\A3\Characters_F\BLUFOR\equip_b_vest01";
			containerClass="Supply160";
			mass=50;
			armor=40;
			passThrough=0.80000001;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class Vest2: V_PlateCarrierSpec_rgr
	{
		picture="\A3\Characters_F_EPA\Data\ui\Icon_V_plate_carrier_snake_ca.paa";
		displayName=" Vest 2";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Vest_OCP.paa"
		};
		class ItemInfo: ItemInfo
		{
			uniformModel="\A3\Characters_F\BLUFOR\equip_b_vest02";
			containerClass="Supply160";
			mass=50;
			armor=40;
			passThrough=0.80000001;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class ItemCore;
	class HeadgearItem;
	class H_HelmetIA;
	class H_HelmetB_light;
	class H_HelmetB_plain_blk;
	class Helmet: ItemCore
	{
		scope=2;
		weaponPoolAvailable=1;
		displayName=" ECH Helmet";
		picture="\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
		model="\A3\Characters_F_EPA\BLUFOR\headgear_b_helmet_kerry";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Helmet_OCP.paa"
		};
		class ItemInfo: HeadgearItem
		{
			mass=40;
			uniformModel="\A3\Characters_F_EPA\BLUFOR\headgear_b_helmet_kerry";
			modelSides[]={3,1,2};
			armor=20;
			passThrough=0.60000002;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class Helmet_3: H_HelmetB_light
	{
		scope=2;
		weaponPoolAvailable=1;
		displayName="[OCP] Helmet Light";
		picture="\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
		model="\A3\Characters_F_EPA\BLUFOR\headgear_b_helmet_kerry";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Helmet_OCP.paa"
		};
		class ItemInfo: HeadgearItem
		{
			mass=40;
			uniformModel="\A3\Characters_F\BLUFOR\headgear_b_helmet_light.p3d";
			modelSides[]={3,1,2};
			armor=20;
			passThrough=0.60000002;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class Helmet_4: H_HelmetB_plain_blk
	{
		scope=2;
		weaponPoolAvailable=1;
		displayName="[OCP] Helmet Plain";
		picture="\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
		model="\A3\Characters_F_EPA\BLUFOR\headgear_b_helmet_kerry";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Helmet_OCP.paa"
		};
		class ItemInfo: HeadgearItem
		{
			mass=40;
			uniformModel="\A3\Characters_F\BLUFOR\headgear_b_helmet_plain.p3d";
			modelSides[]={3,1,2};
			armor=20;
			passThrough=0.60000002;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
	class Helmet_2: H_HelmetIA
	{
		scope=2;
		weaponPoolAvailable=1;
		displayName="[OCP] MICH Helmet";
		picture="\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";
		model="\a3\characters_f_beta\indep\headgear_helmet_canvas";
		hiddenSelections[]=
		{
			"camo"
		};
		hiddenSelectionsTextures[]=
		{
			"Infantry\Data\Helmet_OCP_2.paa"
		};
		class ItemInfo: HeadgearItem
		{
			mass=40;
			uniformModel="\a3\characters_f_beta\indep\headgear_helmet_canvas";
			modelSides[]={3,1,2};
			armor=20;
			passThrough=0.60000002;
			hiddenSelections[]=
			{
				"camo"
			};
		};
	};
};


Author Message


Posts: 122
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#42 Posted at 2016-07-10 18:31        
     
A small edit to put it in a spiler block would be the least that you can do. Give us errors raised by the parser and only the relevant part of the config would be even better...

Anyway, I'm encountering a problem with a particular part of the config for designing a faction : the weapons. I want to give my units different weapons with various accessories, so I'm doing it like this :
class KICC_AUG_STD : hlc_rifle_auga3_b
{
	scope = 1;
	class LinkedItems
	{
		class LinkedItemsOptic
		{
			slot = "CowsSlot";
			item = "FHQ_optic_AC12136";
		};
		class LinkedItemsAcc {
			slot = "PointerSlot";
			item = "FHQ_acc_LLM01F";
		};
		class LinkedItemsUnder {
			slot = "UnderBarrelSlot";
			item = "bipod_02_F_blk";
		};
	};
};
What we need to know here is that the base class is a modded weapon (from NiArsenal by Toaddie), and the optic and pointer are also modded ones (from the FHQ accessories pack). The bipod is the standard black CSAT bipod. There is no problem when parsing this, but strangely, in-game there is only the optic on the weapon. The pointer (which came from the same mod) and the bipod (vanilla item) completely vanish...

First thought, theses two items are not compatible with this weapon. But after a small check in the virtual arsenal, IT IS compatible, and fully working. Second thought, wrong classnames ? Here again and small check with the virtual arsenal, and no, classnames are OK.

So ? Any idea ?

Note that this is only one of the different weapons that are not working correctly. Some others have only the optic, or absolutelyno accessories. But I think if I succeed to fix this one, I would be able to fix the others.

Thanks


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#43 Posted at 2016-07-10 20:32        
     
# Cheitan : <SNIP>

So ? Any idea ?

Note that this is only one of the different weapons that are not working correctly. Some others have only the optic, or absolutelyno accessories. But I think if I succeed to fix this one, I would be able to fix the others.

Thanks

FHQ = a mod
NI = a mod

Which means they require ASDG_JointRails (Which is included with CBA which you should be running), ASDG_JR uses different slot names for the optic/accessory. Best bet is grab one the weapons in game, open up the config viewer and have a look at the slot names and rename them accordingly. It's probably something like ASDG_AssualtRail or something. There might even be a list of the default slot names for ASDG.


:)


Author Message


Posts: 122
Rank:


Level: Member

Country: fr
Location:
Occupation:
Age:
In-game name:

 
#44 Posted at 2016-07-11 14:54        
     
Oh. I see. What a mess for accessories config --' What do you mean by looking at a weapon config ? You mean a vanilla weapon ? Or a modded one using FHQ accessories ?


Author Message


Posts: 612
Rank:


Level: Member

Country: au
Location: Perth
Occupation: Arma Addict
Age: 20
In-game name: BroBeans

 
#45 Posted at 2016-07-12 06:11        
     
Look at the modded one with the accessories on it. Press ESC in game and click config viewer and find the weapon on the left side (or the attatchment it might say it there)