Jump to content
Sign in to follow this  
Remi .A

Retexture HELP

Recommended Posts

All I want to do is load the BI rangemaster hat with a new texture, ive made my own config and made a PBO. The name of the new hat shows up in the virtual ammobox but when I put it on there is nothing there. Not sure if it something Im doing wrong in the config or what. Ill post my config below maybe someone can help me, so far no one has replied to me on armaholic at all. Basically what I want is to load the original BI model with my new texture, is it possible or am I just dumb.

=====================================================================

enum {

// = 2, // Error parsing: Empty enum name

DESTRUCTENGINE = 2,

DESTRUCTDEFAULT = 6,

DESTRUCTWRECK = 7,

DESTRUCTTREE = 3,

DESTRUCTTENT = 4,

STABILIZEDINAXISX = 1,

STABILIZEDINAXESXYZ = 4,

STABILIZEDINAXISY = 2,

STABILIZEDINAXESBOTH = 3,

DESTRUCTNO = 0,

STABILIZEDINAXESNONE = 0,

DESTRUCTMAN = 5,

DESTRUCTBUILDING = 1,

};

class CfgPatches {

class example_helmet_config {

units[] = {};

weapons[] = {};

requiredVersion = 0.1;

requiredAddons[] = {""};

};

};

class cfgWeapons {

class ItemCore;

class HeadgearItem;

class example_HelmetB : ItemCore {

scope = 2;

weaponPoolAvailable = 1;

displayName = "Example Helmet";

picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa";

model = "\A3\Characters_F\common\capb_headphones";

hiddenSelections[] = {"camo"};

hiddenSelectionsTextures[] = {"\UScap\addons\data\capusa_headphones_co.paa"};

class ItemInfo : HeadgearItem {

mass = 100;

uniformModel = "\A3\Characters_F\common\capb_headphones";

modelSides[] = {3, 1};

armor = 3*0.5;

passThrough = 0.8;

hiddenSelections[] = {"camo"};

};

};

};

Share this post


Link to post
Share on other sites

Try adding class ItemInfo; to cfgWeapons, and stick "A3_Characters_F" in requiredAddons[] = {""};. Your path to the texture looks a little odd, its usually "\pbo_name\data\texture_name.paa"

You could inherit directly from the H_Cap_headphones class if your just changing the texture, something like this.

class cfgWeapons 
{ 
    class ItemCore; 
    class HeadgearItem;
    class ItemInfo;
    class H_Cap_headphones;

class example_HelmetB : H_Cap_headphones
{ 
       displayName = "Example Helmet"; 
       picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa"; 
       hiddenSelectionsTextures[] = {"\UScap\addons\data\capusa_headphones_co.paa"}; 
};

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  

×