Jump to content
Sign in to follow this  
kdk11

No entry bin\config.bin/CfgVehicles/Plane_Fighter_03_f.scope

Recommended Posts

I am making a addon for different texture for the buzzard but for some reason I keep getting No entry 'bin\config.bin/CfgVehicles/Plane_Fighter_03_f.scope' does anyone know what this means?

class CfgPatches
{     
class Buzzard_skins
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_air_f_gamma_Plane_Fighter_03"};
};
};

class cfgVehicles
{
class Plane_Fighter_03_F;

class KDK_Buzzard_FG: Plane_Fighter_03_F
{
	_generalMacro = "Plane_Fighter_03";
	scope = 2;
	side = 1;
	faction = "BLU_F";
	displayName="KDK Buzzard AA";
	crew = "B_Helipilot_F";
	hiddenSelections[]= {"camo1","camo2"};
	hiddenSelectionsTextures[]= {"KDK_Buzzard\Data\jet_co.paa","KDK_Buzzard\Data\jet2_co.paa"};  	
	typicalCargo[] = {""};
	availableForSupportTypes[] = {"Drop","Transport"};
  	};
};

Share this post


Link to post
Share on other sites

well there is no "F" at the end so I changed that but still get the same error

A3_air_f_gamma_Plane_Fighter_03

is what comes from the pbo

Share this post


Link to post
Share on other sites

if it was me i would download another mod that has a re-textured buzzard. I think there are a few that re-texture the buzzard. *easy way to see how they did it.*

i read that and it sounds like im saying, NOT to re-tex your own version. By All Means that is NOT what i ment *added*

this is for the red arrows correct?

Share this post


Link to post
Share on other sites

Sounds a good idea. Do you know of any links?

Share this post


Link to post
Share on other sites

AAF Desert Rep.

AAF desert replacement has a re-tex of the buz

i thought the GLT mod had a re-tex of the buz, but i cant find any documents or pics when i glanced, those were the two that came two mind, that are available.

Edited by Lordprimate

Share this post


Link to post
Share on other sites

I can't find the cfgVehicles classnames you're inheriting in BIS' configs. The only classnames I see for the buzzard are the following:

Plane_Fighter_03_base_F <-hidden base class

I_Plane_Fighter_03_CAS_F <-AAF CAS loadout

I_Plane_Fighter_03_AA_F <-AAF AA loadout

A3_air_f_gamma_Plane_Fighter_03 is the cfgpatches class, not the vehicle class

Share this post


Link to post
Share on other sites

class CfgPatches
{     
class Buzzard_skins
{
	units[] = {};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_air_f_gamma_Plane_Fighter_03"};
};
};

class cfgVehicles
{
class Plane_Fighter_03_AA_F ;

class KDK_Buzzard_FG: Plane_Fighter_03_AA_F 
{
	_generalMacro = "I_Plane_Fighter_03_AA_F ";
	scope = 2;
	side = 1;
	faction = "BLU_F";
	displayName="KDK Buzzard AA";
	crew = "B_Helipilot_F";
	hiddenSelections[]= {"camo1","camo2"};
	hiddenSelectionsTextures[]= {"KDK_Buzzard\Data\jet_co.paa","KDK_Buzzard\Data\jet2_co.paa"};  	
	typicalCargo[] = {""};
	availableForSupportTypes[] = {"Drop","Transport"};
  	};
};

like so?

Share this post


Link to post
Share on other sites

You're still not using the right classnames. In your config you have Plane_Fighter_03_AA_F, the BIS classname is I_Plane_Fighter_03_AA_F.

You have to use the exact name of the class you intent to inherit from.

Share this post


Link to post
Share on other sites

Ah yes that worked thanks mate! So if I wanted to do both versions what would I need to do to the config?

Share this post


Link to post
Share on other sites

Basically you'd just do what you did with the AA version, but this time make another, slightly different classname that inherits from the CAS version of the buzzard instead. Something like this:

class CfgPatches
{     
class KDK_Buzzard_skins
{
	units[] = {"KDK_Buzzard_FG_AA", "KDK_Buzzard_FG_CAS"};
	weapons[] = {};
	requiredVersion = 0.1;
	requiredAddons[] = {"A3_air_f_gamma_Plane_Fighter_03"};
};
};

class cfgVehicles
{
class I_Plane_Fighter_03_AA_F ;
class I_Plane_Fighter_03_CAS_F ;

class KDK_Buzzard_FG_AA: I_Plane_Fighter_03_AA_F 
{
	author = "KDK11";
	_generalMacro = "KDK_Buzzard_FG_AA";
	scope = 2;
	side = 1;
	faction = "BLU_F";
	displayName="KDK Buzzard AA";
	crew = "B_Pilot_F";
	hiddenSelections[]= {"camo1","camo2"};
	hiddenSelectionsTextures[]= {"KDK_Buzzard\Data\jet_co.paa","KDK_Buzzard\Data\jet2_co.paa"};  	
	typicalCargo[] = {"B_Pilot_F"};
  	};

class KDK_Buzzard_FG_CAS: I_Plane_Fighter_03_CAS_F 
{
	author = "KDK11";
	_generalMacro = "KDK_Buzzard_FG_CAS";
	scope = 2;
	side = 1;
	faction = "BLU_F";
	displayName="KDK Buzzard CAS";
	crew = "B_Pilot_F";
	hiddenSelections[]= {"camo1","camo2"};
	hiddenSelectionsTextures[]= {"KDK_Buzzard\Data\jet_co.paa","KDK_Buzzard\Data\jet2_co.paa"};  	
	typicalCargo[] = {"B_Pilot_F"};
  	};
};

There are other ways of doing it by changing some of the weapons[] and magazines[] arrays to match the CAS loadout, but the above way is probably more simplistic if you're inheriting from the existing AAF aircraft anyway, rather than the base class.

Share this post


Link to post
Share on other sites

Thank you man you have been of great service once again

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  

×