2019-05-01 21:31:15 +00:00
|
|
|
class CfgPainting {
|
|
|
|
class DefaultVehicle
|
|
|
|
{
|
2019-05-03 17:33:10 +00:00
|
|
|
UseArmaDefaultColors = "true";
|
2019-05-01 21:31:15 +00:00
|
|
|
PaintingCosts = 500;
|
|
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Paint.paa";
|
2019-05-03 17:33:10 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
############################ Start Full Example #################################
|
|
|
|
class CfgPainting {
|
|
|
|
class DefaultVehicle
|
|
|
|
{
|
|
|
|
UseArmaDefaultColors = "true"; // Use all availabe default colours from Arma (for all Vehicles)
|
|
|
|
PaintingCosts = 500; // Crypto costs for Painting
|
|
|
|
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Paint.paa"; // Icon for the DynaMenu
|
|
|
|
|
|
|
|
class Pink // Define custom colors for ALL Vehicle classes within "DefaultVehicle"
|
2019-05-01 21:31:15 +00:00
|
|
|
{
|
2019-05-03 17:33:10 +00:00
|
|
|
ColorName = "Pink"; // Will be used as Tooltip in DynaMenu
|
|
|
|
iconcolor[] = {1,0.0784,0.576,1}; // Color for the Icon [R,G,B,ALPHA] (0-1)
|
|
|
|
textures[] = { // Texture array. Use "#(rgb,8,8,3)color(R,G,B,1)" for simple colors
|
|
|
|
"#(rgb,8,8,3)color(1,0.0784,0.576,1)" // Texture for first selection (most vehicles only need one selection texture)
|
2019-05-01 21:31:15 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2019-05-03 17:33:10 +00:00
|
|
|
class C_Hatchback_01_EPOCH : DefaultVehicle // Define custom colors for a unique Vehicle Class
|
2019-05-01 21:31:15 +00:00
|
|
|
{
|
2019-05-03 17:33:10 +00:00
|
|
|
UseArmaDefaultColors = "true"; // Use also all availabe default colours from Arma (for this Vehicle Class)
|
2019-05-01 21:31:15 +00:00
|
|
|
class Green
|
2019-10-12 19:45:24 +00:00
|
|
|
{
|
2019-05-01 21:31:15 +00:00
|
|
|
ColorName = "Green";
|
2019-05-02 21:07:51 +00:00
|
|
|
iconcolor[] = {0,1,0,1};
|
2019-05-01 21:31:15 +00:00
|
|
|
textures[] = {
|
2019-05-02 21:07:51 +00:00
|
|
|
"#(rgb,8,8,3)color(0,1,0,1)"
|
2019-05-01 21:31:15 +00:00
|
|
|
};
|
|
|
|
};
|
2019-05-03 17:33:10 +00:00
|
|
|
};
|
|
|
|
class C_Hatchback_01_EPOCH1: C_Hatchback_01_EPOCH{}; // Inherit classes from already defined classes like this
|
2019-05-01 21:31:15 +00:00
|
|
|
class C_Hatchback_01_EPOCH2: C_Hatchback_01_EPOCH{};
|
2019-05-03 17:33:10 +00:00
|
|
|
class C_Quadbike_01_EPOCH : DefaultVehicle
|
|
|
|
{
|
|
|
|
UseArmaDefaultColors = "false"; // This Quad can only be colored with the defined color(s)
|
|
|
|
class Black
|
|
|
|
{
|
|
|
|
ColorName = "Black";
|
|
|
|
iconcolor[] = {0,0,0,1};
|
|
|
|
textures[] = {
|
|
|
|
"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_CIV_BLACK_CO.paa",
|
|
|
|
"\A3\Soft_F_Beta\Quadbike_01\Data\Quadbike_01_wheel_CIVBLACK_CO.paa"
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
############################ End Full Example #################################
|
|
|
|
*/
|