Paint Garage config (final?!)

This commit is contained in:
He-Man 2019-05-03 19:33:10 +02:00
parent 9e57dc410b
commit 00e94d3cc7

View File

@ -1,39 +1,57 @@
class CfgPainting { class CfgPainting {
class DefaultVehicle class DefaultVehicle
{ {
UseArmaDefaultColors = "true"; // Use all availabe default colours from Arma UseArmaDefaultColors = "true";
PaintingCosts = 500; PaintingCosts = 500;
icon = "x\addons\a3_epoch_code\Data\UI\buttons\Paint.paa"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\Paint.paa";
class Pink // Colour will be available for ALL Vehicles };
};
/*
############################ 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"
{ {
ColorName = "Pink"; ColorName = "Pink"; // Will be used as Tooltip in DynaMenu
iconcolor[] = {1,0.0784,0.576,1}; iconcolor[] = {1,0.0784,0.576,1}; // Color for the Icon [R,G,B,ALPHA] (0-1)
textures[] = { 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)" "#(rgb,8,8,3)color(1,0.0784,0.576,1)" // Texture for first selection (most vehicles only need one selection texture)
}; };
}; };
}; };
/* // Define custom colours for each Type like this class C_Hatchback_01_EPOCH : DefaultVehicle // Define custom colors for a unique Vehicle Class
class C_Hatchback_01_EPOCH : DefaultVehicle
{ {
UseArmaDefaultColors = "true"; // Use all availabe default colours from Arma UseArmaDefaultColors = "true"; // Use also all availabe default colours from Arma (for this Vehicle Class)
class Green class Green
{ {3
ColorName = "Green"; ColorName = "Green";
iconcolor[] = {0,1,0,1}; iconcolor[] = {0,1,0,1};
textures[] = { textures[] = {
"#(rgb,8,8,3)color(0,1,0,1)" "#(rgb,8,8,3)color(0,1,0,1)"
}; };
}; };
}; };
class C_Hatchback_01_EPOCH1: C_Hatchback_01_EPOCH{}; class C_Hatchback_01_EPOCH1: C_Hatchback_01_EPOCH{}; // Inherit classes from already defined classes like this
class C_Hatchback_01_EPOCH2: C_Hatchback_01_EPOCH{}; class C_Hatchback_01_EPOCH2: C_Hatchback_01_EPOCH{};
class C_Hatchback_01_EPOCH3: C_Hatchback_01_EPOCH{}; class C_Quadbike_01_EPOCH : DefaultVehicle
class C_Hatchback_01_EPOCH4: C_Hatchback_01_EPOCH{}; {
class C_Hatchback_02_EPOCH: C_Hatchback_01_EPOCH{}; UseArmaDefaultColors = "false"; // This Quad can only be colored with the defined color(s)
class C_Hatchback_02_EPOCH1: C_Hatchback_02_EPOCH{}; class Black
class C_Hatchback_02_EPOCH2: C_Hatchback_02_EPOCH{}; {
class C_Hatchback_02_EPOCH3: C_Hatchback_02_EPOCH{}; ColorName = "Black";
class C_Hatchback_02_EPOCH4: C_Hatchback_02_EPOCH{}; 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 #################################
*/