English [Vehicle Clors] Add 151 different vehicle colors to your server

Flobbah

User
29/12/19
2
2
100
Hey there,
I got bored in quarantine, so i mixed 151 coulors for vehicles. (Recommended on modded vehicles)
On normal Arma III vehicles, you may not use this.
Lets see how we add them to your server!

At first open you "Config_Vehicles.hpp" located on "your_mission_name/config"
find this line:
Code:
class LifeCfgVehicles {
add this above it:
Code:
class Colors {
    textures[] = {
        { "Black", "civ", {
            "#(argb,8,8,3)color(0,0,0,1.0,CO)"
        } },
        { "White", "civ", {
            "#(argb,8,8,3)color(1,1,1,1.0,CO)"
        } },
        { "Grey", "civ", {
            "#(argb,8,8,3)color(0.521569,0.521569,0.521569,1.0,CO)"
        } },
        { "Grey Blue", "civ", {
            "#(argb,8,8,3)color(0.537255,0.647059,0.811765,1.0,CO)"
        } },
        { "Dark Blue Grey", "civ", {
            "#(argb,8,8,3)color(0.278431,0.427451,0.713725,1.0,CO)"
        } },
        { "Light Blue", "civ", {
            "#(argb,8,8,3)color(0.192157,0.556863,0.968627,1.0,CO)"
        } },
        { "Blue", "civ", {
            "#(argb,8,8,3)color(0.0352941,0.415686,0.882353,1.0,CO)"
        } },
        { "Dark Blue", "civ", {
            "#(argb,8,8,3)color(0.0235294,0.12549,0.592157,1.0,CO)"
        } },
        { "Turquoise Blue", "civ", {
            "#(argb,8,8,3)color(0,0.717647,0.717647,1.0,CO)"
        } },
        { "Bright Red", "civ", {
            "#(argb,8,8,3)color(0.992157,0.258824,0.258824,1.0,CO)"
        } },
        { "Red", "civ", {
            "#(argb,8,8,3)color(0.843137,0,0,1.0,CO)"
        } },
        { "Dark Red", "civ", {
            "#(argb,8,8,3)color(0.466667,0,0,1.0,CO)"
        } },
        { "Bordeaux Red", "civ", {
            "#(argb,8,8,3)color(0.517647,0.0156863,0.027451,1.0,CO)"
        } },
        { "Light Green", "civ", {
            "#(argb,8,8,3)color(0.270588,0.862745,0.345098,1.0,CO)"
        } },
        { "Green", "civ", {
            "#(argb,8,8,3)color(0.105882,0.545098,0.156863,1.0,CO)"
        } },
        { "Dark Green", "civ", {
            "#(argb,8,8,3)color(0.0509804,0.266667,0.0784314,1.0,CO)"
        } },
        { "Lime Green", "civ", {
            "#(argb,8,8,3)color(0.65098,0.996078,0.00392157,1.0,CO)"
        } },
        { "Khaki", "civ", {
            "#(argb,8,8,3)color(0.392157,0.447059,0.180392,1.0,CO)"
        } },
        { "Yellow", "civ", {
            "#(argb,8,8,3)color(0.917647,0.886275,0.356863,1.0,CO)"
        } },
        { "Orange", "civ", {
            "#(argb,8,8,3)color(0.921569,0.435294,0.137255,1.0,CO)"
        } },
        { "Ton", "civ", {
            "#(argb,8,8,3)color(0.788235,0.427451,0.380392,1.0,CO)"
        } },
        { "Brown", "civ", {
            "#(argb,8,8,3)color(0.713725,0.517647,0.305882,1.0,CO)"
        } },
        { "Dark Brown", "civ", {
            "#(argb,8,8,3)color(0.407843,0.290196,0.168627,1.0,CO)"
        } },
        { "Pink", "civ", {
            "#(argb,8,8,3)color(0.972549,0.470588,0.756863,1.0,CO)"
        } },
        { "Dark Pink", "civ", {
            "#(argb,8,8,3)color(0.713725,0.32549,0.843137,1.0,CO)"
        } },
        { "Lavender", "civ", {
            "#(argb,8,8,3)color(0.717647,0.662745,0.960784,1.0,CO)"
        } },
        { "Violet", "civ", {
            "#(argb,8,8,3)color(0.392157,0.0431373,0.67451,1.0,CO)"
        } },
        { "AliceBlue", "civ", {
            "#(rgb,8,8,3)color(0.94,0.97,1.0,1.0,CO)"
        } },
        { "BlueViolet", "civ", {
            "#(rgb,8,8,3)color(0.54,0.17,0.89,1.0,CO)"
        } },
        { "CadetBlue", "civ", {
            "#(rgb,8,8,3)color(0.37,0.62,0.63,1.0,CO)"
        } },
        { "CornflowerBlue", "civ", {
            "#(rgb,8,8,3)color(0.39,0.58,0.93,1.0,CO)"
        } },
        { "DarkBlue", "civ", {
            "#(rgb,8,8,3)color(0.0,0.0,0.55,1.0,CO)"
        } },
        { "DarkCyan", "civ", {
            "#(rgb,8,8,3)color(0.0,0.55,0.55,1.0,CO)"
        } },
        { "DarkSlateBlue", "civ", {
            "#(rgb,8,8,3)color(0.28,0.24,0.55,1.0,CO)"
        } },
        { "DarkTurquoise", "civ", {
            "#(rgb,8,8,3)color(0.0,0.81,0.82,1.0,CO)"
        } },
        { "DeepSkyBlue", "civ", {
            "#(rgb,8,8,3)color(0.0,0.75,1.0,1.0,CO)"
        } },
        { "DodgerBlue", "civ", {
            "#(rgb,8,8,3)color(0.12,0.56,1.0,1.0,CO)"
        } },
        { "LightBlue", "civ", {
            "#(rgb,8,8,3)color(0.68,0.85,0.90,1.0,CO)"
        } },
        { "LightCyan", "civ", {
            "#(rgb,8,8,3)color(0.88,1.0,1.0,1,CO)"
        } },
        { "LightSkyBlue", "civ", {
            "#(rgb,8,8,3)color(0.53,0.81,0.98,1,CO)"
        } },
        { "LightSlateBlue", "civ", {
            "#(rgb,8,8,3)color(0.52,0.44,1.0,1,CO)"
        } },
        { "LightSteelBlue", "civ", {
            "#(rgb,8,8,3)color(0.69,0.77,0.87,1,CO)"
        } },
        { "MediumAquamarine", "civ", {
            "#(rgb,8,8,3)color(0.40,0.80,0.67,1,CO)"
        } },
        { "MediumBlue", "civ", {
            "#(rgb,8,8,3)color(0.0,0.0,0.80,1,CO)"
        } },
        { "MediumSlateBlue", "civ", {
            "#(rgb,8,8,3)color(0.48,0.41,0.93,1,CO)"
        } },
        { "MediumTurquoise", "civ", {
            "#(rgb,8,8,3)color(0.28,0.82,0.80,1,CO)"
        } },
        { "MidnightBlue", "civ", {
            "#(rgb,8,8,3)color(0.10,0.10,0.44,1,CO)"
        } },
        { "NavyBlue", "civ", {
            "#(rgb,8,8,3)color(0.0,0.0,0.50,1,CO)"
        } },
        { "PaleTurquoise", "civ", {
            "#(rgb,8,8,3)color(0.69,0.93,0.93,1,CO)"
        } },
        { "PowderBlue", "civ", {
            "#(rgb,8,8,3)color(0.69,0.88,0.90,1,CO)"
        } },
        { "RoyalBlue", "civ", {
            "#(rgb,8,8,3)color(0.25,0.41,0.88,1,CO)"
        } },
        { "SkyBlue", "civ", {
            "#(rgb,8,8,3)color(0.53,0.81,0.92,1,CO)"
        } },
        { "SlateBlue", "civ", {
            "#(rgb,8,8,3)color(0.42,0.35,0.80,1,CO)"
        } },
        { "SteelBlue", "civ", {
            "#(rgb,8,8,3)color(0.27,0.51,0.71,1,CO)"
        } },
        { "Aquamarine", "civ", {
            "#(rgb,8,8,3)color(0.50,1.0,0.83,1,CO)"
        } },
        { "Azure", "civ", {
            "#(rgb,8,8,3)color(0.94,1.0,1.0,1,CO)"
        } },
        { "Blue", "civ", {
            "#(rgb,8,8,3)color(0.0,0.0,1.0,1,CO)"
        } },
        { "Cyan", "civ", {
            "#(rgb,8,8,3)color(0.0,1.0,1.0,1,CO)"
        } },
        { "Navy", "civ", {
            "#(rgb,8,8,3)color(0.0,0.0,0.50,1,CO)"
        } },
        { "Turquoise", "civ", {
            "#(rgb,8,8,3)color(0.25,0.88,0.82,1,CO)"
        } },
        { "RosyBrown", "civ", {
            "#(rgb,8,8,3)color(0.74,0.56,0.56,1,CO)"
        } },
        { "SaddleBrown", "civ", {
            "#(rgb,8,8,3)color(0.55,0.27,0.07,1,CO)"
        } },
        { "SandyBrown", "civ", {
            "#(rgb,8,8,3)color(0.96,0.64,0.38,1,CO)"
        } },
        { "Beige", "civ", {
            "#(rgb,8,8,3)color(0.96,0.96,0.86,1,CO)"
        } },
        { "Brown", "civ", {
            "#(rgb,8,8,3)color(0.65,0.16,0.16,1,CO)"
        } },
        { "Burlywood", "civ", {
            "#(rgb,8,8,3)color(0.87,0.72,0.53,1,CO)"
        } },
        { "Chocolate", "civ", {
            "#(rgb,8,8,3)color(0.55,0.27,0.07,1,CO)"
        } },
        { "Peru", "civ", {
            "#(rgb,8,8,3)color(0.80,0.52,0.25,1,CO)"
        } },
        { "Tan", "civ", {
            "#(rgb,8,8,3)color(0.82,0.71,0.55,1,CO)"
        } },
        { "DarkSlateGray", "civ", {
            "#(rgb,8,8,3)color(0.18,0.31,0.31,1,CO)"
        } },
        { "DimGray", "civ", {
            "#(rgb,8,8,3)color(0.41,0.41,0.41,1,CO)"
        } },
        { "LightGray", "civ", {
            "#(rgb,8,8,3)color(0.83,0.83,0.83,1,CO)"
        } },
        { "LightSlateGray", "civ", {
            "#(rgb,8,8,3)color(0.47,0.53,0.60,1,CO)"
        } },
        { "Gray", "civ", {
            "#(rgb,8,8,3)color(0.75,0.75,0.75,1,CO)"
        } },
        { "DarkGreen", "civ", {
            "#(rgb,8,8,3)color(0.0,0.39,0.0,1,CO)"
        } },
        { "DarkKhaki", "civ", {
            "#(rgb,8,8,3)color(0.74,0.72,0.42,1,CO)"
        } },
        { "DarkOliveGreen", "civ", {
            "#(rgb,8,8,3)color(0.33,0.42,0.18,1,CO)"
        } },
        { "DarkSeaGreen", "civ", {
            "#(rgb,8,8,3)color(0.56,0.74,0.56,1,CO)"
        } },
        { "ForestGreen", "civ", {
            "#(rgb,8,8,3)color(0.13,0.55,0.13,1,CO)"
        } },
        { "GreenYellow", "civ", {
            "#(rgb,8,8,3)color(0.68,1.0,0.18,1,CO)"
        } },
        { "LawnGreen", "civ", {
            "#(rgb,8,8,3)color(0.49,0.99,0.0,1,CO)"
        } },
        { "LightGreen", "civ", {
            "#(rgb,8,8,3)color(0.56,0.93,0.56,1,CO)"
        } },
        { "LightSeaGreen", "civ", {
            "#(rgb,8,8,3)color(0.13,0.70,0.67,1,CO)"
        } },
        { "LimeGreen", "civ", {
            "#(rgb,8,8,3)color(0.20,0.80,0.20,1,CO)"
        } },
        { "MediumSeaGreen", "civ", {
            "#(rgb,8,8,3)color(0.24,0.70,0.44,1,CO)"
        } },
        { "MediumSpringGreen", "civ", {
            "#(rgb,8,8,3)color(0.0,0.98,0.60,1,CO)"
        } },
        { "MintCream", "civ", {
            "#(rgb,8,8,3)color(0.96,1.0,0.98,1,CO)"
        } },
        { "OliveDrab", "civ", {
            "#(rgb,8,8,3)color(0.42,0.56,0.14,1,CO)"
        } },
        { "PaleGreen", "civ", {
            "#(rgb,8,8,3)color(0.60,0.98,0.60,1,CO)"
        } },
        { "SeaGreen", "civ", {
            "#(rgb,8,8,3)color(0.18,0.55,0.34,1,CO)"
        } },
        { "SpringGreen", "civ", {
            "#(rgb,8,8,3)color(0.0,1.0,0.50,1,CO)"
        } },
        { "YellowGreen", "civ", {
            "#(rgb,8,8,3)color(0.60,0.80,0.20,1,CO)"
        } },
        { "Chartreuse", "civ", {
            "#(rgb,8,8,3)color(0.50,1.0,0.0,1,CO)"
        } },
        { "Green", "civ", {
            "#(rgb,8,8,3)color(0.0,1.0,0.0,1,CO)"
        } },
        { "Khaki", "civ", {
            "#(rgb,8,8,3)color(0.55,0.53,0.31,1,CO)"
        } },
        { "DarkOrange", "civ", {
            "#(rgb,8,8,3)color(1.0,0.55,0.0,1,CO)"
        } },
        { "DarkSalmon", "civ", {
            "#(rgb,8,8,3)color(0.91,0.59,0.48,1,CO)"
        } },
        { "LightCoral", "civ", {
            "#(rgb,8,8,3)color(0.94,0.50,0.50,1,CO)"
        } },
        { "LightSalmon", "civ", {
            "#(rgb,8,8,3)color(1.0,0.63,0.48,1,CO)"
        } },
        { "PeachPuff", "civ", {
            "#(rgb,8,8,3)color(1.0,0.85,0.73,1,CO)"
        } },
        { "Bisque", "civ", {
            "#(rgb,8,8,3)color(1.0,0.89,0.77,1,CO)"
        } },
        { "Coral", "civ", {
            "#(rgb,8,8,3)color(1.0,0.50,0.31,1,CO)"
        } },
        { "Honeydew", "civ", {
            "#(rgb,8,8,3)color(0.94,1.0,0.94,1,CO)"
        } },
        { "Orange", "civ", {
            "#(rgb,8,8,3)color(1.0,0.65,0.0,1,CO)"
        } },
        { "Salmon", "civ", {
            "#(rgb,8,8,3)color(0.98,0.50,0.45,1,CO)"
        } },
        { "Sienna", "civ", {
            "#(rgb,8,8,3)color(0.63,0.32,0.18,1,CO)"
        } },
        { "DarkRed", "civ", {
            "#(rgb,8,8,3)color(0.55,0.0,0.0,1,CO)"
        } },
        { "DeepPink", "civ", {
            "#(rgb,8,8,3)color(0.80,0.06,0.46,1,CO)"
        } },
        { "HotPink", "civ", {
            "#(rgb,8,8,3)color(1.0,0.41,0.71,1,CO)"
        } },
        { "IndianRed", "civ", {
            "#(rgb,8,8,3)color(0.80,0.36,0.36,1,CO)"
        } },
        { "LightPink", "civ", {
            "#(rgb,8,8,3)color(1.0,0.71,0.76,1,CO)"
        } },
        { "MediumVioletRed", "civ", {
            "#(rgb,8,8,3)color(0.78,0.08,0.52,1,CO)"
        } },
        { "MistyRose", "civ", {
            "#(rgb,8,8,3)color(1.0,0.89,0.88,1,CO)"
        } },
        { "OrangeRed", "civ", {
            "#(rgb,8,8,3)color(1.0,0.27,0.0,1,CO)"
        } },
        { "PaleVioletRed", "civ", {
            "#(rgb,8,8,3)color(0.86,0.44,0.58,1,CO)"
        } },
        { "VioletRed", "civ", {
            "#(rgb,8,8,3)color(0.82,0.13,0.56,1,CO)"
        } },
        { "Firebrick", "civ", {
            "#(rgb,8,8,3)color(0.70,0.13,0.13,1,CO)"
        } },
        { "Pink", "civ", {
            "#(rgb,8,8,3)color(1.0,0.75,0.80,1,CO)"
        } },
        { "Red", "civ", {
            "#(rgb,8,8,3)color(1.0,0.0,0.0,1,CO)"
        } },
        { "Tomato", "civ", {
            "#(rgb,8,8,3)color(1.0,0.39,0.28,1,CO)"
        } },
        { "DarkMagenta", "civ", {
            "#(rgb,8,8,3)color(0.55,0.0,0.55,1,CO)"
        } },
        { "DarkOrchid", "civ", {
            "#(rgb,8,8,3)color(0.60,0.20,0.80,1,CO)"
        } },
        { "DarkViolet", "civ", {
            "#(rgb,8,8,3)color(0.58,0.0,0.83,1,CO)"
        } },
        { "LavenderBlush", "civ", {
            "#(rgb,8,8,3)color(1.0,0.94,0.96,1,CO)"
        } },
        { "MediumOrchid", "civ", {
            "#(rgb,8,8,3)color(0.73,0.33,0.83,1,CO)"
        } },
        { "MediumPurple", "civ", {
            "#(rgb,8,8,3)color(0.58,0.44,0.86,1,CO)"
        } },
        { "Lavender", "civ", {
            "#(rgb,8,8,3)color(0.90,0.90,0.98,1,CO)"
        } },
        { "Magenta", "civ", {
            "#(rgb,8,8,3)color(1.0,0.0,1.0,1,CO)"
        } },
        { "Maroon", "civ", {
            "#(rgb,8,8,3)color(0.69,0.19,0.38,1,CO)"
        } },
        { "Orchid", "civ", {
            "#(rgb,8,8,3)color(0.85,0.44,0.84,1,CO)"
        } },
        { "Plum", "civ", {
            "#(rgb,8,8,3)color(0.87,0.63,0.87,1,CO)"
        } },
        { "Purple", "civ", {
            "#(rgb,8,8,3)color(0.63,0.13,0.94,1,CO)"
        } },
        { "Thistle", "civ", {
            "#(rgb,8,8,3)color(0.85,0.75,0.85,1,CO)"
        } },
        { "Violet", "civ", {
            "#(rgb,8,8,3)color(0.93,0.51,0.93,1,CO)"
        } },
        { "AntiqueWhite", "civ", {
            "#(rgb,8,8,3)color(0.98,0.92,0.84,1,CO)"
        } },
        { "Linen", "civ", {
            "#(rgb,8,8,3)color(0.98,0.94,0.90,1,CO)"
        } },
        { "Snow", "civ", {
            "#(rgb,8,8,3)color(1.0,0.98,0.98,1,CO)"
        } },
        { "White", "civ", {
            "#(rgb,8,8,3)color(1.0,1.0,1.0,1,CO)"
        } },
        { "BlanchedAlmond", "civ", {
            "#(rgb,8,8,3)color(1.0,0.92,0.80,1,CO)"
        } },
        { "DarkGoldenrod", "civ", {
            "#(rgb,8,8,3)color(0.72,0.53,0.04,1,CO)"
        } },
        { "LemonChiffon", "civ", {
            "#(rgb,8,8,3)color(1.0,0.98,0.80,1,CO)"
        } },
        { "LightGoldenrod", "civ", {
            "#(rgb,8,8,3)color(0.93,0.87,0.51,1,CO)"
        } },
        { "LightGoldenrodYellow", "civ", {
            "#(rgb,8,8,3)color(0.98,0.98,0.82,1,CO)"
        } },
        { "LightYellow", "civ", {
            "#(rgb,8,8,3)color(1.0,1.0,0.88,1,CO)"
        } },
        { "PaleGoldenrod", "civ", {
            "#(rgb,8,8,3)color(0.93,0.91,0.67,1,CO)"
        } },
        { "PapayaWhip", "civ", {
            "#(rgb,8,8,3)color(0.99,0.94,0.84,1,CO)"
        } },
        { "Cornsilk", "civ", {
            "#(rgb,8,8,3)color(0.99,0.97,0.86,1,CO)"
        } },
        { "Gold", "civ", {
            "#(rgb,8,8,3)color(1.0,0.84,0.0,1,CO)"
        } },
        { "Goldenrod", "civ", {
            "#(rgb,8,8,3)color(0.85,0.65,0.13,1,CO)"
        } },
        { "Moccasin", "civ", {
            "#(rgb,8,8,3)color(1.0,0.89,0.71,1,CO)"
        } },
        { "Moccasin", "civ", {
            "#(rgb,8,8,3)color(1.0,1.0,0.0,1,CO)"
        } }
    };
};
Then you need to get the colors on your cars
Your have to rewrite each Vehicle wich you want this colors on like the following
here is an example:
Code:
class Default {
        vItemSpace = -1;
        conditions = "";
        price = -1;
        textures[] = {};
    };

Remove the "textures[] = {};" and add to the class ": Colors" like this:
Code:
class Default : Colors {
        vItemSpace = -1;
        conditions = "";
        price = -1;
    };

If you are using the Fuel Sation Script by The_Programmer it should look like this:
Code:
    class Default : Colors {
        vItemSpace = -1;
        conditions = "";
        price = -1;
        fuel = "your_fuel_type";
    };

It should be done.
 
Dernière édition:
All of the car get color, even light, plate and wheels do you know how to fix it ? or it's possible only with modded car ?
 
Normal Arma vehicles are using skins. They don't differentiate between wheels, lights etc. To get the best experience with this, you should use vehicles, that cant differentiate with this. So yes, modded vehicles are recommended.
Sorry if you lost some time trying this out :(
 
  • Like
Les réactions: Majishann et Chaton