Jump to content
Sign in to follow this  
*=Parca=*

cannot load texture error pls help

Recommended Posts

Hi, I've been trying to make a retexture of a rhs unit and the problem that i've come across is that the texture will not load up ingame. Can someone please check my config for errors because I'm not sure what else could be causing the problem thanks in advance. I used photoshop to make it into a png and then TexView into .paa.

Image error

https://www.dropbox.com/s/qsfiex3hdhem1jp/20160530171555_1.jpg?dl=0

https://www.dropbox.com/s/7o7bfjvdg5q2sni/20160530171612_1.jpg?dl=0

class CfgPatches
{
	class rhs_gork_marpat_wld
	{
		units[] = {"Custom_Uniform_Mod"};
		weapons[] = {};
		text = "*=Parca=*'s RHS: AFrF Gorka Retexture";
		requiredVersion = 0.1;
		requiredAddons[] = {"rhs_main","rhs_c_troops","rhs_infantry","rhs_infantry2","A3_Characters_F_BLUFOR"};
	};
};

class CfgVehicles
{
	class B_Soldier_base_F;
	class rhs_gork_marpat_wld : B_Soldier_base_F
	{
		_generalMacro = "B_Soldier_base_F";
		scope = 2;
		displayName = "Spetsnaz";
		model = "\rhsafrf\addons\rhs_infantry2\rhs_gorka_base.p3d";
		nakedUniform = "U_BasicBody";
		uniformClass = "Gorka_SURPAT";
		hiddenSelections[] = {"Camo","Insignia"};
		hiddenSelectionsTextures[] = {"\Uniform_Gorka_SURPAT\Data\Uniform\Gorka_SURPAT.paa"};
	};
};
 
class cfgWeapons
{	
	class ItemInfo;
	class ItemCore;
	class UniformItem;
	class rhs_gorka_base: ItemCore
    { 
        class ItemInfo; 
    }; 
	
	class Gorka_SURPAT : rhs_gorka_base
	{
		scope = 2;
		scopeArsenal = 2;
		displayName = "Gorka-SURPAT";
		picture = "\rhsafrf\addons\rhs_infantry2\inventory\gear_icon_gorka_g_ca.paa";
		model = "\rhsafrf\addons\rhs_infantry2\rhs_gorka_base.p3d";
		hiddenSelections[] = {"Camo","Insignia"};
		hiddenSelectionsTextures[] = {"\Uniform_Gorka_SURPAT\Data\Uniform\Gorka_SURPAT.paa"};
		class ItemInfo : UniformItem {
			uniformClass = "rhs_gork_marpat_wld";
			containerClass = "Supply40";
			mass = 40;
		};
	};
};

Share this post


Link to post
Share on other sites

Is the path correct, and why are you not using the correct naming conventions (xxx_co.paa)?

Its either a problem with the path (i.e. the path is incorrect, the config only tells us what path the game should look for the texture in, not whether its actually there); a problem with the texture itself (i.e. not using the correct naming convention as I outlined above has broken the texture to the point the game wont recognise it); or the tool you're using to pack your addon isn't packing the paa file because its either i) a shit tool, or ii) is poorly configured and needs some settings tweaked.

Share this post


Link to post
Share on other sites

No longer gives me error when entering the game but is not calling me textures not because apparently everything is correct.

Share this post


Link to post
Share on other sites

I just looked at the model in a hex editor (as I couldn't find the config entries and CBA to look), and found that it doesn't reference a selection named "Camo" but instead has "camo1". Try that as your hiddenselections name...

Share this post


Link to post
Share on other sites

OH man it was that I worked many thanks you're the best

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  

×