Add ability to set custom spawn location
This commit is contained in:
11
Plan.org
11
Plan.org
@@ -227,9 +227,14 @@ Modules. Each is a Sex module; the =vsmv= CLI and the GUI share them.
|
||||
- =ui=: Nuklear + SDL3 SDL_Renderer. Tiles are SDL textures under the
|
||||
Nuklear panels.
|
||||
|
||||
Coordinates are shown like the in-game HUD, relative to the map centre
|
||||
=((MapSizeX+32)/2, (MapSizeZ+32)/2)=, with absolute coordinates available
|
||||
too. The viewer opens at spawn.
|
||||
Coordinates are shown as the game shows them, relative to the world's
|
||||
spawn (=DefaultSpawnPosition=, which =GuiDialogWorldMap= subtracts):
|
||||
=SaveGame.DefaultSpawn= when the world has one (game data field 40, a
|
||||
=PlayerSpawnPos= {1: x, 2: y, 3: z, 7: remaining uses}; this save's is
|
||||
1023719, 142, 12553), or =serverconfig.json='s =DefaultSpawn=, else
|
||||
the map's middle. A spawn of one's own can be set over it, by clicking
|
||||
the map after /Set spawn/ or with =--spawn X Z=. Absolute
|
||||
coordinates are shown too. The viewer opens at the spawn.
|
||||
|
||||
* Phases
|
||||
Each phase ends with a check against the save. A mismatch means stop,
|
||||
|
||||
Reference in New Issue
Block a user