Forum Jump :

Author Message


Posts: 5
Rank:


Level: Member

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

 
#1 Posted at 2013-12-28 23:42        
     
This is what I have and its not working, EndOfFile and I cant see the problem

class CfqPatches
{
class A3_Armor_F_EPB_APC_tracked_03 {
units = {};
weapons = {};
requiredVersion = 0.100000;
};
};




class CfgVehicles {
/*extern*/ class Tank;
class Tank_F: Tank;{
_generalMacro = "I_APC_tracked_03_cannon_F";
scope = 2;
side = 1;
faction = "BLU_F";
displayName = "J-SERE_Warrior";
crew = "I_crew_F";
hiddenSelections = {"Camo1", "Camo2"};
hiddenSelectionsTextures = {"A3\JSEREwarrior\apc_tracked_03_ext_indp_co.paa", "a3\JSEREwarrior\apc_tracked_03_ext2_indp_co.paa"};
typicalCargo = {"I_Soldier_F"};
availableForSupportTypes[] = {"Drop","Transport"};
};
};


Author Message


Posts: 5
Rank:


Level: Member

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

 
#2 Posted at 2013-12-31 05:11        
     
BUMP.


Advertisement


Author Message


Posts: 58
Rank:


Level: Member

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

 
#3 Posted at 2013-12-31 09:50        
     
You have arrays that are missing [], your classnames look dodgy as well.

Edit: Tidied up the config should work now.
class CfqPatches
{
	class kfro_A3_Armor_F_EPB_APC_tracked_03
	{
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.100000;
		requiredAddons[] = {"A3_Armor_F_EPB_APC_tracked_03"};
	};
};

class CfgVehicles
{
	class APC_Tracked_03_base_F;
	
	class kfro_B_APC_tracked_03_cannon_F: APC_Tracked_03_base_F
	{
		author = "kFrost";
		_generalMacro = "I_APC_tracked_03_cannon_F";
		scope = 2;
		displayName = "J-SERE_Warrior";
		side = 1;
		faction = "BLU_F";
		crew = "B_crew_F";
		typicalCargo[] = {"B_Soldier_F"};
		hiddenSelections[] = {"Camo1","Camo2"};
		hiddenSelectionsTextures[] = {"A3\JSEREwarrior\apc_tracked_03_ext_indp_co.paa", "a3\JSEREwarrior\apc_tracked_03_ext2_indp_co.paa"};
		availableForSupportTypes[] = {"Drop","Transport"};
	};
}; 

This post was edited by surpher (2013-12-31 10:44, ago)






Tags: Config, Retext