CT MAP MAIN: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "{{CT|intro" to "Category: Control Types {{CT|intro ")
m (Text replacement - " ( *class [a-zA-Z0-9_]+): *([a-zA-Z0-9_]+ *) " to " $1 : $2 ")
 
(7 intermediate revisions by 3 users not shown)
Line 5: Line 5:
|macro = CT_MAP_MAIN
|macro = CT_MAP_MAIN
|value = 101
|value = 101
|description = A control that gives access to the map including markers. The ingame map that is opened with "M" uses this control type.
|description = A control that gives access to the map including markers. The ingame map that is opened with {{Controls|M}} uses this control type. [[CT_MAP_MAIN]] controls cannot be placed inside a [[CT_CONTROLS_GROUP]], because they are handled differently inside the engine due to their complexity. For more information see: {{Link|link= https://forums.bohemia.net/forums/topic/191876-map-control-not-positioned-correctly-using-ctrlcreate/?tab=comments#comment-3049009|text= BI Forums}}.
|gallery=
|gallery=
|commands =
|commands =
Line 13: Line 13:
}}
}}


{{DoLater|Merge the information from [[DialogControls-Map]] here. It's just so much!}}
{{CT|abc start}}
{{CT|abc start}}
=== A ===
=== A ===
Line 1,612: Line 1,611:
=== RscMapControlEmpty ===
=== RscMapControlEmpty ===
<syntaxhighlight lang="cpp">
<syntaxhighlight lang="cpp">
class RscMapControlEmpty: RscMapControl
class RscMapControlEmpty : RscMapControl
{
{
type = CT_MAP_MAIN;
type = CT_MAP_MAIN;
Line 1,644: Line 1,643:
colorGrid[] = {0,0,0,0};
colorGrid[] = {0,0,0,0};
colorGridMap[] = {0,0,0,0};
colorGridMap[] = {0,0,0,0};
class Task: Task
class Task : Task
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,658: Line 1,657:
size = 0;
size = 0;
};
};
class Waypoint: Waypoint
class Waypoint : Waypoint
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,664: Line 1,663:
size = 0;
size = 0;
};
};
class WaypointCompleted: WaypointCompleted
class WaypointCompleted : WaypointCompleted
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,670: Line 1,669:
size = 0;
size = 0;
};
};
class CustomMark: CustomMark
class CustomMark : CustomMark
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,676: Line 1,675:
size = 0;
size = 0;
};
};
class Command: Command
class Command : Command
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,682: Line 1,681:
size = 0;
size = 0;
};
};
class Bush: Bush
class Bush : Bush
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,688: Line 1,687:
size = 0;
size = 0;
};
};
class Rock: Rock
class Rock : Rock
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,694: Line 1,693:
size = 0;
size = 0;
};
};
class SmallTree: SmallTree
class SmallTree : SmallTree
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,700: Line 1,699:
size = 0;
size = 0;
};
};
class Tree: Tree
class Tree : Tree
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,706: Line 1,705:
size = 0;
size = 0;
};
};
class busstop: BusStop
class busstop : BusStop
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,712: Line 1,711:
size = 0;
size = 0;
};
};
class fuelstation: Fuelstation
class fuelstation : Fuelstation
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,718: Line 1,717:
size = 0;
size = 0;
};
};
class hospital: Hospital
class hospital : Hospital
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,724: Line 1,723:
size = 0;
size = 0;
};
};
class church: Church
class church : Church
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,730: Line 1,729:
size = 0;
size = 0;
};
};
class lighthouse: Lighthouse
class lighthouse : Lighthouse
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,736: Line 1,735:
size = 0;
size = 0;
};
};
class power: power
class power : power
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,742: Line 1,741:
size = 0;
size = 0;
};
};
class powersolar: powersolar
class powersolar : powersolar
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,748: Line 1,747:
size = 0;
size = 0;
};
};
class powerwave: powerwave
class powerwave : powerwave
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,754: Line 1,753:
size = 0;
size = 0;
};
};
class powerwind: powerwind
class powerwind : powerwind
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,760: Line 1,759:
size = 0;
size = 0;
};
};
class quay: Quay
class quay : Quay
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,766: Line 1,765:
size = 0;
size = 0;
};
};
class shipwreck: Shipwreck
class shipwreck : Shipwreck
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,772: Line 1,771:
size = 0;
size = 0;
};
};
class transmitter: Transmitter
class transmitter : Transmitter
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,778: Line 1,777:
size = 0;
size = 0;
};
};
class watertower: Watertower
class watertower : Watertower
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,784: Line 1,783:
size = 0;
size = 0;
};
};
class Bunker: Bunker
class Bunker : Bunker
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,790: Line 1,789:
size = 0;
size = 0;
};
};
class Cross: Cross
class Cross : Cross
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,796: Line 1,795:
size = 0;
size = 0;
};
};
class Fortress: Fortress
class Fortress : Fortress
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,802: Line 1,801:
size = 0;
size = 0;
};
};
class Fountain: Fountain
class Fountain : Fountain
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,808: Line 1,807:
size = 0;
size = 0;
};
};
class Chapel: Chapel
class Chapel : Chapel
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,814: Line 1,813:
size = 0;
size = 0;
};
};
class Ruin: Ruin
class Ruin : Ruin
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,820: Line 1,819:
size = 0;
size = 0;
};
};
class Stack: Stack
class Stack : Stack
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,826: Line 1,825:
size = 0;
size = 0;
};
};
class Tourism: Tourism
class Tourism : Tourism
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";
Line 1,832: Line 1,831:
size = 0;
size = 0;
};
};
class ViewTower: ViewTower
class ViewTower : ViewTower
{
{
icon = "#(argb,8,8,3)color(0,0,0,0)";
icon = "#(argb,8,8,3)color(0,0,0,0)";

Latest revision as of 10:58, 6 December 2023


Introduction

A control that gives access to the map including markers. The ingame map that is opened with M uses this control type. CT_MAP_MAIN controls cannot be placed inside a CT_CONTROLS_GROUP, because they are handled differently inside the engine due to their complexity. For more information see: BI Forums.


Related commands & functions

Related User Interface Eventhandlers

Alphabetical Order

TokenNames common to most controls, such as x, y, w, h, text, idc... can be found here.
Not all of the listed attributes might have an effect nor might the list be complete. All attributes were gathered with this config crawler.
#define CT_MAP_MAIN 101


A

ActiveMarker

Type
Class
Description
n/a
class ActiveMarker
{
	color[] = {0.3,0.1,0.9,1};
	size = 50;
};


alphaFadeEndScale

Type
Number
Description
n/a
alphaFadeEndScale = 2;


alphaFadeStartScale

Type
Number
Description
n/a
alphaFadeStartScale = 10;


altitudeMapColorHigh

Type
Array
Description
n/a
altitudeMapColorHigh[] = {1,0,0,0.15};


altitudeMapColorLow

Type
Array
Description
n/a
altitudeMapColorLow[] = {0,1,0,0.15};


altitudeMapColorMid

Type
Array
Description
n/a
altitudeMapColorMid[] = {1,1,0,0.15};


altitudeMapRange

Type
Number
Description
n/a
altitudeMapRange = 100;


B

Bunker

Type
Class
Description
n/a
class Bunker
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
	size = 14;
	importance = "1.5 * 14 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


Bush

Type
Class
Description
n/a
class Bush
{
	color[] = {0.45,0.64,0.33,0.4};
	icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
	size = "14/2";
	importance = "0.2 * 14 * 0.05 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


BusStop

Type
Class
Description
n/a
class BusStop
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


C

Chapel

Type
Class
Description
n/a
class Chapel
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


church

Type
Class
Description
n/a
class church
{
	color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])","(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])",1};
	icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


colorCountlines

Type
Array
Description
n/a
colorCountlines[] = {0.572,0.354,0.188,0.25};


colorCountlinesWater

Type
Array
Description
n/a
colorCountlinesWater[] = {0.491,0.577,0.702,0.3};


colorForest

Type
Array
Description
n/a
colorForest[] = {"(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])","(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])","(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",0.7};


colorForestBorder

Type
Array
Description
n/a
colorForestBorder[] = {"(profilenamespace getvariable ['IGUI_BCG_RGB_R',0])","(profilenamespace getvariable ['IGUI_BCG_RGB_G',1])","(profilenamespace getvariable ['IGUI_BCG_RGB_B',1])",0.5};


colorForestTextured

Type
Array
Description
n/a
colorForestTextured[] = {0.624,0.78,0.388,0.25};


colorGrid

Type
Array
Description
n/a
colorGrid[] = {0.1,0.1,0.1,0.6};


colorGridMap

Type
Array
Description
n/a
colorGridMap[] = {0.1,0.1,0.1,0.6};


colorInactive

Type
Array
Description
n/a
colorInactive[] = {1,1,1,0.5};


colorLevels

Type
Array
Description
n/a
colorLevels[] = {0,0,0,0};


colorMainCountlines

Type
Array
Description
n/a
colorMainCountlines[] = {0.572,0.354,0.188,0.5};


colorMainCountlinesWater

Type
Array
Description
n/a
colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6};


