From 8ff756f36faed422e838d06814c9d621c299ac82 Mon Sep 17 00:00:00 2001 From: He-Man Date: Wed, 1 May 2019 23:59:27 +0200 Subject: [PATCH] Comments for CfgPainting --- Sources/epoch_config/Configs/CfgPainting.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Sources/epoch_config/Configs/CfgPainting.hpp b/Sources/epoch_config/Configs/CfgPainting.hpp index 93fac43f..ec256f3d 100644 --- a/Sources/epoch_config/Configs/CfgPainting.hpp +++ b/Sources/epoch_config/Configs/CfgPainting.hpp @@ -3,6 +3,8 @@ class CfgPainting { { PaintingCosts = 500; icon = "x\addons\a3_epoch_code\Data\UI\buttons\Paint.paa"; + + // All color classes created in "DefaultVehicle" will be available for all sub-classes that inherits from ": DefaultVehicle" class Pink { ColorName = "Pink"; @@ -14,12 +16,12 @@ class CfgPainting { }; class C_Hatchback_01_EPOCH : DefaultVehicle { - class White + class White // Classname only to identify the color (not used in any script) { - ColorName = "White"; - iconcolor[] = {1, 1, 1, 1}; + ColorName = "White"; // Used for the Tooltip in DynaMenu + iconcolor[] = {1, 1, 1, 1}; // If defined, the DynaMenu-Icon will get colored with this color (0-1 instead of 0-255!) {R,G,B,Alpha} textures[] = { - {0,"\A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_ext_CO.paa"} + {0,"\A3\soft_f_gamma\Hatchback_01\data\Hatchback_01_ext_CO.paa"} // {selectionNumber,texture} see also https://community.bistudio.com/wiki/setObjectTextureGlobal }; }; class Green