1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 08:05:18 +02:00

Allow to scale nametag by distance and set font size (#16267)

This commit is contained in:
sfan5
2025-09-23 21:07:17 +02:00
committed by GitHub
parent ec790a3884
commit db8cd2121c
8 changed files with 154 additions and 81 deletions

View File

@@ -9604,6 +9604,16 @@ Player properties need to be saved manually.
-- `false` will cause the background to be set automatically based on user settings.
-- Default: false
nametag_fontsize = 1,
-- Sets the font size of the nametag in pixels.
-- `false` will cause the size to be set automatically based on user settings.
-- Default: false
nametag_scale_z = false,
-- If enabled, the nametag will be scaled by Z in screen space, meaning it becomes
-- smaller the further away the object is.
-- Default: false
infotext = "",
-- Same as infotext for nodes. Empty by default