colorMainRoads

Type
Array
Description
n/a
colorMainRoads[] = {0.9,0.5,0.3,1};


colorMainRoadsFill

Type
Array
Description
n/a
colorMainRoadsFill[] = {1,0.6,0.4,1};


colorNames

Type
Array
Description
n/a
colorNames[] = {0.1,0.1,0.1,0.9};


colorOutside

Type
Array
Description
n/a
colorOutside[] = {0,0,0,1};


colorPowerLines

Type
Array
Description
n/a
colorPowerLines[] = {0.1,0.1,0.1,1};


colorRailWay

Type
Array
Description
n/a
colorRailWay[] = {0.8,0.2,0,1};


colorRoads

Type
Array
Description
n/a
colorRoads[] = {0.7,0.7,0.7,1};


colorRoadsFill

Type
Array
Description
n/a
colorRoadsFill[] = {1,1,1,1};


colorRocks

Type
Array
Description
n/a
colorRocks[] = {0,0,0,0.3};


colorRocksBorder

Type
Array
Description
n/a
colorRocksBorder[] = {0,0,0,0};


colorSea

Type
Array
Description
n/a
colorSea[] = {0.467,0.631,0.851,0.5};


colorTracks

Type
Array
Description
n/a
colorTracks[] = {0.84,0.76,0.65,0.15};


colorTracksFill

Type
Array
Description
n/a
colorTracksFill[] = {0.84,0.76,0.65,1};


colorTrails

Type
Array
Description
n/a
colorTrails[] = {0.84,0.76,0.65,0.15};


colorTrailsFill

Type
Array
Description
n/a
colorTrailsFill[] = {0.84,0.76,0.65,0.65};


Command

Type
Class
Description
n/a
class Command
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};


