Jump to content
Sign in to follow this  
TitansWeasel

Troubles with config for VAN reskin

Recommended Posts

Hello

 

I´m trying to do my first reskin of an vehicle.

The Vehicle is the new Van of the Law of War DLC (C_Van_02_Vehicle_F).

I have done my first config, but my texture dont show up.

when i put the setObjectTexture thing in the init of the vehicle it shows up.

i also tested it with the same config and the MRAP, everything is fine.

i tryed also a view things to stop the random texture thing, no succsess.

When i put the class names of the van in the config it does not work.

 

Is there some sort of blocking for the new vehicles?

 

Here is my config, maybe somebody can help me with this problem.

Spoiler

class CfgPatches
{
    class Titan_Van_skins
    {
        units[] = {"Titan_Van_skins"};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {"A3_Soft_F_MRAP_01"};       //?????
    };
};

class cfgFactionClasses
{
    class TITAN_Faction
    {
        displayName = "8th SFG TITANs";
        priority = 3;
        side = 1                                             //Opfor = 0, Blufor = 1, Indep = 2, Zivil = 3
        icon = "";                                            //Custom Icon
    };
};

class cfgVehicles
{
    class LandVehicle;
    class B_MRAP_01_F;
    class Titan_Van_Test: B_MRAP_01_F            //Rename so there is no conflict
    {
        author = "Weasel/Mike";
        scope = 2;
        side = 1
        faction = "TITAN_Faction"                                    //West: "BLU_F" (NATO), "BLU_G_F" (FIA) East: "OPF_F" (CSAT), "OPF_G_F" (FIA) Guer: "IND_F" (AAF), "IND_G_F" (FIA) Civ: "CIV_F" (Civilians)
        displayName = "Titan Van Test";
        crew = "B_Crew_F";                                    //Change to your Pilot
        hiddenSelections[] = {"Camo1","Camo2","riotpolice"};
        hiddenSelectionsTextures[] = {"TITAN_Van\Data\Van_02_body_titan_CO.paa","\A3\soft_F\MRAP_01\data\MRAP_01_adds_CO.paa",""};
        typicalCargo[]={"B_Crew_F"};
        availableForSupportTypes[] = {};
        picture = "";
    };

    class C_Van_02_Vehicle_F;
    class Titan_Van: C_Van_02_Vehicle_F            //Rename so there is no conflict
    {
        //_generalMacro = "C_Van_02_Vehicle_F";
        author = "Weasel/Mike";
        scope = 2;
        side = 1
        faction = "TITAN_Faction"                                    //West: "BLU_F" (NATO), "BLU_G_F" (FIA) East: "OPF_F" (CSAT), "OPF_G_F" (FIA) Guer: "IND_F" (AAF), "IND_G_F" (FIA) Civ: "CIV_F" (Civilians)
        displayName = "Titan Van";
        crew = "B_Crew_F";                                    //Change to your Pilot
        hiddenSelections[]= {"camo1","camo2","camo3","emergency_lights"};
        hiddenSelectionsTextures[]= {"TITAN_Van\Data\Van_02_body_titan_CO.paa","\a3\soft_f_orange\van_02\data\van_wheel_co.paa","\a3\soft_f_orange\van_02\data\van_glass_utility_ca.paa","\a3\soft_f_orange\van_02\data\van_body_CO.paa"};
        typicalCargo[]={"B_Crew_F"};
        availableForSupportTypes[] = {};
        picture = "";
    };
};

 

Thanks Mike

Share this post


Link to post
Share on other sites

I'm trying to put a texture via addon in the van that came in dlc laws in war, but when I put it in the config and the pbo, the van does not call the tex.

Share this post


Link to post
Share on other sites

You should always post your config.

Im having a similar problem with some guns and wondering if its related

Share this post


Link to post
Share on other sites
Quote

class CfgPatches
{
    class VAN_SERVICO
    {
        units[] = {"VAN_SERVICO"};
        weapons[] = {};
        requiredVersion = 1.0;
        requiredAddons[] = {};
    };
};

class CfgVehicles 
{
    class C_Van_02_service_F;
    class VAN_SERVICO_EB : C_Van_02_service_F
    {
        scope = 2;
        faction="BAF_ARMY";
        side=TWest;
        author = "Wolfgarth";
        displayName = "Van Serviço EB";
        /*first is body texture, second is wing and last is insignia selection. insignia is just leave.*/
        hiddenSelections[] = {"camo1"};
        hiddenselectionstextures[] = {"VAN_BR\Van_02_body_CO_EB.paa"};
        
    };
};

 

Share this post


Link to post
Share on other sites

Hello

 

I managed it to show up my texture with the texture list.

Thanks for that hint!

 

now i want to add the beacon bar to it.

Can someone tell me how to "call" the AnimationSources from the original model?

 

My Config look like this in the moment.

Spoiler

class CfgPatches
{
    class Titan_Van_skins
    {
        units[] = {"Titan_Van"};
        weapons[] = {};
        requiredVersion = 0.1;
        requiredAddons[] = {};
    };
};

class CfgEditorCategories
{
    class TITAN_Faction                         // Category class, you point to it in editorCategory property
    {
        displayName = "8th SFG TITAN Platoon";     // Name visible in the list
    };
};

class CfgEditorSubcategories
{
    class TITAN_FAHRZEUGE                         // Category class, you point to it in editorSubcategory property
    {
        displayName = "Fahrzeuge";                 // Name visible in the list
    };
};

class cfgVehicles
{
    class C_Van_02_Vehicle_F;
    class Titan_Van: C_Van_02_Vehicle_F            //Rename so there is no conflict
    {
        author = "Weasel/Mike";
        scope = 2;
        side = 1;
        editorCategory = "TITAN_Faction";         // Class from CfgEditorCategories. Usually used for props.        
        editorSubcategory = "TITAN_FAHRZEUGE";     // Class from CfgEditorSubcategories. Should be used everywhere.
        displayName = "Transport Van";
        crew = "B_Crew_F";                        //Change to your Driver
        hiddenSelections[]= {"camo1","camo2","camo3","emergency_lights"};
        textures[]=
        {
            "TITAN_Van\Data\Van_02_body_titan_CO.paa",
            "\a3\soft_f_orange\van_02\data\van_wheel_co.paa",
            "\a3\soft_f_orange\van_02\data\van_glass_utility_ca.paa",
            "\a3\soft_f_orange\van_02\data\van_body_CO.paa"
        };
        class textureSources
        {
            // This texture source will be available for every defined factions
            class TITAN_Promotion
            {
                // Display name of the texture
                displayName = "TITANs Promotion";
                // Author of the texture
                author = Weasel/Mike;
                // Paths to the texture files, in the same order as the hidden selections
                textures[] = {"TITAN_Van\Data\Van_02_body_titan_CO.paa"};
                // This source should be available for the following factions
                factions[] = 
                {
                    "BLU_F", "BLU_G_F", // Side Blufor
                    /*"OPF_F", "OPF_G_F", // Side Opfor
                    "IND_F", "IND_G_F", // Side independent
                    "CIV_F" // side civilian*/
                };
            };
        };
        textureList[] = 
        {
            "TITAN_Promotion", 1,
        };        
        typicalCargo[]={"B_Crew_F"};
        availableForSupportTypes[] = {};
        picture = "";
    };
};

 

regards Mike

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  

×