Jump to content
Sign in to follow this  
EUTW-PVP vicious

Need help with config.cpp for Custom Tents

Recommended Posts

Hello guys.

I customized the Medium. Just changed the color and i want to add some camo pattern in near future too.

I currently have the problem that the config.cpp is not working correctly for me. I have some understanding problems. Maybe you can help me out. 

 

I created for the Medium Tent 2 custom files (placed in the data folder):

  • olive_tent_medium_packed_co.paa
  • olive_tent_medium_pitched_b_co.paa

My config.cpp looks like this:

// #include "BIS_AddonInfo.hpp"
class CfgPatches
{
    class camo_tent_pack_olive
    {
        units[]={};
        weapons[]={};
        requiredVersion=0.1;
        requiredAddons[]=
        {
            "DZ_Gear_Camping",
            "DZ_Data"
        };
    };
};
class cfgVehicles
{
       class custom_olive_tent_medium :MediumTent
    {
        displayName="Medium Tent Olive";
        descriptionShort="The Medium Tent in olive camouflage color";
        scope=2;
        hiddenSelectionsTextures[]=
        {
            "data\olive_tent_medium_pitched_b_co.paa";
            "data\olive_tent_medium_packed_co.paa"
        };
    };
};

Full regular config.cpp here: https://github.com/ravmustang/DayZ_SA_ClassName_Dump/blob/master/CurrentConfigs/gear_camping/config.cpp

Im testing with the Offline Mode. 

Is it possible to replace the current colored tents? Or can i just add a variant?

Edited by tier1_vicious

Share this post


Link to post
Share on other sites

Good luck, i can't figure it out. I've tried but i'm going crasy now. If you or someone find please tell me.

I was trying to make custom tent for my paint mod but ...

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  

×