compassPos

Type
Array
Description
n/a
compassPos[] = {-0.04,0};


compassSize

Type
Array
Description
n/a
compassSize[] = {0.08,0.08};


Cross

Type
Class
Description
n/a
class Cross
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


CustomMark

Type
Class
Description
n/a
class CustomMark
{
	color[] = {1,1,1,1};
	icon = "\a3\ui_f\data\map\mapcontrol\custommark_ca.paa";
	size = 18;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};


D

drawObjects

Type
Number
Description
n/a
drawObjects = 0;


drawShaded

Type
Number
Description
n/a
drawShaded = 0.1;


F

fontGrid

Type
String
Description
n/a
fontGrid = "TahomaB";


fontInfo

Type
String
Description
n/a
fontInfo = "RobotoCondensed";


fontLabel

Type
String
Description
n/a
fontLabel = "RobotoCondensed";


fontLevel

Type
String
Description
n/a
fontLevel = "TahomaB";


fontNames

Type
String
Description
n/a
fontNames = "RobotoCondensed";


fontUnits

Type
String
Description
n/a
fontUnits = "TahomaB";


Fortress

Type
Class
Description
n/a
class Fortress
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
	size = 16;
	importance = "2 * 16 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


Fountain

Type
Class
Description
n/a
class Fountain
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa";
	size = 11;
	importance = "1 * 12 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


Fuelstation

Type
Class
Description
n/a
class Fuelstation
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


H

hCollapsed

Type
String
Description
n/a
hCollapsed = "safezoneH - 2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";


Hospital

Type
Class
Description
n/a
class Hospital
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


I

iconCamera

Type
String
Description
n/a
iconCamera = "\A3\ui_f\data\GUI\Rsc\RscDisplayMissionEditor\iconCamera_ca.paa";


iconCameraColor

Type
Array
Description
n/a
iconCameraColor[] = {0.8,0.6,0.05,0.8};


iconCameraSize

Type
Number
Description
n/a
iconCameraSize = 24;


idcMarkerColor

Type
Number
Description
n/a
idcMarkerColor = 1090;


idcMarkerIcon

Type
Number
Description
n/a
idcMarkerIcon = 1091;


L

Legend

Type
Class
Description
n/a
class Legend
{
	colorBackground[] = {1,1,1,0.5};
	color[] = {0,0,0,1};
	x = "SafeZoneX + (((safezoneW / safezoneH) min 1.2) / 40)";
	y = "SafeZoneY + safezoneH - 4.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
	w = "10 * (((safezoneW / safezoneH) min 1.2) / 40)";
	h = "3.5 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
	font = "RobotoCondensed";
	sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";
};


Lighthouse

Type
Class
Description
n/a
class Lighthouse
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


LineMarker

Type
Class
Description
n/a
class LineMarker
{
	textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
	lineWidthThin = 0.008;
	lineWidthThick = 0.014;
	lineDistanceMin = 3e-005;
	lineLengthMin = 5;
};


M

maxSatelliteAlpha

Type
Number, String
Description
n/a

Number example:

maxSatelliteAlpha = 0.85;

String example:

maxSatelliteAlpha = "uinamespace getvariable ['RscDisplayStrategicMap_maxSatelliteAlpha',1]";


moveOnEdges

Type
Number
Description
n/a
moveOnEdges = 1;


N

NAME

Type
Class
Description
n/a
class NAME
{
	icon = "";
	color[] = {0,0,0,0};
	size = 0;
	importance = 0;
	coefMin = 0;
	coefMax = 0;
};


P

power

Type
Class
Description
n/a
class power
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


powersolar

Type
Class
Description
n/a
class powersolar
{
	icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
	color[] = {1,1,1,1};
};


powerwave

Type
Class
Description
n/a
class powerwave
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


powerwind

Type
Class
Description
n/a
class powerwind
{
	icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
	color[] = {1,1,1,1};
};


ptsPerSquareCLn

Type
Number
Description
n/a
ptsPerSquareCLn = 10;


ptsPerSquareCost

Type
Number
Description
n/a
ptsPerSquareCost = 10;


ptsPerSquareExp

Type
Number
Description
n/a
ptsPerSquareExp = 10;


ptsPerSquareFor

Type
Number
Description
n/a
ptsPerSquareFor = 9;


ptsPerSquareForEdge

Type
Number
Description
n/a
ptsPerSquareForEdge = 9;


ptsPerSquareForLod1

Type
Number
Description
n/a
ptsPerSquareForLod1 = 4;


ptsPerSquareForLod2

Type
Number
Description
n/a
ptsPerSquareForLod2 = 1;


ptsPerSquareMainRoad

Type
Number
Description
n/a
ptsPerSquareMainRoad = 6;


ptsPerSquareMainRoadSimple

Type
Number
Description
n/a
ptsPerSquareMainRoadSimple = 0.01;


ptsPerSquareObj

Type
Number
Description
n/a
ptsPerSquareObj = 9;


ptsPerSquareObjLod1

Type
Number
Description
n/a
ptsPerSquareObjLod1 = 2;


ptsPerSquareRoad

Type
Number
Description
n/a
ptsPerSquareRoad = 6;


ptsPerSquareRoadSimple

Type
Number
Description
n/a
ptsPerSquareRoadSimple = 1;


ptsPerSquareSea

Type
Number
Description
n/a
ptsPerSquareSea = 5;


ptsPerSquareTxt

Type
Number
Description
n/a
ptsPerSquareTxt = 20;


