Jump to content
someguydrawingstuff

Help with retexturing van

Recommended Posts

Hey everybody,

 

first of all: Sorry if this is the wrong section of the forum. I looked around and most people with texturing problems posted here, so i did too. Correct me if I am wrong.

 

 

My problem: I am doing a small retexturing of the offroad and the box van. And I am stuck with the van. The offroad texture works perfectly, and for the Van i used the same code in the config except in the hiddenselection part, where i defined two textures with camo1 and camo2. I looked into the original pbos to see if they use something else instead of camo1 and camo2 but it doesnt seem to appear so. Also the texture works with this setObjectTexture ingame. 

 

I also changed something just in this second, in the class section, and now it tells me when converting to a pbo, that cfgconvert failed. (?)

 

Here is my code from config.cpp:

class CfgPatches {
	class Police_Mod {
		units[] = {};
		weapons[] = {};
		requiredVersion = 0.1;
		requiredAddons[] = {"A3_Weapons_F", "a3_weapons_f_beta", "A3_Weapons_F_gamma", "A3_Characters_F", "A3_Characters_F_beta", "A3_Characters_F_gamma", "A3_Soft_F", "A3_air_f", "A3_Air_F_beta", "A3_Soft_F_Truck" };
	};
};


class cfgVehicles {


class Offroad_01_base_F;

		class Police_Offroad : Offroad_01_base_F {
			_generalMacro = C_Offroad_01_F;
			scope = 2;
			side = "1";
			faction = "BLU_F";
			vehicleClass = "Police_offroad";
			displayName = "Nationalpolizei Offroad";
			author = "Luca";
			audible = 50;
			armor = 100;
			armorWheels = 100;
			armorGlass = 50;
			armorEngine = 2.0;
			hiddenSelections[] = {"camo"};
			hiddenSelectionsTextures[] = {"Police_Offroad\data\POLICE_offroad.paa"};
			availableForSupportTypes[] = {"Transport"};		
			typicalCargo[] = {"C_Marshal_F"};
			crew = "C_Marshal_F";
			preferRoads = true;
			brakeDistance = 7.0;
			class Turrets {};
			

	};
	
	
	class C_Van_01_box_F;

		class Police_RTW : C_Van_01_box_F {
			_generalMacro = C_Van_01_box_F;
			scope = 2;
			side = "1";
			faction = "BLU_F";
			vehicleClass = "Police_RTW";
			displayName = "Nationalpolizei RTW";
			author = "Luca";
			audible = 50;
			armor = 100;
			armorWheels = 100;
			armorGlass = 50;
			armorEngine = 2.0;
			hiddenSelections[] = {"camo1","camo2"};
			hiddenSelectionsTextures[] = {"Police_Offroad\data\Police_RTW_1.paa", "Police_Offroad\data\Police_RTW_2.paa"};
			availableForSupportTypes[] = {"Transport"};		
			typicalCargo[] = {"C_Marshal_F"};
			crew = "C_Marshal_F";
			preferRoads = true;
			brakeDistance = 7.0;
			class Turrets {};
			

	};

};

I tried google for days now but trying to find a post that is not about altis life is kinda hard to find. I have no problem with altis life but the way it floods over arma is really annoying.

 

I would be really gratefull for help :)

 

-someguydrawingstuff

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

×