1
0
mirror of https://github.com/pandorabox-io/banners.git synced 2025-07-04 17:20:38 +02:00

fix banner support for 5.12+ (#11)

* fix banner support for 5.12+

- changed from .x to .obj format
- exported at 0.2 scale -> the base is still a bit larger
  than a node but exporting smaller causes the base to levatate.

* fix pole

- moved up
- changed from .x to .obj format

* fix preview

by resizing the background the scaling works again.
Though lua_api.md promises that lower resolution textures
are upscaled to larger ones [see TEXMOD_UPSCALE]

* tweak formspec layout
This commit is contained in:
Luke aka SwissalpS
2025-07-03 11:12:34 +02:00
committed by GitHub
parent ea0a0fe6c4
commit acd0d7c45a
9 changed files with 654 additions and 1539 deletions

View File

@ -134,7 +134,7 @@ core.register_craft({
-- nodes
core.register_node("banners:power_banner", {
drawtype = "mesh",
mesh = "banner_support.x",
mesh = "banner_support.obj",
tiles = { "gold_support.png" },
description = "Power Banner",
groups = { cracky = 3 },
@ -164,7 +164,7 @@ core.register_node("banners:power_banner", {
core.register_node("banners:death_banner", {
drawtype = "mesh",
mesh = "banner_support.x",
mesh = "banner_support.obj",
tiles = { "death_uv.png" },
description = "Death Banner",
groups = { cracky = 3 },