Q

Quay

Type
Class
Description
n/a
class Quay
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


R

Rock

Type
Class
Description
n/a
class Rock
{
	color[] = {0.1,0.1,0.1,0.8};
	icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa";
	size = 12;
	importance = "0.5 * 12 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


Ruin

Type
Class
Description
n/a
class Ruin
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa";
	size = 16;
	importance = "1.2 * 16 * 0.05";
	coefMin = 1;
	coefMax = 4;
};


runwayFont

Type
String
Description
n/a
runwayFont = "LCD14";


S

scaleDefault

Type
Number, String
Description
n/a

Number example:

scaleDefault = 0.16;

String example:

scaleDefault = "uinamespace getvariable ['RscDisplayStrategicMap_scaleDefault',0.3]";


scaleMax

Type
Number, String
Description
n/a

Number example:

scaleMax = 1;

String example:

scaleMax = "uinamespace getvariable ['RscDisplayStrategicMap_scaleMax',0.3]";


scaleMin

Type
Number, String
Description
n/a

Number example:

scaleMin = 0.001;

String example:

scaleMin = "uinamespace getvariable ['RscDisplayORBAT_scaleMin',0.005]";


shadedSea

Type
Number
Description
n/a
shadedSea = 0.3;


Shipwreck

Type
Class
Description
n/a
class Shipwreck
{
	coefMax = 1;
	coefMin = 4;
	color[] = {0,0,0,1};
	icon = "#(argb,8,8,3)color(0,0,0,1)";
	importance = 1;
	size = 2;
};


showCountourInterval

Type
Number
Description
n/a
showCountourInterval = 1;


showMarkers

Type
Number, String
Description
n/a

Number example:

showMarkers = 1;

String example:

showMarkers = "true";


sizeExGrid

Type
Number, String
Description
n/a

Number example:

sizeExGrid = 0.02;

String example:

sizeExGrid = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.5";


sizeExInfo

Type
String, Number
Description
n/a

String example:

sizeExInfo = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.5";

Number example:

sizeExInfo = 0.05;


sizeExLabel

Type
String, Number
Description
n/a

String example:

sizeExLabel = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";

Number example:

sizeExLabel = 0.05;


sizeExLevel

Type
Number, String
Description
n/a

Number example:

sizeExLevel = 0.02;

String example:

sizeExLevel = "((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.5";


sizeExNames

Type
String, Number
Description
n/a

String example:

sizeExNames = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8) * 2";

Number example:

sizeExNames = 0.05;


sizeExUnits

Type
String, Number
Description
n/a

String example:

sizeExUnits = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 0.8)";

Number example:

sizeExUnits = 0.05;


SmallTree

Type
Class
Description
n/a
class SmallTree
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = "0.6 * 12 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


speedCoefSpeed0

Type
Number
Description
n/a
speedCoefSpeed0 = 500;


speedCoefSpeedMax

Type
Number
Description
n/a
speedCoefSpeedMax = 30;


Stack

Type
Class
Description
n/a
class Stack
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa";
	size = 16;
	importance = "2 * 16 * 0.05";
	coefMin = 0.4;
	coefMax = 2;
};


stickX

Type
Array
Description
n/a
stickX[] = {0.2,["Gamma",1,1.5]};


stickY

Type
Array
Description
n/a
stickY[] = {0.2,["Gamma",1,1.5]};


T

Task

Type
Class
Description
n/a
class Task
{
	taskNone = "#(argb,8,8,3)color(0,0,0,0)";
	taskCreated = "#(argb,8,8,3)color(0,0,0,1)";
	taskAssigned = "#(argb,8,8,3)color(1,1,1,1)";
	taskSucceeded = "#(argb,8,8,3)color(0,1,0,1)";
	taskFailed = "#(argb,8,8,3)color(1,0,0,1)";
	taskCanceled = "#(argb,8,8,3)color(1,0.5,0,1)";
	colorCreated[] = {1,1,1,1};
	colorCanceled[] = {0.7,0.7,0.7,1};
	colorDone[] = {0.7,1,0.3,1};
	colorFailed[] = {1,0.3,0.2,1};
	color[] = {"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])","(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])","(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"};
	icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa";
	iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa";
	iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa";
	iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa";
	iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa";
	size = 27;
	importance = 1;
	coefMin = 1;
	coefMax = 1;
};


textureComboBoxColor

Type
String
Description
n/a
textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";


textureCompass

Type
String
Description
n/a
textureCompass = "\A3\Ui_f\data\IGUI\RscCustomInfo\north_ca.paa";


Tourism

Type
Class
Description
n/a
class Tourism
{
	icon = "#(argb,8,8,3)color(0,0,0,0)";
	color[] = {0,0,0,0};
	size = 0;
	importance = "1 * 16 * 0.05";
	coefMin = 0.7;
	coefMax = 4;
};


Transmitter

Type
Class
Description
n/a
class Transmitter
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


Tree

Type
Class
Description
n/a
class Tree
{
	color[] = {0.45,0.64,0.33,0.4};
	icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
	size = 12;
	importance = "0.9 * 16 * 0.05";
	coefMin = 0.25;
	coefMax = 4;
};


V

ViewTower

Type
Class
Description
n/a
class ViewTower
{
	color[] = {0,0,0,1};
	icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa";
	size = 16;
	importance = "2.5 * 16 * 0.05";
	coefMin = 0.5;
	coefMax = 4;
};


W

Watertower

