Log inGet started
World

Snowline Pass: Alpine Mountains and Pine Forest to Walk, with a Mountain Builder

README.md

Signs

Builds a trail signpost with direction arms and readable destinations: the baked signpost post (variant 4, post only) plus one baked signArm per arm, lettered on both faces with a mesh laid out from the engine's font glyphs (font.textMesh, ArimoBold), so each face reads left to right. The Signpost component calls it; call it directly for signs with up to six arms or custom heights.

local Signs = require("alpineProps.Signs")
local sign = Signs.make(parentEntity, { arms = {
	{ text = "Bergsee 20 min", yaw = 0 },
	{ text = "Gipfelkreuz 2 h", yawDeg = 140 },
	{ text = "Parkplatz 1 h", yaw = math.pi, height = 1.9 },
}, season = "winter", snow = true })
sign:destroy()
  • Signs.make(parent, opts): opts arms (text, yaw radians or yawDeg, optional height), season, look, snow. Arms stack top down from 2.32 m, 0.22 m apart. Children are temporary.
  • Signs.textMesh(text): the cached lettering mesh for one arm.
  • Signs.MAX_ARMS = 6.