---
name: "CT MAP MAIN"
type: topic
source: https://community.bistudio.com/wiki/CT_MAP_MAIN
revid: 378920
updated: 2026-08-14T16:37:25Z
---

# CT MAP MAIN

### Introduction

A control that gives access to the map including markers. The ingame map that is opened with <kbd>M</kbd> uses this control type. [CT_MAP_MAIN](../topics/CT_MAP_MAIN.md) controls cannot be placed inside a [CT_CONTROLS_GROUP](../topics/CT_CONTROLS_GROUP.md), because they are handled differently inside the engine due to their complexity. For more information see: [BI Forums](https://forums.bohemia.net/forums/topic/191876-map-control-not-positioned-correctly-using-ctrlcreate/?tab=comments#comment-3049009).

#### Related commands & functions

- Commands: General
- Commands: UI Eventhandlers
- Commands: Map

#### Related User Interface Eventhandlers

- [Events: General](../topics/User_Interface_Event_Handlers.md#generic-events)
- [onDraw](../topics/User_Interface_Event_Handlers.md#ondraw)

### Alphabetical Order

> [!NOTE]
> TokenNames common to most controls, such as x, y, w, h, text, idc... can be found [**here**](../topics/Arma~3A_GUI_Configuration.md#common-properties).

> [!WARNING]
> Not all of the listed attributes might have an effect nor might the list be complete. All attributes were gathered with [this](https://github.com/7erra/BIKI.VR/blob/master/fnc/generateCTPage.sqf) config crawler.

```cpp
#define CT_MAP_MAIN 101
```

#### A

##### ActiveMarker

**Type:** Class

**Description:** n/a

```cpp
class ActiveMarker
{
    color[] = {0.3,0.1,0.9,1};
    size = 50;
};
```

##### alphaFadeEndScale

**Type:** Number

**Description:** n/a

```cpp
alphaFadeEndScale = 2;
```

##### alphaFadeStartScale

**Type:** Number

**Description:** n/a

```cpp
alphaFadeStartScale = 10;
```

##### altitudeMapColorHigh

**Type:** Array

**Description:** n/a

```cpp
altitudeMapColorHigh[] = {1,0,0,0.15};
```

##### altitudeMapColorLow

**Type:** Array

**Description:** n/a

```cpp
altitudeMapColorLow[] = {0,1,0,0.15};
```

##### altitudeMapColorMid

**Type:** Array

**Description:** n/a

```cpp
altitudeMapColorMid[] = {1,1,0,0.15};
```

##### altitudeMapRange

**Type:** Number

**Description:** n/a

```cpp
altitudeMapRange = 100;
```

#### B

##### Bunker

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
colorCountlines[] = {0.572,0.354,0.188,0.25};
```

##### colorCountlinesWater

**Type:** Array

**Description:** n/a

```cpp
colorCountlinesWater[] = {0.491,0.577,0.702,0.3};
```

##### colorForest

**Type:** Array

**Description:** n/a

```cpp
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

```cpp
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

```cpp
colorForestTextured[] = {0.624,0.78,0.388,0.25};
```

##### colorGrid

**Type:** Array

**Description:** n/a

```cpp
colorGrid[] = {0.1,0.1,0.1,0.6};
```

##### colorGridMap

**Type:** Array

**Description:** n/a

```cpp
colorGridMap[] = {0.1,0.1,0.1,0.6};
```

##### colorInactive

**Type:** Array

**Description:** n/a

```cpp
colorInactive[] = {1,1,1,0.5};
```

##### colorLevels

**Type:** Array

**Description:** n/a

```cpp
colorLevels[] = {0,0,0,0};
```

##### colorMainCountlines

**Type:** Array

**Description:** n/a

```cpp
colorMainCountlines[] = {0.572,0.354,0.188,0.5};
```

##### colorMainCountlinesWater

**Type:** Array

**Description:** n/a

```cpp
colorMainCountlinesWater[] = {0.491,0.577,0.702,0.6};
```

##### colorMainRoads

**Type:** Array

**Description:** n/a

```cpp
colorMainRoads[] = {0.9,0.5,0.3,1};
```

##### colorMainRoadsFill

**Type:** Array

**Description:** n/a

```cpp
colorMainRoadsFill[] = {1,0.6,0.4,1};
```

##### colorNames

**Type:** Array

**Description:** n/a

```cpp
colorNames[] = {0.1,0.1,0.1,0.9};
```

##### colorOutside

**Type:** Array

**Description:** n/a

```cpp
colorOutside[] = {0,0,0,1};
```

##### colorPowerLines

**Type:** Array

**Description:** n/a

```cpp
colorPowerLines[] = {0.1,0.1,0.1,1};
```

##### colorRailWay

**Type:** Array

**Description:** n/a

```cpp
colorRailWay[] = {0.8,0.2,0,1};
```

##### colorRoads

**Type:** Array

**Description:** n/a

```cpp
colorRoads[] = {0.7,0.7,0.7,1};
```

##### colorRoadsFill

**Type:** Array

**Description:** n/a

```cpp
colorRoadsFill[] = {1,1,1,1};
```

##### colorRocks

**Type:** Array

**Description:** n/a

```cpp
colorRocks[] = {0,0,0,0.3};
```

##### colorRocksBorder

**Type:** Array

**Description:** n/a

```cpp
colorRocksBorder[] = {0,0,0,0};
```

##### colorSea

**Type:** Array

**Description:** n/a

```cpp
colorSea[] = {0.467,0.631,0.851,0.5};
```

Arma 3 v2.24

##### colorShipwreck

**Type:** Array

**Description:** n/a

```cpp
colorShipwreck[] = {0.35025,0.47325,0.63825,0.375}; // Shipwreck color (colorSea * 0.75);
```

##### colorTracks

**Type:** Array

**Description:** n/a

```cpp
colorTracks[] = {0.84,0.76,0.65,0.15};
```

##### colorTracksFill

**Type:** Array

**Description:** n/a

```cpp
colorTracksFill[] = {0.84,0.76,0.65,1};
```

##### colorTrails

**Type:** Array

**Description:** n/a

```cpp
colorTrails[] = {0.84,0.76,0.65,0.15};
```

##### colorTrailsFill

**Type:** Array

**Description:** n/a

```cpp
colorTrailsFill[] = {0.84,0.76,0.65,0.65};
```

##### Command

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
compassPos[] = {-0.04,0};
```

##### compassSize

**Type:** Array

**Description:** n/a

```cpp
compassSize[] = {0.08,0.08};
```

##### Cross

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
drawObjects = 0;
```

##### drawShaded

**Type:** Number

**Description:** n/a

```cpp
drawShaded = 0.1;
```

#### F

##### fontGrid

**Type:** String

**Description:** n/a

```cpp
fontGrid = "TahomaB";
```

##### fontInfo

**Type:** String

**Description:** n/a

```cpp
fontInfo = "RobotoCondensed";
```

##### fontLabel

**Type:** String

**Description:** n/a

```cpp
fontLabel = "RobotoCondensed";
```

##### fontLevel

**Type:** String

**Description:** n/a

```cpp
fontLevel = "TahomaB";
```

##### fontNames

**Type:** String

**Description:** n/a

```cpp
fontNames = "RobotoCondensed";
```

##### fontUnits

**Type:** String

**Description:** n/a

```cpp
fontUnits = "TahomaB";
```

##### Fortress

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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

```cpp
hCollapsed = "safezoneH - 2 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)";
```

##### Hospital

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
iconCamera = "\A3\ui_f\data\GUI\Rsc\RscDisplayMissionEditor\iconCamera_ca.paa";
```

##### iconCameraColor

**Type:** Array

**Description:** n/a

```cpp
iconCameraColor[] = {0.8,0.6,0.05,0.8};
```

##### iconCameraSize

**Type:** Number

**Description:** n/a

```cpp
iconCameraSize = 24;
```

##### idcMarkerColor

**Type:** Number

**Description:** n/a

```cpp
idcMarkerColor = 1090;
```

##### idcMarkerIcon

**Type:** Number

**Description:** n/a

```cpp
idcMarkerIcon = 1091;
```

#### L

##### Legend

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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:

```cpp
maxSatelliteAlpha = 0.85;
```

String example:

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

##### moveOnEdges

**Type:** Number

**Description:** n/a

```cpp
moveOnEdges = 1;
```

#### N

##### NAME

**Type:** Class

**Description:** n/a

```cpp
class NAME
{
    icon = "";
    color[] = {0,0,0,0};
    size = 0;
    importance = 0;
    coefMin = 0;
    coefMax = 0;
};
```

#### P

##### power

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
ptsPerSquareCLn = 10;
```

##### ptsPerSquareCost

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareCost = 10;
```

##### ptsPerSquareExp

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareExp = 10;
```

##### ptsPerSquareFor

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareFor = 9;
```

##### ptsPerSquareForEdge

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareForEdge = 9;
```

##### ptsPerSquareForLod1

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareForLod1 = 4;
```

##### ptsPerSquareForLod2

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareForLod2 = 1;
```

##### ptsPerSquareMainRoad

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareMainRoad = 6;
```

##### ptsPerSquareMainRoadSimple

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareMainRoadSimple = 0.01;
```

##### ptsPerSquareObj

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareObj = 9;
```

##### ptsPerSquareObjLod1

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareObjLod1 = 2;
```

##### ptsPerSquareRoad

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareRoad = 6;
```

##### ptsPerSquareRoadSimple

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareRoadSimple = 1;
```

##### ptsPerSquareSea

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareSea = 5;
```

##### ptsPerSquareTxt

**Type:** Number

**Description:** n/a

```cpp
ptsPerSquareTxt = 20;
```

#### Q

##### Quay

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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

```cpp
runwayFont = "LCD14";
```

#### S

##### scaleDefault

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
scaleDefault = 0.16;
```

String example:

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

##### scaleMax

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
scaleMax = 1;
```

String example:

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

##### scaleMin

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
scaleMin = 0.001;
```

String example:

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

##### shadedSea

**Type:** Number

**Description:** n/a

```cpp
shadedSea = 0.3;
```

##### Shipwreck

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
showCountourInterval = 1;
```

##### showMarkers

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
showMarkers = 1;
```

String example:

```cpp
showMarkers = "true";
```

##### sizeExGrid

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
sizeExGrid = 0.02;
```

String example:

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

##### sizeExInfo

**Type:** String, Number

**Description:** n/a

String example:

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

Number example:

```cpp
sizeExInfo = 0.05;
```

##### sizeExLabel

**Type:** String, Number

**Description:** n/a

String example:

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

Number example:

```cpp
sizeExLabel = 0.05;
```

##### sizeExLevel

**Type:** Number, String

**Description:** n/a

Number example:

```cpp
sizeExLevel = 0.02;
```

String example:

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

##### sizeExNames

**Type:** String, Number

**Description:** n/a

String example:

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

Number example:

```cpp
sizeExNames = 0.05;
```

##### sizeExUnits

**Type:** String, Number

**Description:** n/a

String example:

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

Number example:

```cpp
sizeExUnits = 0.05;
```

##### SmallTree

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
speedCoefSpeed0 = 500;
```

##### speedCoefSpeedMax

**Type:** Number

**Description:** n/a

```cpp
speedCoefSpeedMax = 30;
```

##### Stack

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
stickX[] = {0.2,["Gamma",1,1.5]};
```

##### stickY

**Type:** Array

**Description:** n/a

```cpp
stickY[] = {0.2,["Gamma",1,1.5]};
```

#### T

##### Task

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
textureComboBoxColor = "#(argb,8,8,3)color(1,1,1,1)";
```

##### textureCompass

**Type:** String

**Description:** n/a

```cpp
textureCompass = "\A3\Ui_f\data\IGUI\RscCustomInfo\north_ca.paa";
```

##### Tourism

**Type:** Class

**Description:** n/a

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
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

```cpp
widthPowerLines = 6;
```

##### widthRailWay

**Type:** Number

**Description:** n/a

```cpp
widthRailWay = 4;
```

#### Y

##### yCollapsed

**Type:** String

**Description:** n/a

```cpp
yCollapsed = "1 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) + (safezoneY)";
```

### Default Classes

> [!NOTE]
> **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](../topics/import_~28Config~29.md) keyword).
>
> In older versions, use `"Default" call BIS_fnc_exportGUIBaseClasses;` and paste the result into the [description.ext](../topics/Description.ext.md).

#### RscMapControl

```cpp
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

```cpp
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

```cpp
#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;
    };
};
```

<sub>Source: [BI Community Wiki — CT MAP MAIN](https://community.bistudio.com/wiki/CT_MAP_MAIN) (revision 378920).</sub>
