CfgMarkerColors – Arma 3
Jump to navigation
Jump to search
(Created page with "Category:Arma 3 Category:AI ==Arma 3 Colours== Default, [0,0,0,1]<br> ColorBlack, [0,0,0,1]<br> ColorGrey, [0.5,0.5,0.5,1]<br> ColorRed, [0.9,0,0,1]<br> ColorBrown,...") |
m (changed category) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Arma 3 | [[Category:Arma 3: Editing]] | ||
==Arma 3 Colours== | ==Arma 3 Colours== | ||
Default | ===CfgMarkerColors=== | ||
ColorBlack | {|class ='wikitable' | ||
ColorGrey | |- | ||
ColorRed | ! Config Name !! RGBA | ||
ColorBrown | |- | ||
ColorOrange | |Default || [0,0,0,1] | ||
ColorYellow | |- | ||
ColorKhaki | |ColorBlack || [0,0,0,1] | ||
ColorGreen | |- | ||
ColorBlue | |ColorGrey || [0.5,0.5,0.5,1] | ||
ColorPink | |- | ||
ColorWhite | |ColorRed || [0.9,0,0,1] | ||
ColorWEST | |- | ||
ColorEAST | |ColorBrown || [0.5,0.25,0,1] | ||
ColorGUER | |- | ||
ColorCIV | |ColorOrange || [0.85,0.4,0,1] | ||
ColorUNKNOWN | |- | ||
colorBLUFOR | |ColorYellow || [0.85,0.85,0,1] | ||
colorOPFOR | |- | ||
colorIndependent | |ColorKhaki || [0.5,0.6,0.4,1] | ||
colorCivilian | |- | ||
Color1_FD_F | |ColorGreen || [0,0.8,0,1] | ||
Color2_FD_F | |- | ||
Color3_FD_F | |ColorBlue || [0,0,1,1] | ||
Color4_FD_F | |- | ||
Color5_FD_F | |ColorPink || [1,0.3,0.4,1] | ||
|- | |||
|ColorWhite || [1,1,1,1] | |||
|- | |||
|ColorWEST || [0,0.3,0.6,1] | |||
|- | |||
|ColorEAST || [0.5,0,0,1] | |||
|- | |||
|ColorGUER || [0,0.5,0,1] | |||
|- | |||
|ColorCIV || [0.4,0,0.5,1] | |||
|- | |||
|ColorUNKNOWN || [0.7,0.6,0,1] | |||
|- | |||
|colorBLUFOR || [0,0.3,0.6,1] | |||
|- | |||
|colorOPFOR || [0.5,0,0,1] | |||
|- | |||
|colorIndependent || [0,0.5,0,1] | |||
|- | |||
|colorCivilian || [0.4,0,0.5,1] | |||
|- | |||
|Color1_FD_F || [0.694118,0.2,0.223529,1] | |||
|- | |||
|Color2_FD_F || [0.678431,0.74902,0.513726,1] | |||
|- | |||
|Color3_FD_F || [0.941176,0.509804,0.192157,1] | |||
|- | |||
|Color4_FD_F || [0.403922,0.545098,0.607843,1] | |||
|- | |||
|Color5_FD_F || [0.690196,0.25098,0.654902,1] | |||
|} | |||
===CfgUIColors=== | |||
{|class ='wikitable' | |||
|- | |||
! Name !! RGBA | |||
|- | |||
|Arma 3 Alpha || [173/255,191/255,131/255,0.8] | |||
|- | |||
|Arma 3 Beta || [103/255,139/255,155/255,0.8] | |||
|- | |||
|Arma 3 || [0.77,0.51,0.08,0.8] | |||
|- | |||
|Arma 3 Apex || [103/255,139/255,155/255,0.8] | |||
|- | |||
|Bootcamp Ochre || [195/255,151/255,29/255,0.8] | |||
|- | |||
|Karting Bronze || [0.69,0.25,0.12,0.8] | |||
|- | |||
|SDV Marine || [0.12,0.5,0.42,0.8] | |||
|- | |||
|Drab Olive || [0.35,0.35,0.1,0.8] | |||
|- | |||
|2035 Turquoise || [0.1,0.83,1,0.8]; | |||
|- | |||
|Platform White || [1,1,0.97,0.9] | |||
|- | |||
|Zeus || [0.31,0.78,0.78,0.8] | |||
|} | |||
==Export Function== | ==Export Function== | ||
<code>private | <code>private _columnDesc_1 = param [0,"",[""]]; | ||
private _columnDesc_2 = param [1,"",[""]]; | |||
private _lb = toString [0x0D, 0x0A];//[Carriage Return, new line] | private _lb = toString [0x0D, 0x0A];//[Carriage Return, new line] | ||
private _output = "{|class ='wikitable'" + _lb + format ["|-%1! %2 !! %3",_lb,_columnDesc_1,_columnDesc_2]; | |||
{ | { | ||
private _colour = getArray (_x >> "color") call BIS_fnc_colorConfigToRGBA; | private _colour = getArray (_x >> "color") call BIS_fnc_colorConfigToRGBA; | ||
private _colourName = configName _x; | private _colourName = configName _x; | ||
_output = _output + format ["%1%2 | _output = _output + format ["%1|-%1|%2 || %3",_lb,_colourName,_colour]; | ||
} forEach configProperties [configFile >> "CfgMarkerColors"]; | } forEach configProperties [configFile >> "CfgMarkerColors"]; | ||
_output = _output + _lb + "|}"; | |||
copyToClipboard _output; | copyToClipboard _output;</code> | ||
Revision as of 20:38, 14 December 2018
Arma 3 Colours
CfgMarkerColors
Config Name | RGBA |
---|---|
Default | [0,0,0,1] |
ColorBlack | [0,0,0,1] |
ColorGrey | [0.5,0.5,0.5,1] |
ColorRed | [0.9,0,0,1] |
ColorBrown | [0.5,0.25,0,1] |
ColorOrange | [0.85,0.4,0,1] |
ColorYellow | [0.85,0.85,0,1] |
ColorKhaki | [0.5,0.6,0.4,1] |
ColorGreen | [0,0.8,0,1] |
ColorBlue | [0,0,1,1] |
ColorPink | [1,0.3,0.4,1] |
ColorWhite | [1,1,1,1] |
ColorWEST | [0,0.3,0.6,1] |
ColorEAST | [0.5,0,0,1] |
ColorGUER | [0,0.5,0,1] |
ColorCIV | [0.4,0,0.5,1] |
ColorUNKNOWN | [0.7,0.6,0,1] |
colorBLUFOR | [0,0.3,0.6,1] |
colorOPFOR | [0.5,0,0,1] |
colorIndependent | [0,0.5,0,1] |
colorCivilian | [0.4,0,0.5,1] |
Color1_FD_F | [0.694118,0.2,0.223529,1] |
Color2_FD_F | [0.678431,0.74902,0.513726,1] |
Color3_FD_F | [0.941176,0.509804,0.192157,1] |
Color4_FD_F | [0.403922,0.545098,0.607843,1] |
Color5_FD_F | [0.690196,0.25098,0.654902,1] |
CfgUIColors
Name | RGBA |
---|---|
Arma 3 Alpha | [173/255,191/255,131/255,0.8] |
Arma 3 Beta | [103/255,139/255,155/255,0.8] |
Arma 3 | [0.77,0.51,0.08,0.8] |
Arma 3 Apex | [103/255,139/255,155/255,0.8] |
Bootcamp Ochre | [195/255,151/255,29/255,0.8] |
Karting Bronze | [0.69,0.25,0.12,0.8] |
SDV Marine | [0.12,0.5,0.42,0.8] |
Drab Olive | [0.35,0.35,0.1,0.8] |
2035 Turquoise | [0.1,0.83,1,0.8]; |
Platform White | [1,1,0.97,0.9] |
Zeus | [0.31,0.78,0.78,0.8] |
Export Function
private _columnDesc_1 = param [0,"",[""]];
private _columnDesc_2 = param [1,"",[""]];
private _lb = toString [0x0D, 0x0A];//[Carriage Return, new line]
private _output = "{|class ='wikitable'" + _lb + format ["|-%1! %2 !! %3",_lb,_columnDesc_1,_columnDesc_2];
{
private _colour = getArray (_x >> "color") call BIS_fnc_colorConfigToRGBA;
private _colourName = configName _x;
_output = _output + format ["%1|-%1|%2 || %3",_lb,_colourName,_colour];
} forEach configProperties [configFile >> "CfgMarkerColors"];
_output = _output + _lb + "|}";
copyToClipboard _output;