Jump to content
Sign in to follow this  
kocrachon

Trying to unofficially fix a mod / item

Recommended Posts

Currently trying to fix a mod for private use with my squad until the mod maker fixes it officially. (not sure when that will be)

 

The error I am trying to fix is 

 

No Entry 'bin\config.bin/CfgWeapons/ItemInfo.scope'

 

Here is the part of the config that I think need to fix, I see the ItemInfo part, but it looks right to me, so I have no idea why its showing up. None of the other cpp/config files have an ItemInfo section...

////////////////////////////////////////////////////////////////////
//DeRap: Produced from mikero's Dos Tools Dll version 5.24
//Produced on Sat May 07 10:06:44 2016 : Created on Sat May 07 10:06:44 2016
//http://dev-heaven.net/projects/list_files/mikero-pbodll
////////////////////////////////////////////////////////////////////

#define _ARMA_

//Class mas_cia_jsog_c : config.bin{
class CfgPatches
{
	class mas_cia_jsog
	{
		author = "massi & authors in credits";
		units[] = {"B_mas_cia_AssaultPack","B_mas_cia_AssaultPack_op","B_mas_cia_AssaultPack_dem"};
		weapons[] = {"U_mas_cia_B_CombatUniform","U_mas_cia_B_CombatUniform_c1","U_mas_cia_B_CombatUniform_c2","V_mas_cia_ChestrigB","V_mas_cia_PlateCarrier1_rgr","H_mas_cia_helmet_ops","H_mas_cia_helmet_ops_gog"};
		requiredversion = 1.56;
		requiredAddons[] = {"A3_Data_F","A3_Weapons_F","A3_Characters_F","A3_Characters_F_BLUFOR"};
	};
};
class UniformSlotInfo
{
	slotType = 0;
	linkProxy = "-";
};
class CfgFactionClasses
{
	access = "ReadAndCreate";
	class mas_cia_jsog
	{
		displayName = "CIA SAD-SOG";
		priority = 2;
		side = 1;
		icon = "\mas_cia_jsog_c\cfgfaction_mas_cia_ca";
	};
};
class CfgEditorSubcategories
{
	class mas_cia_jsog_a
	{
		displayName = "SOG Black Ops";
	};
	class mas_cia_jsog_b
	{
		displayName = "SOG Undercover(L)";
	};
	class mas_cia_jsog_c
	{
		displayName = "SOG Undercover(H)";
	};
	class mas_cia_jsog_d
	{
		displayName = "SOG Divers";
	};
	class mas_cia_jsog_e
	{
		displayName = "SOG Airborne";
	};
};
class cfgWeapons
{
	class InventoryItem_Base_F;
	class ItemCore;
	class ItemInfo;
	class U_B_CombatUniform_mcam;
	class U_B_Wetsuit;
	class UniformItem;
	class VestItem;
	class HeadgearItem;
	class Vest_Base;
	class V_PlateCarrier1_rgr;
	class V_Chestrig_khk;
	class H_HelmetB;
	class H_Booniehat_khk;
	class U_mas_cia_B_CombatUniform: U_B_CombatUniform_mcam
	{
		author = "massi & authors in credits";
		picture = "\mas_cia_jsog\ui\cia_unif.paa";
		displayName = "CIA SOG Uniform";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "B_mas_cia_Soldier_F";
			containerClass = "Supply80";
			mass = 20;
		};
	};
	class U_mas_cia_B_CombatUniform_c1: U_B_CombatUniform_mcam
	{
		author = "massi & authors in credits";
		picture = "\mas_cia_jsog\ui\cia_unif.paa";
		displayName = "CIA SOG Clothes1";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "B_mas_cia_Soldierc_F";
			containerClass = "Supply80";
			mass = 20;
		};
	};
	class U_mas_cia_B_CombatUniform_c2: U_B_CombatUniform_mcam
	{
		author = "massi & authors in credits";
		picture = "\mas_cia_jsog\ui\cia_unif.paa";
		displayName = "CIA SOG Clothes2";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "B_mas_cia_Soldierc_exp_F";
			containerClass = "Supply80";
			mass = 20;
		};
	};
	class U_mas_cia_B_Wetsuit: U_B_Wetsuit
	{
		author = "massi & authors in credits";
		model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
		displayName = "CIA SOG Diver suite";
		class ItemInfo: UniformItem
		{
			uniformModel = "-";
			uniformClass = "B_mas_cia_Diver_F";
			containerClass = "Supply200";
			uniformType = "Neopren";
			mass = 40;
		};
	};
	class V_mas_cia_ChestrigB: V_Chestrig_khk
	{
		author = "massi & authors in credits";
		_generalMacro = "V_mas_cia_ChestrigB";
		displayName = "CIA SOG Armor Chestrig";
		descriptionShort = "$STR_A3_SP_AL_IV";
		hiddenSelections[] = {"Camo1","Camo2"};
		hiddenSelectionsTextures[] = {"\mas_cia_jsog\vest\data\equip_chestrig_co.paa","\mas_cia_jsog\vest\data\armor1_co.paa"};
		class ItemInfo: ItemInfo
		{
			uniformModel = "\A3\Characters_F\Common\equip_chestrig.p3d";
			containerClass = "Supply200";
			mass = 40;
			hiddenSelections[] = {"Camo1","Camo2"};
			class HitpointsProtectionInfo
			{
				class Chest
				{
					hitpointName = "HitChest";
					armor = 40;
					passThrough = 0.1;
				};
				class Diaphragm
				{
					hitpointName = "HitDiaphragm";
					armor = 40;
					passThrough = 0.1;
				};
				class Abdomen
				{
					hitpointName = "HitAbdomen";
					armor = 40;
					passThrough = 0.1;
				};
				class Body
				{
					hitpointName = "HitBody";
					passThrough = 0.1;
				};
			};
		};
	};
	class V_mas_cia_PlateCarrier1_rgr: V_PlateCarrier1_rgr
	{
		author = "massi & authors in credits";
		_generalMacro = "V_mas_cia_PlateCarrier1_rgr";
		model = "\mas_cia_jsog\vest\mas_plate_carrier_OP";
		picture = "\mas_cia_jsog\ui\cia_vest.paa";
		displayName = "CIA SOG Platecarrier";
		hiddenSelections[] = {"camo","Camo1"};
		hiddenSelectionsTextures[] = {"\mas_cia_jsog\vest\data\mas_6094a_co.paa","\mas_cia_jsog\vest\data\armysf_tl_acu_co.paa"};
		descriptionShort = "$STR_A3_SP_AL_IV";
		class ItemInfo: ItemInfo
		{
			uniformModel = "\mas_cia_jsog\vest\mas_plate_carrier_OP";
			containerClass = "Supply200";
			mass = 40;
			hiddenSelections[] = {"camo","Camo1"};
			class HitpointsProtectionInfo
			{
				class Chest
				{
					hitpointName = "HitChest";
					armor = 40;
					passThrough = 0.1;
				};
				class Diaphragm
				{
					hitpointName = "HitDiaphragm";
					armor = 40;
					passThrough = 0.1;
				};
				class Abdomen
				{
					hitpointName = "HitAbdomen";
					armor = 40;
					passThrough = 0.1;
				};
				class Body
				{
					hitpointName = "HitBody";
					passThrough = 0.1;
				};
			};
		};
	};
	class H_mas_cia_helmet_ops: H_HelmetB
	{
		author = "massi & authors in credits";
		_generalMacro = "H_mas_cia_helmet_ops";
		displayName = "CIA SOG Ops Core";
		picture = "\mas_cia_jsog\ui\cia_ops_core.paa";
		model = "\mas_cia_jsog\fast\mas_new_fast2.p3d";
		class ItemInfo: ItemInfo
		{
			mass = 20;
			uniformModel = "\mas_cia_jsog\fast\mas_new_fast2.p3d";
			modelSides[] = {3,1};
			hiddenSelections[] = {"camo","camo1","camo3"};
			class HitpointsProtectionInfo
			{
				class Head
				{
					hitpointName = "HitHead";
					armor = 8;
					passThrough = 0.5;
				};
			};
		};
		hiddenSelections[] = {"camo","camo1","camo3"};
		hiddenSelectionsTextures[] = {"\mas_cia_jsog\fast\data\helmet_co.paa","\mas_cia_jsog\fast\data\velcro_co.paa","\mas_cia_jsog\fast\data\ir_co.paa"};
	};
	class H_mas_cia_helmet_ops_gog: H_mas_cia_helmet_ops
	{
		author = "massi & authors in credits";
		_generalMacro = "H_mas_cia_helmet_ops_gog";
		displayName = "CIA SOG Ops Core(gog)";
		picture = "\mas_cia_jsog\ui\cia_ops_core_gog.paa";
		model = "\mas_cia_jsog\fast\mas_new_fast.p3d";
		class ItemInfo: ItemInfo
		{
			mass = 20;
			uniformModel = "\mas_cia_jsog\fast\mas_new_fast.p3d";
			modelSides[] = {3,1};
			hiddenSelections[] = {"camo","camo1","camo2","camo3"};
			class HitpointsProtectionInfo
			{
				class Head
				{
					hitpointName = "HitHead";
					armor = 8;
					passThrough = 0.5;
				};
			};
		};
		hiddenSelections[] = {"camo","camo1","camo2","camo3"};
		hiddenSelectionsTextures[] = {"\mas_cia_jsog\fast\data\helmet_co.paa","\mas_cia_jsog\fast\data\velcro_co.paa","\mas_cia_jsog\fast\data\goggles_co.paa","\mas_cia_jsog\fast\data\ir_co.paa"};
	};
};
class CfgVehicles
{
	class B_Kitbag_mcamo;
	class B_mas_cia_AssaultPack: B_Kitbag_mcamo
	{
		author = "massi & authors in credits";
		hiddenSelectionsTextures[] = {"\mas_cia_jsog\packs\backpack_fast_blk_co.paa"};
		picture = "\mas_cia_jsog\ui\backpack_cb.paa";
		_generalMacro = "B_mas_cia_AssaultPack";
		displayName = "CIA SOG Backpack";
	};
	class B_mas_cia_AssaultPack_op: B_mas_cia_AssaultPack
	{
		author = "massi & authors in credits";
		scope = 1;
		_generalMacro = "B_mas_cia_AssaultPack_op";
		displayName = "CIA SOG Op pack";
		class TransportItems
		{
			class _xx_Medikit
			{
				name = "Medikit";
				count = 1;
			};
			class _xx_ToolKit
			{
				name = "ToolKit";
				count = 1;
			};
			class _xx_FirstAidKit
			{
				name = "FirstAidKit";
				count = 2;
			};
		};
	};
	class B_mas_cia_AssaultPack_dem: B_mas_cia_AssaultPack
	{
		author = "massi & authors in credits";
		scope = 1;
		_generalMacro = "B_mas_cia_AssaultPack_dem";
		displayName = "CIA SOG Demo pack";
		class TransportItems
		{
			class _xx_Medikit
			{
				name = "Medikit";
				count = 1;
			};
			class _xx_ToolKit
			{
				name = "ToolKit";
				count = 1;
			};
		};
		class TransportMagazines
		{
			class _xx_ClaymoreDirectionalMine_Remote_Mag
			{
				magazine = "ClaymoreDirectionalMine_Remote_Mag";
				count = 1;
			};
			class _xx_DemoCharge_Remote_Mag
			{
				magazine = "DemoCharge_Remote_Mag";
				count = 2;
			};
		};
	};
};
class cfgMods
{
	author = "76561198033144722";
	timepacked = "1462647959";
};
//};

Share this post


Link to post
Share on other sites

personally I wouldn't do that, and let the addon maker do that, or get his permission to fix it.

The error is stemming from his weapons, each and every weapon that's got the same config.cpp will have this error.

 

If you have no idea why it's showing up, why would you consider editing the config.cpp??

 

 

I have this part the the way around

 

 

        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = "B_mas_cia_Diver_F";
            containerClass = "Supply200";
            uniformType = "Neopren";
            mass = 40;
        };
    };

 

 

 

 

 

         class ItemInfo: UniformItem
    {
        uniformModel = "-";
        uniformClass = "TIER1_SOF_II_11_F";
        containerClass = "Supply40";
        mass = 1;
        allowedSlots[] = {"701","801","901"};
        armor = 0;

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  

×