Type
Class
Description
n/a
class Watertower
{
	color[] = {1,1,1,1};
	icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa";
	size = 24;
	importance = 1;
	coefMin = 0.85;
	coefMax = 1;
};


Waypoint

Type
Class
Description
n/a
class Waypoint
{
	color[] = {1,1,1,1};
	importance = 1;
	coefMin = 1;
	coefMax = 1;
	icon = "\a3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
	size = 18;
};


WaypointCompleted

Type
Class
Description
n/a
class WaypointCompleted
{
	color[] = {1,1,1,1};
	importance = 1;
	coefMin = 1;
	coefMax = 1;
	icon = "\a3\ui_f\data\map\mapcontrol\waypointcompleted_ca.paa";
	size = 18;
};


widthPowerLines

Type
Number
Description
n/a
widthPowerLines = 6;


widthRailWay

Type
Number
Description
n/a
widthRailWay = 4;


Y

yCollapsed

Type
String
Description
n/a
yCollapsed = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY)";



Default Classes

Arma 3
AddOns: Classes need to be initialised first with class SomeClass;

Missions: Since Arma 3 v2.02 one can use import SomeClass; to initialise a class (see the import keyword).

In older versions, use "Default" call BIS_fnc_exportGUIBaseClasses; and paste the result into the description.ext.

RscMapControl

