Hello all:
I did a mod a long time ago that adds some simple re-textured Berets. The model works completely fine, and shows up in the Virtual Arsenal.
Unfortunately, it never shows in Zeus when you go to create a custom ammo crate. (The menu where you click through the tabs on a custom crate). This means mid mission, a Zeus cannot add it.
Any thoughts?
Config.CPP
#define private 0
#define protected 1
#define public 2
class CfgPatches {
class DAR_Stetson {
units[] = {};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class CfgVehicleClasses {
class DAR_Stetson {
displayName = "US Army Headwear";
};
};
class CfgVehicles
{
class B_Soldier_base_F;
};
class cfgWeapons {
class ItemCore; // External class reference
class InventoryItem_Base_F; // External class reference
class HeadgearItem; // External class reference
class DAR_Stetson : ItemCore {
scope = public;
weaponPoolAvailable = 1;
displayName = "Cav Stetson";
author = "Richards.D";
picture = "\DAR_Stetson\UI\icon_h_stetson_ca.paa";
model = "\DAR_Stetson\DAR_Stetson";
hiddenSelectionsTextures[] = {"\DAR_Stetson\Data\Stetson_co.paa"};
hiddenSelections[] = {"Camo"};
class ItemInfo : HeadgearItem {
mass = 5;
uniformmodel = "\DAR_Stetson\DAR_Stetson";
modelSides[] = {3, 1};
armor = 0;
passThrough = 0.95;
hiddenSelectionsTextures[] = {"\DAR_Stetson\Data\Stetson_co.paa"};
hiddenSelections[] = {"Camo"};
};
};
};