Eden Editor: Marker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(typo)
m (update)
Line 19: Line 19:


== Attributes ==
== Attributes ==
<!-- Exported from the game by bis_fnc_3DENExportAttributes. Manual edits may be replaced by future exports. -->
<onlyinclude>
<!-- Exported from the game by BIS_fnc_3DENExportAttributes. Manual edits may be replaced by future exports. -->
<!-- Exported from the game by BIS_fnc_3DENExportAttributes. Manual edits may be replaced by future exports. -->
{| class="wikitable sortable"
{| class="wikitable sortable"
Line 34: Line 32:
| '''Type'''
| '''Type'''
| Type
| Type
| Marker type (script command [[markerType]]).
| Icon texture.
| <small><tt>itemClass</tt></small>
| <small><tt>itemClass</tt></small>
| [[String]]
| [[String]]
Line 46: Line 44:
| '''Text'''
| '''Text'''
| Init
| Init
| Text displayed on the right of the marker (script command [[markerText]]).
| Text displayed right from the marker.
| <small><tt>text</tt></small>
| <small><tt>text</tt></small>
| [[String]]
| [[String]]
|-
| '''Position'''
| Transformation
| World coordinates in meters. X goes from West to East and Y from South to North.
| <small><tt>position</tt></small>
| [[Position3D]]
|-
|-
| '''Size'''
| '''Size'''
| Transformation
| Transformation
| Area size in meters (script command [[markerSize]]).
| Area size in meters.
| <small><tt>size2</tt></small>
| <small><tt>size2</tt></small>
| [[Array]]
| [[Array]]
|-
| '''Position'''
| Transformation
| World coordinates in meters (script command [[markerPos]]). X goes from West to East and Y from South to North, Z goes from down up. '''NOTE''' that after dragging marker around, <tt>Z</tt>, which was showing elevation in format [[PositionASL]] could reset and get stuck on 0.
| <small><tt>position</tt></small>
| [[PositionASL]]
|-
|-
| '''Rotation'''
| '''Rotation'''
| Transformation
| Transformation
| Marker direction in degrees (script command [[markerDir]]).
| Local rotation in degrees. X is pitch, Y is roll and Z is yaw.
| <small><tt>rotation</tt></small>
| <small><tt>rotation</tt></small>
| [[Number]]
| [[Number]]
Line 70: Line 68:
| '''Shape'''
| '''Shape'''
| Style
| Style
| Marker shape (script command [[markerShape]]).
| Area shape.
Available options:
Available options:
* 1 - Ellipse
* '''Rectangle'''
* 0 - Rectangle
* '''Ellipse'''
* -1 - Icon
 
| <small><tt>markerType</tt></small>
| <small><tt>markerType</tt></small>
| [[Number]]
| [[String]]
|-
|-
| '''Brush'''
| '''Brush'''
| Style
| Style
| Marker brush (script command [[markerBrush]]).
| Area fill texture.
| <small><tt>brush</tt></small>
| <small><tt>brush</tt></small>
| [[String]]
| [[String]]
Line 86: Line 84:
| '''Color'''
| '''Color'''
| Style
| Style
| Marker color (script command [[markerColor]]).
| Marker color. 'Default' is based on the selected marker type.
| <small><tt>baseColor</tt></small>
| <small><tt>baseColor</tt></small>
| [[String]]
| [[Array]]
|-
|-
| '''Alpha'''
| '''Alpha'''
| Style
| Style
| Marker transparency (script command [[markerAlpha]]). When the icon marker has a shadow, it will be visible behind the transparent icon.
| Transparency. When the icon marker has a shadow, it will be visible behind the transparent icon.
| <small><tt>alpha</tt></small>
| <small><tt>alpha</tt></small>
| [[Number]]
| [[Number]]

Revision as of 10:45, 17 March 2020

A marker is an image shown on the player's map. It is visible by each player, and it is visible only on the map, not in the scene.


A marker can be an icon. It is a single image which has a constant size on the screen when zooming the map in and out. When you set its text, it will be shown on its right side. It is used to mark points of interest, like an enemy base or an insertion point.

3den marker icon.jpg


Markers can also be areas. Their size is set in meters and is constant in the world space. They are used for marking specific zones, such as an enemy area or border line. Similarly to trigger areas, the marker area can also be edited using area scaling widget.


The area is always shown, but by default you cannot interact with it. However, when the marker is selected, you can drag it by its area as well.

3den marker area.gif


Markers are a powerful tool for explaining your intentions to the player with little or no text. Do not forget to use them while designing your scenario.

Attributes

Info Development
Name Category Description Property Type
Type Type Icon texture. itemClass String
Variable Name Init Unique system name. Can contain any characters. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables. markerName String
Text Init Text displayed right from the marker. text String
Position Transformation World coordinates in meters. X goes from West to East and Y from South to North. position Position3D
Size Transformation Area size in meters. size2 Array
Rotation Transformation Local rotation in degrees. X is pitch, Y is roll and Z is yaw. rotation Number
Shape Style Area shape.

Available options:

  • Rectangle
  • Ellipse
markerType String
Brush Style Area fill texture. brush String
Color Style Marker color. 'Default' is based on the selected marker type. baseColor Array
Alpha Style Transparency. When the icon marker has a shadow, it will be visible behind the transparent icon. alpha Number