Jump to content

Recommended Posts

So Ive been retexturing quite a lot of base games vehicles for my unit and don't normally come across issues we can figure out but this is giving me a head ache, 
the Gryphon retexture will spawn properly and give no errors when placed down but no matter what I do it spawns with base game AAF green textures instead of my custom textures, what's making my head hurt even more is that it will spawn with the 117 numbers like I have to set to display in the code but still no custom textures.
20210316220722_1.jpg
Here is the code for the vehicle, I've triple checked the paths to the textures. Any help would be nice.

class CfgVehicles
{
	class I_Plane_Fighter_04_F;
	class ARMCO_Gripen_wd: I_Plane_Fighter_04_F
	{
		author="Gunner";
		displayName="[ARMCO] Gripen (Woodland)";
		scope=2;
		scopeCurator=2;
		faction="Armco_Arsenal";
		editorCategory="armco_units2";
		editorSubcategory="armco_units_plane";
		crew="B_Pilot_F";
		forceInGarage=1;
		side=1;
		hiddenSelections[]=
		{
			"camo_1",
			"camo_2",
			"camo_3",
			"number_01",
			"number_02",
			"number_03"
		};
		hiddenSelectionsTextures[]=
		{
			"custom_vehicles\Gripen\data\Fighter_04_fuselage_01_wd_co.paa",
			"custom_vehicles\Gripen\data\Fighter_04_fuselage_02_wd_co.paa",
			"a3\air_f_jets\plane_fighter_04\data\Fighter_04_misc_01_co.paa",
			"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_01_ca.paa",
			"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_01_ca.paa",
			"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_07_ca.paa",
		};
		class TextureSources
		{
			class Woodland
			{
				displayName="ARMCO Woodland";
				author="Gunner";
				textures[]=
				{
					"custom_vehicles\Gripen\data\Fighter_04_fuselage_01_wd_co.paa",
					"custom_vehicles\Gripen\data\Fighter_04_fuselage_02_wd_co.paa",
					"a3\air_f_jets\plane_fighter_04\data\Fighter_04_misc_01_co.paa",
					"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_01_ca.paa",
					"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_01_ca.paa",
					"a3\air_f_jets\plane_fighter_04\Data\Numbers\Fighter_04_number_07_ca.paa",
				};
				factions[]=
				{
					"BLU_F",
					"BLU_T_F",
					"Armco_Arsenal"
				};
			};
		};
		textureList[]=
		{
			"Woodland",
			1
		};
		tf_encryptionCode="tf_west_radio_code";
		tf_dialog="rt1523g_radio_dialog";
		tf_subtype="digital_lr";
		tf_range=25000;
		tf_dialogUpdate="call TFAR_fnc_updateLRDialogToChannel;";
		tf_hasLRradio=1;
	};
};

 

Share this post


Link to post
Share on other sites

You are using wrong camo selections


Correct ones:

            "Camo_01",
            "Camo_02",
            "Camo_03",

 

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

×