Coordinates: Difference between revisions

From Vintage Story Wiki
(add translate tag)
(Marked this version for translation)
Line 1: Line 1:
<languages/><translate>
<languages/><translate>
<!--T:1-->
'''Coordinates''' are the system and general notation that is used to determine location. While playing the game, the coordinate HUD shows position relative the center of the world. This means negative values are possible. However, internally the coordinates are limited to positive values on every axis.
'''Coordinates''' are the system and general notation that is used to determine location. While playing the game, the coordinate HUD shows position relative the center of the world. This means negative values are possible. However, internally the coordinates are limited to positive values on every axis.


<!--T:2-->
Some misconception can arise from the coordinate system, as the in-game HUD displays coordinates based on the center point of the x and z axis of the world, and the player's relation to them. The debug screen displays both absolute and relative coordinates.
Some misconception can arise from the coordinate system, as the in-game HUD displays coordinates based on the center point of the x and z axis of the world, and the player's relation to them. The debug screen displays both absolute and relative coordinates.


<!--T:3-->
'''Example:''' For a world size of 1,000,000 blocks along the x and z axes, the absolute player position at spawn would be 500,000 and 500,000. In the HUD, this would be displayed at 0 and 0.
'''Example:''' For a world size of 1,000,000 blocks along the x and z axes, the absolute player position at spawn would be 500,000 and 500,000. In the HUD, this would be displayed at 0 and 0.


== Notation ==
== Notation == <!--T:4-->
For use in commands, coordinates use the following notation.
For use in commands, coordinates use the following notation.
{| class="wikitable"
{| class="wikitable"
Line 19: Line 22:
|}
|}


<!--T:5-->
'''Example:''' Teleport to the absolute coordinates 0, 50, 0 (Note that the Y value is by default interpreted as an absolute value)
'''Example:''' Teleport to the absolute coordinates 0, 50, 0 (Note that the Y value is by default interpreted as an absolute value)
<code>/tp =0 50 =0</code>.
<code>/tp =0 50 =0</code>.


</translate>
</translate>

Revision as of 10:23, 17 February 2022

Other languages:

Coordinates are the system and general notation that is used to determine location. While playing the game, the coordinate HUD shows position relative the center of the world. This means negative values are possible. However, internally the coordinates are limited to positive values on every axis.

Some misconception can arise from the coordinate system, as the in-game HUD displays coordinates based on the center point of the x and z axis of the world, and the player's relation to them. The debug screen displays both absolute and relative coordinates.

Example: For a world size of 1,000,000 blocks along the x and z axes, the absolute player position at spawn would be 500,000 and 500,000. In the HUD, this would be displayed at 0 and 0.

Notation

For use in commands, coordinates use the following notation.

Coordinate Explaination
x Relative to the center of the world.
=x Absolute with regard to the origin of the world.
~x Relative to the player.

Example: Teleport to the absolute coordinates 0, 50, 0 (Note that the Y value is by default interpreted as an absolute value) /tp =0 50 =0.