class RscMapControl
{
	deletable = 0;
	fade = 0;
	access = 0;
	type = CT_MAP_MAIN;
	idc = 51;
	style = ST_MULTI + ST_TITLE_BAR;
	colorBackground[] = {0.969,0.957,0.949,1};
	colorOutside[] = {0,0,0,1};
	colorText[] = {0,0,0,1};
	font = "TahomaB";
	sizeEx = 0.04;
	colorSea[] = {0.467,0.631,0.851,0.5};
	colorForest[] = {0.624,0.78,0.388,0.5};
	colorRocks[] = {0,0,0,0.3};
	colorCountlines[] = {0.572,0.354,0.188,0.25};
	colorMainCountlines[] = {0.572,0.354,0.188,0.5};
	colorCountlinesWater[] = {0.491,0.577,0.702,0.3};
	colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6};
	colorForestBorder[] = {0,0,0,0};
	colorRocksBorder[] = {0,0,0,0};
	colorPowerLines[] = {0.1,0.1,0.1,1};
	colorRailWay[] = {0.8,0.2,0,1};
	colorNames[] = {0.1,0.1,0.1,0.9};
	colorInactive[] = {1,1,1,0.5};
	colorLevels[] = {0.286,0.177,0.094,0.5};
	colorTracks[] = {0.84,0.76,0.65,0.15};
	colorRoads[] = {0.7,0.7,0.7,1};
	colorMainRoads[] = {0.9,0.5,0.3,1};
	colorTracksFill[] = {0.84,0.76,0.65,1};
	colorRoadsFill[] = {1,1,1,1};
	colorMainRoadsFill[] = {1,0.6,0.4,1};
	colorGrid[] = {0.1,0.1,0.1,0.6};
	colorGridMap[] = {0.1,0.1,0.1,0.6};
	stickX[] = {0.2,["Gamma",1,1.5]};
	stickY[] = {0.2,["Gamma",1,1.5]};
	class Legend
	{
		colorBackground[] = {1,1,1,0.5};
		color[] = {0,0,0,1};
		x = SafeZoneX + GUI_GRID_W;
		y = SafeZoneY + safezoneH - 4.5 * GUI_GRID_H;
		w = 10 * GUI_GRID_W;
		h = 3.5 * GUI_GRID_H;
		font = "RobotoCondensed";
		sizeEx = GUI_TEXT_SIZE_SMALL;
	};
	class ActiveMarker
	{
		color[] = {0.3,0.1,0.9,1};
		size = 50;
	};
	class Command
	{
		color[] = {1,1,1,1};
		icon = "\a3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
		size = 18;
		importance = 1;
		coefMin = 1;
		coefMax = 1;
	};
	class Task
	{
		taskNone = "#(argb,8,8,3)color(0,0,0,0)";
		taskCreated = "#(argb,8,8,3)color(0,0,0,1)";
		taskAssigned = "#(argb,8,8,3)color(1,1,1,1)";
		taskSucceeded = "#(argb,8,8,3)color(0,1,0,1)";
		taskFailed = "#(argb,8,8,3)color(1,0,0,1)";
		taskCanceled = "#(argb,8,8,3)color(1,0.5,0,1)";
		colorCreated[] = {1,1,1,1};
		colorCanceled[] = {0.7,0.7,0.7,1};
		colorDone[] = {0.7,1,0.3,1};
		colorFailed[] = {1,0.3,0.2,1};
		color[] =
		{
			"(profilenamespace getvariable ['IGUI_TEXT_RGB_R',0])",
			"(profilenamespace getvariable ['IGUI_TEXT_RGB_G',1])",
			"(profilenamespace getvariable ['IGUI_TEXT_RGB_B',1])",
			"(profilenamespace getvariable ['IGUI_TEXT_RGB_A',0.8])"
		};
		icon = "\A3\ui_f\data\map\mapcontrol\taskIcon_CA.paa";
		iconCreated = "\A3\ui_f\data\map\mapcontrol\taskIconCreated_CA.paa";
		iconCanceled = "\A3\ui_f\data\map\mapcontrol\taskIconCanceled_CA.paa";
		iconDone = "\A3\ui_f\data\map\mapcontrol\taskIconDone_CA.paa";
		iconFailed = "\A3\ui_f\data\map\mapcontrol\taskIconFailed_CA.paa";
		size = 27;
		importance = 1;
		coefMin = 1;
		coefMax = 1;
	};
	class CustomMark
	{
		color[] = {1,1,1,1};
		icon = "\a3\ui_f\data\map\mapcontrol\custommark_ca.paa";
		size = 18;
		importance = 1;
		coefMin = 1;
		coefMax = 1;
	};
	class Tree
	{
		color[] = {0.45,0.64,0.33,0.4};
		icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
		size = 12;
		importance = "0.9 * 16 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class SmallTree
	{
		color[] = {0.45,0.64,0.33,0.4};
		icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
		size = 12;
		importance = "0.6 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class Bush
	{
		color[] = {0.45,0.64,0.33,0.4};
		icon = "\A3\ui_f\data\map\mapcontrol\bush_ca.paa";
		size = "14/2";
		importance = "0.2 * 14 * 0.05 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class Church
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\church_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Chapel
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\Chapel_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Cross
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\Cross_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Rock
	{
		color[] = {0.1,0.1,0.1,0.8};
		icon = "\A3\ui_f\data\map\mapcontrol\rock_ca.paa";
		size = 12;
		importance = "0.5 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class Bunker
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
		size = 14;
		importance = "1.5 * 14 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class Fortress
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\bunker_ca.paa";
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class Fountain
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\fountain_ca.paa";
		size = 11;
		importance = "1 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4;
	};
	class ViewTower
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\viewtower_ca.paa";
		size = 16;
		importance = "2.5 * 16 * 0.05";
		coefMin = 0.5;
		coefMax = 4;
	};
	class Lighthouse
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\lighthouse_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Quay
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\quay_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Fuelstation
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\fuelstation_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Hospital
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\hospital_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class BusStop
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\busstop_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class LineMarker
	{
		textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
		lineWidthThin = 0.008;
		lineWidthThick = 0.014;
		lineDistanceMin = 3e-005;
		lineLengthMin = 5;
	};
	class Transmitter
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\transmitter_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Stack
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\stack_ca.paa";
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.4;
		coefMax = 2;
	};
	class Ruin
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\ruin_ca.paa";
		size = 16;
		importance = "1.2 * 16 * 0.05";
		coefMin = 1;
		coefMax = 4;
	};
	class Tourism
	{
		color[] = {0,0,0,1};
		icon = "\A3\ui_f\data\map\mapcontrol\tourism_ca.paa";
		size = 16;
		importance = "1 * 16 * 0.05";
		coefMin = 0.7;
		coefMax = 4;
	};
	class Watertower
	{
		color[] = {1,1,1,1};
		icon = "\A3\ui_f\data\map\mapcontrol\watertower_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
	};
	class Waypoint
	{
		color[] = {1,1,1,1};
		importance = 1;
		coefMin = 1;
		coefMax = 1;
		icon = "\a3\ui_f\data\map\mapcontrol\waypoint_ca.paa";
		size = 18;
	};
	class WaypointCompleted
	{
		color[] = {1,1,1,1};
		importance = 1;
		coefMin = 1;
		coefMax = 1;
		icon = "\a3\ui_f\data\map\mapcontrol\waypointcompleted_ca.paa";
		size = 18;
	};
	moveOnEdges = 1;
	x = "SafeZoneXAbs";
	y = SafeZoneY + 1.5 * GUI_GRID_H;
	w = "SafeZoneWAbs";
	h = SafeZoneH - 1.5 * GUI_GRID_H;
	shadow = 0;
	ptsPerSquareSea = 5;
	ptsPerSquareTxt = 20;
	ptsPerSquareCLn = 10;
	ptsPerSquareExp = 10;
	ptsPerSquareCost = 10;
	ptsPerSquareFor = 9;
	ptsPerSquareForEdge = 9;
	ptsPerSquareRoad = 6;
	ptsPerSquareObj = 9;
	showCountourInterval = 0;
	scaleMin = 0.001;
	scaleMax = 1;
	scaleDefault = 0.16;
	maxSatelliteAlpha = 0.85;
	alphaFadeStartScale = 2;
	alphaFadeEndScale = 2;
	colorTrails[] = {0.84,0.76,0.65,0.15};
	colorTrailsFill[] = {0.84,0.76,0.65,0.65};
	widthRailWay = 4;
	fontLabel = "RobotoCondensed";
	sizeExLabel = GUI_TEXT_SIZE_SMALL;
	fontGrid = "TahomaB";
	sizeExGrid = 0.02;
	fontUnits = "TahomaB";
	sizeExUnits = GUI_TEXT_SIZE_SMALL;
	fontNames = "RobotoCondensed";
	sizeExNames = GUI_TEXT_SIZE_SMALL * 2;
	fontInfo = "RobotoCondensed";
	sizeExInfo = GUI_TEXT_SIZE_SMALL;
	fontLevel = "TahomaB";
	sizeExLevel = 0.02;
	text = "#(argb,8,8,3)color(1,1,1,1)";
	idcMarkerColor = -1;
	idcMarkerIcon = -1;
	textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
	showMarkers = 1;
	class power
	{
		icon = "\A3\ui_f\data\map\mapcontrol\power_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
		color[] = {1,1,1,1};
	};
	class powersolar
	{
		icon = "\A3\ui_f\data\map\mapcontrol\powersolar_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
		color[] = {1,1,1,1};
	};
	class powerwave
	{
		icon = "\A3\ui_f\data\map\mapcontrol\powerwave_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
		color[] = {1,1,1,1};
	};
	class powerwind
	{
		icon = "\A3\ui_f\data\map\mapcontrol\powerwind_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
		color[] = {1,1,1,1};
	};
	class Shipwreck
	{
		icon = "\A3\ui_f\data\map\mapcontrol\Shipwreck_CA.paa";
		size = 24;
		importance = 1;
		coefMin = 0.85;
		coefMax = 1;
		color[] = {0,0,0,1};
	};
};

