Jump to content
MacGynan

RHS HGU-56/P re-texture config issues

Recommended Posts

Hi guys,

 

I'm trying to re-texture the RHS USAF HGU-56/P (Heli pilot) helmet. Cant quite figure out how to the get the config side working. Here is the config and export error.

 

 

 

Config:

class CfgPatches
{
	class btac_helmets
	{
	units[]={};
		weapons[]={"btac_spank_test"};
		requiredAddons[]={"A3_Characters_F"};
		version="1.0.0";
		author[]={"MacGynan"};
		authorUrl="http://steamcommunity.com/id/MacGynan";
	};
};

class cfgWeapons
{
    class btac_spank_test: rhsusf_hgu56p_visor_mask
    { 
        scope = 2; 
        displayName = "HGU-56/P (BLK Spank/Visor)"; 
        picture = ""; 
        model = "rhsusf\rhsusf_infantry2\gear\head\hgu56\rhs_hgu56.p3d"; 
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\Data\btac_spank_hgu56_blk_co.paa""};
	};
};

Error:

Build failed. Result code=1
CfgConver task failed.
File D:\Storage\Documents\Modding\ArmA 3\BTAC\btac_helmets\config.cpp, line 15:/cfgWeapons.btac_spank_test: undefined base class 'rhsusf_ghu65p_visor_mask'
Config: some input after EndOfFile
Error reading config file 'D:\Storage\Documents\Modding\ArmA 3\BTAC\btac_helmets\config.cpp'
Class destroyed with lock count 1

 

Share this post


Link to post
Share on other sites
12 minutes ago, MacGynan said:

Hi guys,

 

I'm trying to re-texture the RHS USAF HGU-56/P (Heli pilot) helmet. Cant quite figure out how to the get the config side working. Here is the config and export error.

 

 

 

Config:

class CfgPatches
{
	class btac_helmets
	{
	units[]={};
		weapons[]={"btac_spank_test"};
		requiredAddons[]={"A3_Characters_F"};
		version="1.0.0";
		author[]={"MacGynan"};
		authorUrl="http://steamcommunity.com/id/MacGynan";
	};
};

class cfgWeapons
{
    class rhsusf_hgu56p_visor_mask; // <--------------------------------------
    class btac_spank_test: rhsusf_hgu56p_visor_mask
    { 
        scope = 2; 
        displayName = "HGU-56/P (BLK Spank/Visor)"; 
        picture = ""; 
        model = "rhsusf\rhsusf_infantry2\gear\head\hgu56\rhs_hgu56.p3d"; 
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\Data\btac_spank_hgu56_blk_co.paa""};
	};
};

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks for your quick reply! cant believe that i forgot that.

 

Final Config if people are wondering.

class CfgPatches
{
	class btac_helmets
	{
		units[]={};
		weapons[]={""};
		requiredAddons[]={"A3_Characters_F"};
		version="1.0.0";
		author[]={"MacGynan"};
		authorUrl="http://steamcommunity.com/id/MacGynan";
	};
};

class cfgWeapons
{
	class rhsusf_hgu56p_black; //Thanks KokaKolaA3 on the BI forums! https://forums.bohemia.net/profile/1050647-kokakolaa3/
    class btac_spank_1: rhsusf_hgu56p_black
    { 
        scope = 2; 
		dlc="btac_core";
        displayName = "HGU-56/P (Spank)"; 
		author="MacGynan, SpankThatSauce";
		descriptionShort="Level III-A";
        picture = "\btac_helmets\ui\rhs_hgu56_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_spank_hgu56_blk_co.paa"};
	};	

	class rhsusf_hgu56p_visor_black;
	class btac_spank_2: rhsusf_hgu56p_visor_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Visor)"; 
		author="MacGynan, SpankThatSauce";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_spank_hgu56_blk_co.paa"};
	};
	
	class rhsusf_hgu56p_mask_black;
	class btac_spank_3: rhsusf_hgu56p_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Mask)"; 
		author="MacGynan, SpankThatSauce";
        picture = "\btac_helmets\ui\rhs_hgu56_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_spank_hgu56_blk_co.paa"};
	};
	
	class rhsusf_hgu56p_visor_mask_black;
    class btac_spank_4: rhsusf_hgu56p_visor_mask_black
    { 
        scope = 2; 
        displayName = "HGU-56/P (Spank/Visor/Mask)"; 
		author="MacGynan, SpankThatSauce";
        picture = "\btac_helmets\ui\rhs_hgu56_visor_mask_blk_ca.paa"; //Thanks RHS TEAM!
        hiddenSelections[] = {"camo"}; 
        hiddenSelectionsTextures[] = {"btac_helmets\data\btac_spank_hgu56_blk_co.paa"};
	};
};

 

Share this post


Link to post
Share on other sites

Hey, know this is a few years past but might as well try. Do you know how to get the patches on the helmets, I've been trying but can't figure it out.

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

×