2019-10-28 19:21:52 +01:00
HUD Compass [hud_compass]
-------------------------
2019-12-30 04:48:00 +01:00
A Minetest mod to optionally place a HUD compass and 24-hour clock on the screen.
2019-10-28 19:21:52 +01:00
By David G (kestral246)
2019-10-29 17:43:26 +01:00
![HUD Compass Screenshot ](screenshot.png "hud_compass" )
2019-10-28 19:21:52 +01:00
How to enable
-------------
2019-12-30 18:20:52 +01:00
This mod defaults to not displaying a compass or a clock. To enable, use the chat command:
2019-10-28 19:21:52 +01:00
2019-12-30 18:20:52 +01:00
"/compass" -> By default this places just a compass in the bottom right corner of the screen.
2019-10-28 19:21:52 +01:00
2019-12-30 18:20:52 +01:00
Repeated use of this command will toggle the display of the compass off and on.
2019-10-28 19:21:52 +01:00
2019-12-30 18:20:52 +01:00
When given with an argument, the user can select whether to display just a compass, or a compass and a clock, and which corner of the screen to place them in. This is particularly useful with Android clients, where the bottom right corner of the screen has the jump button.
2019-12-24 22:24:10 +01:00
2019-12-30 18:20:52 +01:00
"/compass 1" -> compass only, top right corner
"/compass 2" -> compass only, bottom right corner
"/compass 3" -> compass only, bottom left corner
"/compass 4" -> compass only, top left corner
"/compass 5" -> compass and clock, top right corner
"/compass 6" -> compass and clock, bottom right corner
"/compass 7" -> compass and clock, bottom left corner
"/compass 8" -> compass and clock, top left corner
2019-12-24 22:24:10 +01:00
In addition:
2019-12-30 18:20:52 +01:00
"/compass 0" -> forces compass and clock off.
**Note:** The clock is a 24-hour clock, with only one hand that displays the hours. Noon is at the top and midnight is at the bottom.
2019-12-24 22:24:10 +01:00
Local mod storage is used to maintain the state and position of hud_compass display between sessions, per user.
2019-10-28 19:21:52 +01:00
Licenses
--------
Source code
> The MIT License (MIT)
Media (textures)
> Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
2019-12-30 18:20:52 +01:00
> (Compass textures were copied from my realcompass mod, which were originally based on the textures created by tacotexmex for the ccompass mod. Clock textures were derived from these same textures.)
2019-10-28 19:21:52 +01:00