Eden Editor: Marker: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "{{SideTOC}}" to "{{TOC|side}}") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
! colspan="3" | <big>Info</big> | ! colspan="3" | <big>Info</big> | ||
! colspan=" | ! colspan="3" | <big>[[Eden Editor: Setting Attributes|Development]]</big> | ||
|- | |- | ||
! Name | ! Name | ||
Line 28: | Line 28: | ||
! Property | ! Property | ||
! Type | ! Type | ||
! Correspondence | |||
|- | |- | ||
| '''Type''' | | '''Type''' | ||
Line 34: | Line 35: | ||
| <small><tt>itemClass</tt></small> | | <small><tt>itemClass</tt></small> | ||
| [[String]] | | [[String]] | ||
| [[markerType]] | |||
|- | |- | ||
| '''Variable Name''' | | '''Variable Name''' | ||
Line 40: | Line 42: | ||
| <small><tt>markerName</tt></small> | | <small><tt>markerName</tt></small> | ||
| [[String]] | | [[String]] | ||
| [[createMarker]] | |||
|- | |- | ||
| '''Text''' | | '''Text''' | ||
Line 46: | Line 49: | ||
| <small><tt>text</tt></small> | | <small><tt>text</tt></small> | ||
| [[String]] | | [[String]] | ||
| [[markerText]] | |||
|- | |- | ||
| '''Position''' | | '''Position''' | ||
Line 52: | Line 56: | ||
| <small><tt>position</tt></small> | | <small><tt>position</tt></small> | ||
| [[Position3D]] | | [[Position3D]] | ||
| [[markerPos]] | |||
|- | |- | ||
| '''Size''' | | '''Size''' | ||
Line 58: | Line 63: | ||
| <small><tt>size2</tt></small> | | <small><tt>size2</tt></small> | ||
| [[Array]] | | [[Array]] | ||
| [[markerSize]] | |||
|- | |- | ||
| '''Rotation''' | | '''Rotation''' | ||
Line 64: | Line 70: | ||
| <small><tt>rotation</tt></small> | | <small><tt>rotation</tt></small> | ||
| [[Number]] | | [[Number]] | ||
| [[markerDir]] | |||
|- | |- | ||
| '''Shape''' | | '''Shape''' | ||
Line 74: | Line 81: | ||
| <small><tt>markerType</tt></small> | | <small><tt>markerType</tt></small> | ||
| [[String]] | | [[String]] | ||
| [[markerShape]] | |||
|- | |- | ||
| '''Brush''' | | '''Brush''' | ||
Line 80: | Line 88: | ||
| <small><tt>brush</tt></small> | | <small><tt>brush</tt></small> | ||
| [[String]] | | [[String]] | ||
| [[markerBrush]] | |||
|- | |- | ||
| '''Color''' | | '''Color''' | ||
Line 86: | Line 95: | ||
| <small><tt>baseColor</tt></small> | | <small><tt>baseColor</tt></small> | ||
| [[Array]] | | [[Array]] | ||
| [[markerColor]] | |||
|- | |- | ||
| '''Alpha''' | | '''Alpha''' | ||
Line 92: | Line 102: | ||
| <small><tt>alpha</tt></small> | | <small><tt>alpha</tt></small> | ||
| [[Number]] | | [[Number]] | ||
| [[markerAlpha]] | |||
|} | |} | ||
</onlyinclude> | </onlyinclude> | ||
[[Category:Eden Editor: Asset Types|Markers]] | [[Category:Eden Editor: Asset Types|Markers]] |
Revision as of 19:27, 16 June 2021
A marker is an image shown on the player's map. It is visible to every player, and it is visible only on the map, not in the scene.
Icon Markers
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.
Area Markers
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 the 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.
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 | Correspondence |
Type | Type | Icon texture. | itemClass | String | markerType |
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 | createMarker |
Text | Init | Text displayed right from the marker. | text | String | markerText |
Position | Transformation | World coordinates in meters. X goes from West to East and Y from South to North. | position | Position3D | markerPos |
Size | Transformation | Area size in meters. | size2 | Array | markerSize |
Rotation | Transformation | Local rotation in degrees. X is pitch, Y is roll and Z is yaw. | rotation | Number | markerDir |
Shape | Style | Area shape.
Available options:
|
markerType | String | markerShape |
Brush | Style | Area fill texture. | brush | String | markerBrush |
Color | Style | Marker color. 'Default' is based on the selected marker type. | baseColor | Array | markerColor |
Alpha | Style | Transparency. When the icon marker has a shadow, it will be visible behind the transparent icon. | alpha | Number | markerAlpha |