Log inGet started
Package

BakedStructures.module

This package holds more than this page lists. See all of its files in its world.

README.md

BakedStructures

Generated index of every baked hut part and trail prop mesh (StructureBake.writeIndex() writes it from meshes/structures_manifest.json; do not edit by hand). StructureCatalog reads it to hand out parts; nothing else needs to.

  • meshes[name] is a literal asset.ref for each <kind>_v<variant>_lod<lod>_<materialKey> mesh under meshes/structures, so publishing and installing see every mesh as a dependency.
  • parts["<kind>_v<v>_lod<l>"] lists the material keys that stem draws, in order (snow last, drawn only when snow is on).
  • tris[name] is the triangle count of each mesh, used by the budget tests and the package README.
local Baked = require("alpineProps.BakedStructures")
print(Baked.parts["bench_v1_lod0"][1], Baked.tris["bench_v1_lod0_roughTimber"])