Jump to content
Sign in to follow this  
Remi .A

3rd item in config not showing

Recommended Posts

hello, im working on a config file and have 3 items in it, the first 2 show up in the box but the last one doesnt. I didnt come up with any pbo packing errors so Im not sure exactly what im looking for. Heres the config file.

To me all 3 look the same not sure where im going wrong. Just a quick edit to give more info on which class isnt working. Displayname is TF91 Operator white, thats the one thats not showing up in the box.

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_uniform_config {
       units[] = {};
       weapons[] = {};
       requiredVersion = 0.1;
       requiredAddons[] = {"A3_Characters_F_BLUFOR"};
   };
};

class CfgVehicles {

   class B_Soldier_base_F;

   class TF_Operator1 : B_Soldier_base_F {
       _generalMacro = "B_Soldier_F"; //unsure what this does
       scope = 2;
       displayName = "TF91 Operator";
       nakedUniform = "U_BasicBody"; //class for "naked" body
       uniformClass = "Example_CombatUniform_mcam"; //the uniform item
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"TF91operator\data\tanbluejeans.paa"};
};

class TF_Operator2 : B_Soldier_base_F {
       _generalMacro = "B_Soldier_F"; //unsure what this does
       scope = 2;
       displayName = "TF91 Operator2";
       nakedUniform = "U_BasicBody"; //class for "naked" body
       uniformClass = "Example_CombatUniform_mcam"; //the uniform item
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"TF91operator\data\litetanbluejeans.paa"};
};

class TF_Operator3 : B_Soldier_base_F {
       _generalMacro = "B_Soldier_F"; //unsure what this does
       scope = 2;
       displayName = "TF91 Operator3";
       nakedUniform = "U_BasicBody"; //class for "naked" body
       uniformClass = "Example_CombatUniform_mcam"; //the uniform item
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";
       hiddenSelections[] = {"Camo"};
       hiddenSelectionsTextures[] = {"TF91operator\data\jeanswhitet.paa"};
};
};
class cfgWeapons {

   class Uniform_Base;
   class UniformItem;

   class TF_operator : Uniform_Base {
       scope = 2;
       displayName = "TF91 Operator";
       picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";

       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "TF_operator1"; //would be same as our made soldier class
           containerClass = "Supply20"; //how much it can carry
           mass = 80; //how much it weights
       };
};
    class TF_operator2 : Uniform_Base {
       scope = 2;
       displayName = "TF91 Operator Lite";
       picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";

       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "TF_operator2"; //would be same as our made soldier class
           containerClass = "Supply20"; //how much it can carry
           mass = 80; //how much it weights
       };
class TF_operator3 : Uniform_Base {
       scope = 2;
       displayName = "TF91 Operator white";
       picture = "\A3\characters_f\data\ui\icon_U_B_CombatUniform_mcam_ca.paa";
       model = "\A3\Characters_F\Civil\c_poloshirtpants.p3d";

       class ItemInfo : UniformItem {
           uniformModel = "-";
           uniformClass = "TF_operator3"; //would be same as our made soldier class
           containerClass = "Supply20"; //how much it can carry
           mass = 80; //how much it weights
       };
};
};
};

Edited by mumblz

Share this post


Link to post
Share on other sites

class TF_operator2 needs a closing }; , you have an extra }; at the bottom of the config.

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  

×