RscMapControlEmpty

class RscMapControlEmpty : RscMapControl
{
	type = CT_MAP_MAIN;
	ptsPerSquareSea = 1000;
	ptsPerSquareTxt = 1000;
	ptsPerSquareCLn = 1000;
	ptsPerSquareExp = 1000;
	ptsPerSquareCost = 1000;
	ptsPerSquareFor = 1000;
	ptsPerSquareForEdge = 1000;
	ptsPerSquareRoad = 1000;
	ptsPerSquareObj = 1000;
	alphaFadeStartScale = 0;
	alphaFadeEndScale = 0;
	colorBackground[] = {1,1,1,1};
	colorOutside[] = {1,1,1,1};
	colorSea[] = {0,0,0,0};
	colorForest[] = {0,0,0,0};
	colorForestBorder[] = {0,0,0,0};
	colorRocks[] = {0,0,0,0};
	colorRocksBorder[] = {0,0,0,0};
	colorLevels[] = {0,0,0,0};
	colorMainCountlines[] = {0,0,0,0};
	colorCountlines[] = {0,0,0,0};
	colorMainCountlinesWater[] = {0,0,0,0};
	colorCountlinesWater[] = {0,0,0,0};
	colorPowerLines[] = {0,0,0,0};
	colorRailWay[] = {0,0,0,0};
	colorNames[] = {0,0,0,0};
	colorInactive[] = {0,0,0,0};
	colorGrid[] = {0,0,0,0};
	colorGridMap[] = {0,0,0,0};
	class Task : Task
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		iconCreated = "#(argb,8,8,3)color(0,0,0,0)";
		iconCanceled = "#(argb,8,8,3)color(0,0,0,0)";
		iconDone = "#(argb,8,8,3)color(0,0,0,0)";
		iconFailed = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		colorCreated[] = {0,0,0,0};
		colorCanceled[] = {0,0,0,0};
		colorDone[] = {0,0,0,0};
		colorFailed[] = {0,0,0,0};
		size = 0;
	};
	class Waypoint : Waypoint
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class WaypointCompleted : WaypointCompleted
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class CustomMark : CustomMark
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Command : Command
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Bush : Bush
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Rock : Rock
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class SmallTree : SmallTree
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Tree : Tree
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class busstop : BusStop
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class fuelstation : Fuelstation
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class hospital : Hospital
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class church : Church
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class lighthouse : Lighthouse
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class power : power
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class powersolar : powersolar
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class powerwave : powerwave
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class powerwind : powerwind
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class quay : Quay
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class shipwreck : Shipwreck
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class transmitter : Transmitter
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class watertower : Watertower
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Bunker : Bunker
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Cross : Cross
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Fortress : Fortress
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Fountain : Fountain
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Chapel : Chapel
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Ruin : Ruin
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Stack : Stack
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class Tourism : Tourism
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
	class ViewTower : ViewTower
	{
		icon = "#(argb,8,8,3)color(0,0,0,0)";
		color[] = {0,0,0,0};
		size = 0;
	};
};

Other Examples

#define CT_MAP_MAIN 101
#define ST_PICTURE 48

class RscMapControl
{
	access = 0;
	idc = -1;
	type = CT_MAP_MAIN;
	style = ST_PICTURE;

	x = 0.10;
	y = 0.10;
	w = 0.80;
	h = 0.60;

	colorBackground[] = { 1.00, 1.00, 1.00, 1.00 };
	colorText[] = { 0.00, 0.00, 0.00, 1.00 };
	colorSea[] = { 0.56, 0.80, 0.98, 0.50 };
	colorForest[] = { 0.60, 0.80, 0.20, 0.50 };
	colorRocks[] = { 0.50, 0.50, 0.50, 0.50 };
	colorCountlines[] = { 0.65, 0.45, 0.27, 0.50 };
	colorMainCountlines[] = { 0.65, 0.45, 0.27, 1.00 };
	colorCountlinesWater[] = { 0.00, 0.53, 1.00, 0.50 };
	colorMainCountlinesWater[] = { 0.00, 0.53, 1.00, 1.00 };
	colorForestBorder[] = { 0.40, 0.80, 0.00, 1.00 };
	colorRocksBorder[] = { 0.50, 0.50, 0.50, 1.00 };
	colorPowerLines[] = { 0.00, 0.00, 0.00, 1.00 };
	colorNames[] = { 0.00, 0.00, 0.00, 1.00 };
	colorInactive[] = { 1.00, 1.00, 1.00, 0.50 };
	colorLevels[] = { 0.00, 0.00, 0.00, 1.00 };

	font = "TahomaB";
	sizeEx = 0.040000;

	fontLabel = "TahomaB";
	sizeExLabel = 0.02;
	fontGrid = "TahomaB";
	sizeExGrid = 0.02;
	fontUnits = "TahomaB";
	sizeExUnits = 0.02;
	fontNames = "TahomaB";
	sizeExNames = 0.02;
	fontInfo = "TahomaB";
	sizeExInfo = 0.02;
	fontLevel = "TahomaB";
	sizeExLevel = 0.02;

