Log inGet started
Package

RockCatalog.module

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

README.md

RockCatalog

Registers the stone and built half of desertProps with Props (50 kinds): rocks (boulderSandstone, boulderVarnished, boulderRounded, rockCluster, rockSlab, pebbleScatter, ventifact), formations (archNatural, archSmall, outcropLayered, hoodoo, hoodooCluster, rockFin, mushroomRock, cliffWall, mesaButte), ruins (mud-brick and stone walls, ruinGateway, ruinArchway, columns, ruinTower, ruinHouse, ruinDomeBroken, ruinStairs, ruinFloorTiles, wellStone, statueHead, statueFeet, obeliskFallen, amphora, potteryShards) and camp kinds (crates, barrels, cart, wheel, tentBedouin, rug, campfireRing, skull, ribcage, saddle bags, lanternBrass, signpostWooden, treasureChest, waterskin). Props requires it on first use.

Pure lookup over BakedRock: each part is a baked mesh drawn with its desertMaterials surface for the look asked for (RC.surfaceOf(kind, part)). Also: RC.LIGHTS / RC.lightOffset(kind, variant) (campfire and lantern point-light hooks), RC.SIGN_FACE (signpost label face), RC.shape(kind, variant) (baked size, arch / gateway opening, door). Colliders: box / capsule / sphere for small things, mesh with meshes[variant] for rocks, formations, walk-through arches, ruins you walk into, stairs and the well.

local Props = require("desertProps.Props")
local parts = Props.parts("archNatural", { look = "toon", variant = 2, lod = 0 })