Jump to content
Sign in to follow this  
biaccdeleted2

Problem converting textures for mod to .paa

Recommended Posts

So I'm trying to create a mod pack for my unit and I'm having a bit of a hard time with the textures showing up in game. I know that the config.cpp file is all good to go because the items are showing up in the Virtual Arsenal. Below is a sample of the config just for double checking it. But what I really need help on is converting textures to work properly in game. My process is this: I save everything as a .png and then convert using ImageToPaa. Any help or tips would be much appreciated.

class cfgPatches
{
   class PN_Uniforms
   {
       units[] = // all the classes from cfgVehicles
       {
		class pn_acu_F
       };
       weapons[] = // all the classes from cfgWeapons
       {
		class pn_acu
       };
       requiredVersion = 0.1;
       requiredAddons[] = 
	{
		"A3_Characters_F"
	};
   };
};

class cfgVehicles
{
class B_Story_SF_Captain_F;

       class pn_acu_F: B_Story_SF_Captain_F
{
	author = "Ma77h3hac83r";
	scope = 2;
	scopeArsenal = 2;
	displayName = "PN Army Combat Uniform";
	model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";
	uniformClass = "pn_acu";
	hiddenSelections[] = {"camo","insignia"};
	hiddenSelectionsTextures[] = {"\data\textures\pn_acu.paa"};
};
};

class cfgWeapons
{
class Uniform_Base;
       class UniformItem;

       class pn_acu: Uniform_Base
{
	scope = 2;
	scopeArsenal = 2;
	displayName = "PN Army Combat Uniform";
	model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
	picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
	class ItemInfo: UniformItem
	{
		uniformModel = "-";
		uniformClass = "pn_acu_F";
		containerClass = "supply80";
		armor = 250;
		mass = 1;
	};
};
};

Share this post


Link to post
Share on other sites

Ok so I have added the _co to the file name and did a conversion from .png to .paa with TexView 2 and ImageToPaa and still have nothing working. Just for a reference I have added a picture of what it looks like below. Is there maybe a problem with my path to the file or the way that I am converting it in TexView 2. One of the guys in my unit said something about converting it to .tga before converting it to .paa.

http://imgur.com/KDwRIwC

Share this post


Link to post
Share on other sites

unless your addon name is "data" (in which case you should consider changing it), your path looks wrong.

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  

×