	ptsPerSquareSea = 6;
	ptsPerSquareTxt = 8;
	ptsPerSquareCLn = 8;
	ptsPerSquareExp = 8;
	ptsPerSquareCost = 8;
	ptsPerSquareFor = "4.0f";
	ptsPerSquareForEdge = "10.0f";
	ptsPerSquareRoad = 2;
	ptsPerSquareObj = 10;

	text = "\ca\ui\data\map_background2_co.paa";
	showCountourInterval = 2;
	scaleDefault = 0.1;
	onMouseButtonClick = "";
	onMouseButtonDblClick = "";

	class ActiveMarker
	{
		color[] = { 0.30, 0.10, 0.90, 1.00 };
		size = 50;
	};
	class Bunker
	{
		icon = "\ca\ui\data\map_bunker_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 14;
		importance = "1.5 * 14 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Bush
	{
		icon = "\ca\ui\data\map_bush_ca.paa";
		color[] = { 0.55, 0.64, 0.43, 1.00 };
		size = 14;
		importance = "0.2 * 14 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class BusStop
	{
		icon = "\ca\ui\data\map_busstop_ca.paa";
		color[] = { 0.00, 0.00, 1.00, 1.00 };
		size = 10;
		importance = "1 * 10 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Command
	{
		icon = "#(argb,8,8,3)color(1,1,1,1)";
		color[] = { 0.00, 0.00, 0.00, 1.00 };
		size = 18;
		importance = 1.00;
		coefMin = 1.00;
		coefMax = 1.00;
	};
	class Cross
	{
		icon = "\ca\ui\data\map_cross_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "0.7 * 16 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Fortress
	{
		icon = "\ca\ui\data\map_bunker_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Fuelstation
	{
		icon = "\ca\ui\data\map_fuelstation_ca.paa";
		color[] = { 1.00, 0.35, 0.35, 1.00 };
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.75;
		coefMax = 4.00;
	};
	class Fountain
	{
		icon = "\ca\ui\data\map_fountain_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 12;
		importance = "1 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Hospital
	{
		icon = "\ca\ui\data\map_hospital_ca.paa";
		color[] = { 0.78, 0.00, 0.05, 1.00 };
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.50;
		coefMax = 4;
	};
	class Chapel
	{
		icon = "\ca\ui\data\map_chapel_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "1 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class Church
	{
		icon = "\ca\ui\data\map_church_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class Lighthouse
	{
		icon = "\ca\ui\data\map_lighthouse_ca.paa";
		color[] = { 0.78, 0.00, 0.05, 1.00 };
		size = 20;
		importance = "3 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class Quay
	{
		icon = "\ca\ui\data\map_quay_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "2 * 16 * 0.05";
		coefMin = 0.50;
		coefMax = 4.00;
	};
	class Rock
	{
		icon = "\ca\ui\data\map_rock_ca.paa";
		color[] = { 0.35, 0.35, 0.35, 1.00 };
		size = 12;
		importance = "0.5 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Ruin
	{
		icon = "\ca\ui\data\map_ruin_ca.paa";
		color[] = { 0.78, 0.00, 0.05, 1.00 };
		size = 16;
		importance = "1.2 * 16 * 0.05";
		coefMin = 1.00;
		coefMax = 4.00;
	};
	class Stack
	{
		icon = "\ca\ui\data\map_stack_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 20;
		importance = "2 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class Tree
	{
		icon = "\ca\ui\data\map_tree_ca.paa";
		color[] = { 0.55, 0.64, 0.43, 1.00 };
		size = 12;
		importance = "0.9 * 16 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class SmallTree
	{
		icon = "\ca\ui\data\map_smalltree_ca.paa";
		color[] = { 0.55, 0.64, 0.43, 1.00 };
		size = 12;
		importance = "0.6 * 12 * 0.05";
		coefMin = 0.25;
		coefMax = 4.00;
	};
	class Tourism
	{
		icon = "\ca\ui\data\map_tourism_ca.paa";
		color[] = { 0.78, 0.00, 0.05, 1.00 };
		size = 16;
		importance = "1 * 16 * 0.05";
		coefMin = 0.70;
		coefMax = 4.00;
	};
	class Transmitter
	{
		icon = "\ca\ui\data\map_transmitter_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 20;
		importance = "2 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class ViewTower
	{
		icon = "\ca\ui\data\map_viewtower_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 16;
		importance = "2.5 * 16 * 0.05";
		coefMin = 0.50;
		coefMax = 4.00;
	};
	class Watertower
	{
		icon = "\ca\ui\data\map_watertower_ca.paa";
		color[] = { 0.00, 0.35, 0.70, 1.00 };
		size = 32;
		importance = "1.2 * 16 * 0.05";
		coefMin = 0.90;
		coefMax = 4.00;
	};
	class Waypoint
	{
		icon = "\ca\ui\data\map_waypoint_ca.paa";
		color[] = { 0.00, 0.00, 0.00, 1.00 };
		size = 24;
		importance = 1.00;
		coefMin = 1.00;
		coefMax = 1.00;
	};
	class WaypointCompleted
	{
		icon = "\ca\ui\data\map_waypoint_completed_ca.paa";
		color[] = { 0.00, 0.00, 0.00, 1.00 };
		size = 24;
		importance = 1.00;
		coefMin = 1.00;
		coefMax = 1.00;
	};
};