How to make a simple Armbands mod for DayZ Standalone.
¶ Prerequisites
1.None.
¶ Required Materials
1.Photo editing software --- Adobe Photoshop is recommended, https://www.adobe.com/ca/products/photoshop/free-trial-download.html
2.Script editing software --- I recommend VSCode, https://code.visualstudio.com/download
3.IceBlade's mod package --- https://
The first thing before creating any mod is setting up the structure of the mod. This is essential for organization as well as for the compiler to read everything correctly.
IceBlade_Clothing
and one called @IceBlade_Clothing
.IceBlade_Clothing
.New Text Document.txt
to config.cpp
.class CfgPatches
{
class IceBlade_Clothing // Name of your mod.
{
units[]= // -------------------------------------------------------- |
{ // You can make a list of your items in units[]=. Each item |
"IB_Armband_Example", // must end with a comma (,) EXCEPT for the LAST line. |
"IB_Armband_Dragon" // No comma on last line. |
}; // Example: "IB_Armband_Dragon", |
weapons[]={}; // "IB_Armband_DB" |
requiredVersion=0.1; // |
requiredAddons[]= // |
{ // -------------------------------------------------------- |
"DZ_Characters" // Addons from the game your mod requires. No comma on |
}; // last line. For clothing all you need is DZ_Characters. |
}; // -------------------------------------------------------- |
};
class cfgVehicles
{
// ARMBANDS
// --------------------------------------------------------
class Armband_ColorBase; // Leave alone.
class IB_Armband_Dragon : Armband_ColorBase // Replace IB with your own prefix. Replace Dragon with your armband name.
{
displayName="Dragon Armband"; // Name that players will see ingame.
descriptionShort="Dragon Armband by IceBlade"; // Description that players will see ingame.
scope=2; // Leave alone.
color="ArmbandDragon"; // Replace Dragon with your armband name.
hiddenSelectionsTextures[]= // The file paths to your textures. Yes, you must keep the doubles.
{
"\IceBlade_Clothing\data\armbands\armband_dragon_g_co.paa",
"\IceBlade_Clothing\data\armbands\armband_dragon_small_co.paa",
"\IceBlade_Clothing\data\armbands\armband_dragon_small_co.paa",
"\IceBlade_Clothing\data\armbands\armband_dragon_big_co.paa",
"\IceBlade_Clothing\data\armbands\armband_dragon_big_co.paa" // No comma on last line.
};
};
};
Go Here to learn more about the config.cpp
Now lets test