Coordinates: Difference between revisions

From Vintage Story Wiki
Marked this version for translation
No edit summary
Tags: Mobile edit Mobile web edit
(Marked this version for translation)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/><translate>
<languages/><translate>
<!--T:7-->
[[File:Coordinates-system.png|thumbnail|right|The HUD coordinates system in Vintage Story. Y=0 down at the mantle level. X=0 and Z=0 at the player's spawn point.]]
<!--T:1-->
<!--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 to the player's spawn point. This means negative values are possible. However, internally the coordinates are limited to positive values on every axis.


<!--T:2-->
<!--T:2-->
Line 15: Line 19:
! Coordinate !! Explaination
! Coordinate !! Explaination
|-
|-
| <code>x</code> || Relative to the center of the world.
| <code>x</code> || Relative to the spawn point.
|-
|-
| <code>=x</code> || Absolute with regard to the origin of the world.
| <code>=x</code> || Absolute with regard to the origin of the world.
Line 26: Line 30:
<code>/tp =0 50 =0</code>.
<code>/tp =0 50 =0</code>.


[[List of server commands]]
<!--T:6-->
{{ll|List of server commands|List of server commands}}
 
== Limits == <!--T:8-->
The minimum value of an absolute coordinate is (0, 0, 0). The maximum value is set by the world size. The world size is set at world creation through the "MapSizeX", "MapSizeY", and "MapSizeZ" fields in the [Server_Config].
 
<!--T:9-->
There is a limit to how large the world size can be set to at world creation. The limit for each dimension is defined as a [https://github.com/anegostudios/vsapi/blob/e78624b6eee6920e45edcd25ba94e8199b2193af/Config/GlobalConstants.cs#L27 global constant]. As of version [https://info.vintagestory.at/v1dot19#pre3 1.19.0-pre.3], the world size limits are:
* '''X''': 67108864
* '''Y''': 32768 (but player cannot go above 20,480)
* '''Z''': 67108864


</translate>
</translate>
Confirmedusers
2,648

edits