Configuring a map
- Last UpdatedDec 04, 2023
- 1 minute read
The map should be provided by the modeling team and should be in PNG format.
-
Due to the map display in XR Viewer interface, it is better to generate squared maps.
-
An item is shown on a map if its localization point is inside the four corners and its elevation is between minimum and maximum. Note: that avatar localization point is at its feet.
-
The Y coordinates of the four points are used to define the minimum and maximum elevation to enable player automatic map localization (show the map in which the player is) and to support building and structure floor maps.
Map parameters
Maps have the following parameters.
|
Parameter |
Use |
Description |
|---|---|---|
|
file |
Mandatory |
The file path relative to the GameData\Textures\user\Textures\folder. |
|
name |
Mandatory |
The text displayed in the map. |
|
topLeft |
Mandatory |
X Y Z coordinates of the upper left corner of the map. |
|
bottomLeft |
Mandatory |
X Y Z coordinates of the lower left corner of the map. |
|
bottomRight |
Mandatory |
X Y Z coordinates of the lower right corner of the map. |
|
topRight |
Mandatory |
X Y Z coordinates of the upper right corner of the map. |
|
size |
Mandatory |
Stretches the map display. For squared maps, keep the 800 800 default. Ensure that that visualized area is 1000 800. Setting larger values cuts off parts of the map. |
|
angle |
Mandatory |
Adjusts the rotation of items to the map orientation. |