Jump to content
Sign in to follow this  
road runner

Brain freeze on uniform config.

Recommended Posts

Guys, I'm having a meltdown over what's probably a single typo/misplaced key stroke, I keep getting an error on making it to a PBO around line 3, it says something is missing and doesn't pack, can someone have a look at what on earth I'm doing wrong, it's got me bamboozled big time!!

 

I've used another mods cfg that had the same amount of uniforms I wished to make, and just replaced the data with my own, but something has gone tits up, and it's winding me up, 5 hours I've been at this and about to give up!! :D

 

 

 

class CfgVehicles
{
        class B_Soldier_base_F;
        class DEVGRU_uniform_Desert TS: B_Soldier_base_F
    {
                
        scope = 2;
        displayName = "DEVGRU uniform (desert tiger stripe)";
        vehicleClass = "DEVGRU_uniform";
        uniformClass = "DEVGRU_uniform_Desert TS";
        nakedUniform = "U_BasicBody";
        model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";
        hiddenSelections[] = {"camo","insignia"};
        hiddenSelectionsTextures[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\data\devgru_desert tiger.paa"};
        class Wounds
        {
             mat[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\Data\DEVGRU_clothing1.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
             tex[] = {};


};
};



        class DEVGRU_uniform_AOR1: B_Soldier_base_F
    {
                
        scope = 2;
        displayName = "DEVGRU uniform (AOR1)";
        vehicleClass = "DEVGRU_uniform";
        uniformClass = "DEVGRU_uniform_AOR1";
        nakedUniform = "U_BasicBody";
        model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";;
        hiddenSelections[] = {"camo","insignia"};
        hiddenSelectionsTextures[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\data\devgru_aor1.paa"};
        class Wounds
        {
             mat[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\Data\DEVGRU_clothing1.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
             tex[] = {};

};
};



        class DEVGRU_uniform_AOR2: B_Soldier_base_F
    {
                
        scope = 2;
        displayName = "DEVGRU uniform (AOR2)";
        vehicleClass = "DEVGRU_uniform";
        uniformClass = "DEVGRU_uniform_AOR2";
        nakedUniform = "U_BasicBody";
        model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";;
        hiddenSelections[] = {"camo","insignia"};
        hiddenSelectionsTextures[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\data\devgru_aor2.paa"};
        class Wounds
        {
             mat[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\Data\DEVGRU_clothing1.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
             tex[] = {};
};
};



        class DEVGRU_uniform_MCM: B_Soldier_base_F
    {
                
        scope = 2;
        displayName = "DEVGRU uniform (Multicam)";
        vehicleClass = "DEVGRU_uniform";
        uniformClass = "DEVGRU_uniform_MCM";
        nakedUniform = "U_BasicBody";
        model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";;
        hiddenSelections[] = {"camo","insignia"};
        hiddenSelectionsTextures[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\data\devgru_mcm_2.paa"};
        class Wounds
        {
             mat[] = {"DEVGRU_Uniforms\DEVGRU_Uniforms\Data\DEVGRU_clothing1.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\BLUFOR\Data\clothing1_injury.rvmat","A3\Characters_F\Common\Data\basicbody.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\Characters_F\Common\Data\basicbody_injury.rvmat","A3\characters_f\common\data\coveralls.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Common\Data\coveralls_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_black_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_hairy_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_white_old_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat","A3\Characters_F\Heads\Data\hl_asian_bald_muscular_injury.rvmat"};
             tex[] = {};


};
};
};

        

class cfgWeapons
{
    class Uniform_Base;
    class UniformItem;
    class InventoryItem_Base_F;
    class ItemCore;
    class HeadGearItem;
    class V_PlateCarrier1_rgr;
    class VestItem;




       


       

        class DEVGRU_uniform_Desert TS: Uniform_Base
    {
        scope=2;
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
        displayName = "DEVGRU uniform (desert tiger stripe)";
        picture = "\DEVGRU_Uniforms\DEVGRU_Uniforms\data\ui\desert_tiger_ui.paa";
        author = "Keeno";
        
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = "DEVGRU_uniform_Desert TS";
            containerClass="Supply60";
            mass=80;


};
};

        class DEVGRU_uniform_AOR1: Uniform_Base
    {
        scope=2;
        model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
        displayName = "DEVGRU uniform (AOR1)";
        picture = "\DEVGRU_Uniforms\DEVGRU_Uniforms\data\ui\aor1_ui.paa";
        author = "Keeno";
        
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = "DEVGRU_uniform_AOR1";
            containerClass="Supply60";
            mass=80;


};
};


        class DEVGRU_uniform_AOR2: Uniform_Base
    {
        scope=2;
         model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
        displayName = "DEVGRU uniform (AOR2)";
        picture = "\DEVGRU_Uniforms\DEVGRU_Uniforms\data\ui\aor2_ui.paa";
        author = "Keeno";
        
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = "DEVGRU_uniform_AOR2";
            containerClass="Supply60";
            mass=80;

};
};


        class DEVGRU_uniform_MCM: Uniform_Base
    {
        scope=2;
         model = "\A3\Characters_F\Common\Suitpacks\suitpack_blufor_diver";
        displayName = "DEVGRU uniform (Multicam)";
        picture = "\DEVGRU_Uniforms\DEVGRU_Uniforms\data\ui\ocp_ui.paa";
        author = "Keeno";
        
        class ItemInfo: UniformItem
        {
            uniformModel = "-";
            uniformClass = "DEVGRU_uniform_MCM";
            containerClass="Supply60";
            mass=80;





            };
        };
    };
};
//};
 

Share this post


Link to post
Share on other sites

I spotted a potential culprit....the semi colons ;;

it's under  class DEVGRU_uniform_AOR1: B_Soldier_base_F

model = "\A3\characters_F\BLUFOR\b_soldier_03.p3d";;
  • Like 1

Share this post


Link to post
Share on other sites

Its not these, I keep getting this error "File \devgru_uniforms\devgru_uniforms\config.cpp, line 3:/cfgVehicles/: "T" encountered instead of '{' it's something right at the very start of the file, and I'm that blind I'm not seeing the wood for the trees, I removed the double semi's and it's still failing :(

Share this post


Link to post
Share on other sites

you have a space in your class name

 

class DEVGRU_uniform_Desert TS: B_Soldier_base_F

 

should be

 

class DEVGRU_uniform_Desert_TS: B_Soldier_base_F

 

 

 

and you also have it again further down

 

     class DEVGRU_uniform_Desert TS: Uniform_Base

 

should be

 

     class DEVGRU_uniform_Desert_TS: Uniform_Base

  • Like 1

Share this post


Link to post
Share on other sites

Thanks Andrewedwards, that fixed the crash ;)

 

I eventually sorted this out, it was down to semi colons not in the right place, it's all rolled sleeves, it was too much of a headache trying to get full sleeve and rolled sleeves into the cfg without it crashing on me.

Thanks to those who helped.

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  

×