Jump to content
Sign in to follow this  
Cunico

Headgear Invisible?

Recommended Posts

Okay, after two hours of finally getting back into working on some mods I've ran into this issue where my Helmet is showing up invisible. The only thing that shows is the shadowLod on the player. I've gone thru the RVMAT, Model.cfg, config and still can't figure out why its doing this. It showed up once before, but ever since I moved it to the "Headgear" slot...it doesn't show up at all. However, it does show up in Bulldozer. Any ideas to relieve some stress on the topic, it's becoming a pain in the arse.

Here is the pic before when it was working.

http://i.imgur.com/PsHboPU.jpg (261 kB)

The only thing I basically changed is the config.cpp to convert it to headgear. I don't see how I could mess that up, but I did check it over and over again. Seems okay. I just find it odd that it worked fine, but than I converted to headgear and now only the shadowLod comes up. I browsed the internet for a solution, but nothing I found to be similar. Well thanks for the help in advance and if someone can point me in the right direction to start figuring what could be causing this problem would be awesome!

Share this post


Link to post
Share on other sites

When having problems with configs, it helps to upload an example so we can see it. I had the same problem and got it working, but without seeing your configure structure I can't tell you exactly what to fix

Share this post


Link to post
Share on other sites

Yeah.

enum {
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 OpsCore {
   units[] = {};
   weapons[] = {};
   requiredVersion = 0.1;
   requiredAddons[] = {};
};
   };

   class cfgWeapons {
   class ItemCore;	// External class reference
   class InventoryItem_Base_F;	// External class reference 
   class HeadgearItem; 

   class OpsCore : ItemCore 
   { 
       scope = 2; 
       weaponPoolAvailable = 1; 
       displayName = "A OpsCore Helmet"; 
       picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa"; 
       model = "\OpsCore\core1"; 
       hiddenSelections[] = {"camo"}; 
       hiddenSelectionsTextures[] = {"pboName\data\helmet_texture_01_co.paa"}; 
       class ItemInfo : HeadgearItem 
       { 
           mass = 100; 
           uniformModel = "\OpsCore\core1"; 
           modelSides[] = {3, 1}; 
           armor = 3*0.5; 
           passThrough = 0.8; 
           hiddenSelections[] = {"camo"}; 
       }; 
   }; 
   class yourTag_Helmet_02 : ItemCore 
   { 
       scope = 2; 
       weaponPoolAvailable = 1; 
       displayName = "Helmet_02"; 
       picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa"; 
       model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic"; 
       hiddenSelections[] = {"camo"}; 
       hiddenSelectionsTextures[] = {"pboName\data\helmet_texture_02_co.paa"}; 
       class ItemInfo : HeadgearItem 
       { 
           mass = 100; 
           uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic"; 
           modelSides[] = {3, 1}; 
           armor = 3*0.5; 
           passThrough = 0.8; 
           hiddenSelections[] = {"camo"}; 
       }; 
   }; 
   class yourTag_Helmet_03 : ItemCore 
   { 
       scope = 2; 
       weaponPoolAvailable = 1; 
       displayName = "Helmet_03"; 
       picture = "\A3\characters_f\Data\UI\icon_H_HelmetB_CA.paa"; 
       model = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic"; 
       hiddenSelections[] = {"camo"}; 
       hiddenSelectionsTextures[] = {"pboName\data\helmet_texture_03_co.paa"}; 
       class ItemInfo : HeadgearItem 
       { 
           mass = 100; 
           uniformModel = "\A3\Characters_F\BLUFOR\headgear_b_helmet_ballistic"; 
           modelSides[] = {3, 1}; 
           armor = 3*0.5; 
           passThrough = 0.8; 
           hiddenSelections[] = {"camo"}; 
       }; 
   }; 
};

Share this post


Link to post
Share on other sites

http://cloud-4.steampowered.com/ugc/23967657881172739/43332F905FFB3FC9FF15963147B051EBEDD1B8DD/ (249 kB)

Hopefully you can see what I mean. It creates the Shadow lod but the Helmet is nowhere to be found? Not sure really what else to do.

---------- Post added at 02:35 ---------- Previous post was at 02:24 ----------

This also does show up in Bulldozer, but not in game.

---------- Post added at 02:41 ---------- Previous post was at 02:35 ----------

Nevermind, I solved it on my own. The issue was: on my LODS I had 1-4 LODS, so I switched it to 1-2 instead and it seemed to do the trick. Not sure why but w.e.

Share this post


Link to post
Share on other sites

hmmm that's weird. have you included the headgearitem base class?

class HeadgearItem : InventoryItem_Base_F

{

allowedSlots[] = {901, 605};

type = 605;

hiddenSelections[] = {};

hitpointName = "HitHead";

};

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  

×