Eden Editor: Marker: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(typo)
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="width:640px; margin: 0 auto 0 auto;">
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.
[[File:3den marker icon.jpg|center]]
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.
[[File:3den marker area.gif|center]]
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.
</div>
== Attributes ==
== Attributes ==
<!-- 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. -->
<onlyinclude>
<onlyinclude>
<!-- Exported from the game by BIS_fnc_3DENExportAttributes. Manual edits may be replaced by future exports. -->
{| class="wikitable sortable"
{| class="wikitable sortable"
! colspan="3" | <big>Info</big>
! colspan="3" | <big>Info</big>
Line 9: Line 29:
! Category
! Category
! class="unsortable" | Description
! class="unsortable" | Description
! Class
! Property
! Type
! Type
|-
|-
| '''Type'''
| '''Type'''
| Marker Type
| Type
| Icon texture.
| Marker type (script command [[markerType]]).
| <small><tt>itemClass</tt></small>
| <small><tt>itemClass</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Variable Name'''
| '''Variable Name'''
| Marker Init
| Init
| Unique system name. Can contain any characters. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables.
| Unique system name. Can contain any characters. The name is not case sensitive, so 'someName' and 'SOMENAME' are treated as the same variables.
| <small><tt>name</tt></small>
| <small><tt>markerName</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Text'''
| '''Text'''
| Marker Init
| Init
| Text displayed to the right of the marker.
| Text displayed on the right of the marker (script command [[markerText]]).
| <small><tt>text</tt></small>
| <small><tt>text</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Size'''
| '''Size'''
| Marker Transformation
| Transformation
| Area size in meters.
| Area size in meters (script command [[markerSize]]).
| <small><tt>size2</tt></small>
| <small><tt>size2</tt></small>
| [[Array]]
| [[Array]]
|-
|-
| '''Position'''
| '''Position'''
| Marker Transformation
| Transformation
| World coordinates in meters. X goes from East to West, Y from South to North and Z is height above terrain.
| 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>
| <small><tt>position</tt></small>
| [[Position3D]]
| [[PositionASL]]
|-
|-
| '''Rotation'''
| '''Rotation'''
| Marker Transformation
| Transformation
| Rotation in degrees. 0 points to North.
| Marker direction in degrees (script command [[markerDir]]).
| <small><tt>rotation</tt></small>
| <small><tt>rotation</tt></small>
| [[Number]]
| [[Number]]
|-
|-
| '''Shape'''
| '''Shape'''
| Marker Style
| Style
| Area shape.
| Marker shape (script command [[markerShape]]).
Available options:
* 1 - Ellipse
* 0 - Rectangle
* -1 - Icon
| <small><tt>markerType</tt></small>
| <small><tt>markerType</tt></small>
| [[String]]
| [[Number]]
|-
|-
| '''Brush'''
| '''Brush'''
| Marker Style
| Style
| Area fill texture.
| Marker brush (script command [[markerBrush]]).
| <small><tt>brush</tt></small>
| <small><tt>brush</tt></small>
| [[String]]
| [[String]]
|-
|-
| '''Color'''
| '''Color'''
| Marker Style
| Style
| Marker color. 'Default' is based on selected marker type.
| Marker color (script command [[markerColor]]).
| <small><tt>baseColor</tt></small>
| <small><tt>baseColor</tt></small>
| [[Array]]
| [[String]]
|-
|-
| '''Alpha'''
| '''Alpha'''
| Marker Style
| Style
| Transparency. When icon marker has a shadow, it will be visible beind the transparent icon.
| Marker transparency (script command [[markerAlpha]]). 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 18:05, 26 August 2018

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 Marker type (script command markerType). 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 on the right of the marker (script command markerText). text String
Size Transformation Area size in meters (script command markerSize). size2 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, Z, which was showing elevation in format PositionASL could reset and get stuck on 0. position PositionASL
Rotation Transformation Marker direction in degrees (script command markerDir). rotation Number
Shape Style Marker shape (script command markerShape).

Available options:

  • 1 - Ellipse
  • 0 - Rectangle
  • -1 - Icon
markerType Number
Brush Style Marker brush (script command markerBrush). brush String
Color Style Marker color (script command markerColor). baseColor String
Alpha Style Marker transparency (script command markerAlpha). When the icon marker has a shadow, it will be visible behind the transparent icon. alpha Number