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?