Eden Editor: Marker: Difference between revisions
Killzone Kid (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<tt>([a-zA-Z0-9\. _"\\']+)<\/tt>" to "{{hl|$1}}") |
||
Line 33: | Line 33: | ||
| Type | | Type | ||
| Icon texture. | | Icon texture. | ||
| <small> | | <small>{{hl|itemClass}}</small> | ||
| [[String]] | | [[String]] | ||
| [[markerType]] | | [[markerType]] | ||
Line 40: | Line 40: | ||
| 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> | | <small>{{hl|markerName}}</small> | ||
| [[String]] | | [[String]] | ||
| [[createMarker]] | | [[createMarker]] | ||
Line 47: | Line 47: | ||
| Init | | Init | ||
| Text displayed right from the marker. | | Text displayed right from the marker. | ||
| <small> | | <small>{{hl|text}}</small> | ||
| [[String]] | | [[String]] | ||
| [[markerText]] | | [[markerText]] | ||
Line 54: | Line 54: | ||
| Transformation | | Transformation | ||
| World coordinates in meters. X goes from West to East and Y from South to North. | | World coordinates in meters. X goes from West to East and Y from South to North. | ||
| <small> | | <small>{{hl|position}}</small> | ||
| [[Position3D]] | | [[Position3D]] | ||
| [[markerPos]] | | [[markerPos]] | ||
Line 61: | Line 61: | ||
| Transformation | | Transformation | ||
| Marker A and B size. | | Marker A and B size. | ||
| <small> | | <small>{{hl|size2}}</small> | ||
| [[Array]] | | [[Array]] | ||
| [[markerSize]] | | [[markerSize]] | ||
Line 68: | Line 68: | ||
| Transformation | | Transformation | ||
| Rotation in degrees. | | Rotation in degrees. | ||
| <small> | | <small>{{hl|rotation}}</small> | ||
| [[Number]] | | [[Number]] | ||
| [[markerDir]] | | [[markerDir]] | ||
Line 79: | Line 79: | ||
* 1 - ellipse | * 1 - ellipse | ||
| <small> | | <small>{{hl|markerType}}</small> | ||
| [[Number]] | | [[Number]] | ||
| [[markerShape]] | | [[markerShape]] | ||
Line 86: | Line 86: | ||
| Style | | Style | ||
| Area fill texture. | | Area fill texture. | ||
| <small> | | <small>{{hl|brush}}</small> | ||
| [[String]] | | [[String]] | ||
| [[markerBrush]] | | [[markerBrush]] | ||
Line 93: | Line 93: | ||
| Style | | Style | ||
| Marker color. 'Default' is based on the selected marker type. | | Marker color. 'Default' is based on the selected marker type. | ||
| <small> | | <small>{{hl|baseColor}}</small> | ||
| [[Array]] | | [[Array]] | ||
| [[markerColor]] | | [[markerColor]] | ||
Line 100: | Line 100: | ||
| Style | | Style | ||
| Transparency. 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> | | <small>{{hl|alpha}}</small> | ||
| [[Number]] | | [[Number]] | ||
| [[markerAlpha]] | | [[markerAlpha]] |
Revision as of 23:55, 15 November 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 | Marker A and B size. | size2 | Array | markerSize |
Rotation | Transformation | Rotation in degrees. | rotation | Number | markerDir |
Shape | Style | Marker shape. The marker has to be created as shape marker, for this use "" empty string as class name with create3DENEntity, this will create rectangular marker.
Available options:
|
markerType | Number | 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 |