Jump to content
Sign in to follow this  
Lewis Croft

Missing Textures Ingame

Recommended Posts

I am a complete noob at making ARMA 3 Addons, so I'm looking for some help... Since when I load my vests.pbo into ARMA 3 and load up the vest I get this: Image

 

This is my config.cpp file:

class CfgPatches 
{
    class Croftyy_Vests 
	{
        units[]= {
            "Vest_Croftyy_RNBW_vest"
        };
        weapons[]= {
            "Croftyy_RNBW_vest"
        };
        requiredVersion=0.1;
        requiredAddons[]={"A3_Characters_F_BLUFOR","A3_Characters_F"};
    };
};

class CfgWeapons
{
	class V_PlateCarrierSpec_rgr {
		class ItemInfo;
	};

	class Croftyy_RNBW_vest: V_PlateCarrierSpec_rgr
        {
            author = "Croftyy";
            displayName = "Croftyy - Rainbow Vest";
	    hiddenSelections[] = {"camo"};
	    hiddenSelectionsTextures[] = {"\Vests\data\Croftyy_RNBW_vest.paa"};
            class ItemInfo: ItemInfo
            {
                hiddenSelections[] = {"camo"};
            };
        };
};

class CfgVehicles
{
	class Vest_Base;
	class Vest_Croftyy_RNBW_vest: Vest_Base
	{
		scope = 2;
		scopeCurator = 2;
		displayName = "Croftyy - Rainbow Vest";
		author = "Croftyy";
		editorCategory = ItemsVests;
		editorSubcategory = EdCat_Equipment;
		vehicleClass = EdSubcat_Vests;
		class TransportItems
		{
			class Croftyy_RNBW_vest {name = Croftyy_RNBW_vest; count = 1;};
		};
	};
};

When I compile the config.cpp and the .paa image which I have in the same folder: Image of the folder I compile using the ARMA 3 Tools Addon Builder. And the top image shows the result...

 

Any help would be much appreciated!

 

Thanks,

 

Croftyy

Share this post


Link to post
Share on other sites

After quite a bit of work got it working... Here's my code if anyone is interested...

 

class cfgPatches {
	class Vests_and_Shit {
		version = "1";
		units[] = {};
		weapons[] = {};
		requiredVersion = 1;
		requiredAddons[] = {};
	};
};

class cfgWeapons {
	class V_PlateCarrier1_rgr;
	class ItemInfo;
	class ItemCore;
	class InventoryItem_Base_F;
	class VestItem: InventoryItem_Base_F {};
	class CROFT_RNBW_vest: V_PlateCarrier1_rgr {
		author = "Croftyy";
		displayName = "Croftyy - Rainbow Vests";
		hiddenSelectionsTextures[] = {
			"Croftyy_Vests\data\CROFT_RNBW_vest_co.paa"
		};
		scope = 2;
		model = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
		hiddenSelections[] = {
			"camo"
		};
		class ItemInfo: VestItem {
			uniformModel = "\A3\Characters_F\BLUFOR\equip_b_vest02.p3d";
			hiddenSelections[] = {
				"camo"
			};
			containerClass = "Supply120";
			mass = 50;
			class HitpointsProtectionInfo {
				class Neck {
					hitpointName="HitNeck";
					armor=38;
					passThrough=0.40000001;
				};
				class Legs {
					hitpointName="HitLegs";
					armor=44;
					passThrough=0.40000001;
				};
				class Arms {
					hitpointName="HitArms";
					armor=38;
					passThrough=0.40000001;
				};
				class Chest {
					hitpointName="HitChest";
					armor=38;
					passThrough=0.40000001;
				};
				class Diaphragm {
					hitpointName="HitDiaphragm";
					armor=38;
					passThrough=0.40000001;
				};
				class Abdomen {
					hitpointName="HitAbdomen";
					armor=38;
					passThrough=0.40000001;
				};
				class Pelvis {
					hitpointName="HitPelvis";
					armor=38;
					passThrough=0.40000001;
				};
				class Body {
					hitpointName="HitBody";
					armor=38;
					passThrough=0.40000001;
				};
			};
		};		
	};
};

class cfgMods {
	author = "Croftyy";
};

 

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  

×