DialogControls-Map: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(more params)
m (disamb)
 
(24 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| border="1" align="left" cellpadding="3" cellspacing="0" |
{{Wiki|disamb}}
! colspan="3" bgcolor="#bbbbff" | Properties
|-
! bgcolor="#ddddff" | Name
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Remark
|-
| '''ActiveMarker'''
| class
| focused marker, members: '''color, size'''
|-
| '''CustomMark'''
| class
| icon for the custom mark, members: '''icon, color, size, coefMin, coefMax, importance'''
|-
| '''Command'''
| class
| map object type properties for command sign, members: '''icon, color, size, coefMin, coefMax, importance'''
|-
| '''Legend'''
| class
| legend properties, members: '''x, y, w, h, font, sizeEx, colorBackground, color'''
|-
| '''Waypoint'''
| class
|
|-
| '''WaypointCompleted'''
| class
|
|-
| '''colorCountlines'''
| color array
| color of countlines
|-
| '''colorMainCountlines'''
| color array
| color of thicker countlines
|-
| '''colorCountlinesWater'''
| color array
| color of countlines in sea
|-
| '''colorMainCountlinesWater'''
| color array
| color of thicker countlines in sea
|-
| '''colorForest'''
| color array
| color of forest
|-
| '''colorForestBorder'''
| color array
| color of borders of forest
|-
| '''colorInactive'''
| color array
| color modifier for inactive objects
|-
| '''colorLevels'''
| color array
| color of height levels
|-
| '''colorNames'''
| color array
| color of geographic names (towns, villages, mounts etc.)
|-
| '''colorTracks'''
| color array
| color of tracks
|-
| '''colorRoads'''
| color array
| color of roads
|-
| '''colorMainRoads'''
| color array
| color of main roads
|-
| '''colorTracksFill'''
| color array
| color of tracks
|-
| '''colorRoadsFill'''
| color array
| color of roads
|-
| '''colorMainRoadsFill'''
| color array
| color of main roads
|-
| '''colorGrid'''
| color array
| color of grid texts
|-
| '''colorGridMap'''
| color array
| color of grid lines
|-
| '''colorTrails'''
| color array
| color of Trails
|-
| '''colorTrailsFill'''
| color array
| color of Trails
|-
| '''colorOutside'''
| color array
| color outside the map area
|-
| '''colorPowerLines'''
| color array
| color of power lines
|-
| '''colorRailWay'''
| color array
| color of railway
|-
| '''colorRocks'''
| color array
| color of rocky area
|-
| '''colorRocksBorder'''
| color array
| color of borders of rocky area
|-
| '''colorSea'''
| color array
| color of sea
|-
| '''maxSatelliteAlpha'''
| float
| satellite map fading
|-
| '''alphaFadeStartScale'''
| float
| satellite map fading
|-
| '''alphaFadeEndScale'''
| float
| satellite map fading
|-
| '''moveOnEdges'''
| boolean
| {{Feature arma3 | Not implemented}}
|-
| '''ptsPerSquareSea'''
| floats
| seas
|-
| '''ptsPerSquareTxt'''
| floats
| textures
|-
| '''ptsPerSquareCln'''
| floats
| count-lines
|-
| '''ptsPerSquareExp'''
| floats
| exposure
|-
| '''ptsPerSquareCost'''
| floats
| cost
|-
| '''ptsPerSquareFor'''
| floats
| forests
|-
| '''ptsPerSquareForEdge'''
| floats
| forest edges
|-
| '''ptsPerSquareRoad'''
| floats
| roads 3 lines (center and 2x border)
|-
| '''ptsPerSquareRoadSimple'''
| floats
| roads 1 line
|-
| '''ptsPerSquareMainRoad'''
| floats
| main roads 3 lines (center and 2x border) {{Warning | currently omitted, probably bug }}
|-
| '''ptsPerSquareMainRoadSimple'''
| floats
| main roads 1 line
|-
| '''ptsPerSquareObj'''
| floats
| other objects
|-
| '''showCountourInterval'''
| boolean
| countour interval
|-
| '''stickX/Y'''
| arrays
| for joystick?
|-
| '''fontLabel'''
| fonts
| font used for labels
|-
| '''sizeExLabel'''
| fonts
| font size
|-
| '''fontGrid'''
| fonts
| font used for grid texts
|-
| '''sizeExGrid'''
| fonts
| font size
|-
| '''fontUnits'''
| fonts
| font used for id of selected units
|-
| '''sizeExUnits'''
| fonts
| font size
|-
| '''fontNames'''
| fonts
| font used for geographic names
|-
| '''sizeExNames'''
| fonts
| font size
|-
| '''fontInfo'''
| fonts
| font used for enemy info
|-
| '''sizeExInfo'''
| fonts
| font size
|-
| '''fontLevel'''
| fonts
| font used for natural ground levels
|-
| '''sizeExLevel'''
| fonts
| font size
|-
| '''mapOrientation'''
| integer
| 0 - default North; 1 - map rotates with player/vehicle direction; 2 - map rotates with camera weapon direction. (Applicable to CT_MAP and available since Arma 3 v1.67)
|-
| '''drawObjects'''
| boolean
| Should units be drawn on this map
|-
|}<br clear="all">
===ActiveMarker class===
{| border="1" align="left" cellpadding="3" cellspacing="0" |
! colspan="3" bgcolor="#bbbbff" | Properties
|-
! bgcolor="#ddddff" | Name
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Remark
|-
| '''color'''
| color array
|
|-
| '''size'''
| integer
| note not sizeEx
|-
|}<br clear="all">
===Command class===
{| border="1" align="left" cellpadding="3" cellspacing="0" |
! colspan="3" bgcolor="#bbbbff" | Properties
|-
! bgcolor="#ddddff" | Name
! bgcolor="#ddddff" | Type
! bgcolor="#ddddff" | Remark
|-
| '''color'''
| color array
|
|-
| '''size'''
| integer
| note not sizeEx
|-
| '''icon'''
| argb
|
|-
| '''importance'''
| integer
|
|-
| '''coefMin/Max'''
| floats
| probably
|-
|}<br clear="all">
===Example===
<code><nowiki>
#define CT_MAP_MAIN 101
#define ST_PICTURE 48


class RscMapControl
* [[CT_MAP]]
{
* [[CT_MAP_MAIN]]
  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;
 
  stickX[] = {0.20, {"Gamma", 1.00, 1.50} };
  stickY[] = {0.20, {"Gamma", 1.00, 1.50} };
  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;
  };
};
 
</nowiki></code>
 
[[Category:Dialogs|MAP]]

Latest revision as of 14:38, 7 February 2021

Disambiguation
This disambiguation page lists articles associated with the same title.