CfgMarkerColors – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{Feature|Informative|Extraction script can be found on the Biki Export Scripts page.}}" to "{{Wiki|extractionScript}}")
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Arma 3]]
{{ConfigPage|start}}
An overview of the CfgMarkerColors class.


==Arma 3 Colours==
{{ConfigPage|abc}}
== Alphabetical Order ==
=== C ===
==== color ====
[[TokenNameValueTypes#Array|Array]]


===CfgMarkerColors===
<syntaxhighlight lang="c">
{|class ='wikitable'
color[] = {0,0,0,1}; //Color in format RGBA
</syntaxhighlight>
 
=== N ===
==== name ====
[[TokenNameValueTypes#String|String]]
 
<syntaxhighlight lang="c">
name = "Default"; //Name used as display name in UIs
</syntaxhighlight>
 
=== S ===
==== scope ====
[[TokenNameValueTypes#Integer|Integer]]
 
<syntaxhighlight lang="c">
scope = 1; //Accessibility 1=public, 0=private
</syntaxhighlight>
{{ConfigPage|end}}
 
 
= Marker Color Classes =
 
{| class ="wikitable"
|-
|-
! Config Name !! RGBA
! Config Name !! RGBA
Line 59: Line 87:
|-
|-
|Color5_FD_F || [0.690196,0.25098,0.654902,1]
|Color5_FD_F || [0.690196,0.25098,0.654902,1]
|-
|Color6_FD_F || [0.352941,0.34902,0.352941,1]
|}
|}
===CfgUIColors===


{|class ='wikitable'
{{Wiki|extractionScript}}
|-
{{GameCategory|arma3|Reference Lists}}
! 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==
<code>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;</code>

Revision as of 00:57, 18 August 2021

An overview of the CfgMarkerColors class.

Alphabetical Order

C

color

Array

color[] = {0,0,0,1}; //Color in format RGBA

N

name

String

name = "Default"; //Name used as display name in UIs

S

scope

Integer

scope = 1; //Accessibility 1=public, 0=private


Marker Color Classes

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]
Color6_FD_F [0.352941,0.34902,0.352941,1]
Extraction script can be found on the Biki Export Scripts page.