Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 47b50fcd-5…

courtyardBake

Bakes the night courtyard's buildings offline into static meshes, so the scene build only places finished assets: a scene build may not cook a procGraph, and live Generators would cook on every client.

by◐Deata·posted 2d ago
What it does

courtyardBake

Bakes the night courtyard's buildings offline into static meshes, so the scene build only places finished assets: a scene build may not cook a procGraph, and live Generators would cook on every client.

Each building in BUILDINGS (footprint, tiers, seed, window density; residential, signChance 0) is cooked once with CitySwinger's BuildingGen (systems.BuildingGen.Building) over outside.CourtyardHudson. Every instanced kit piece is transformed into place and merged into one mesh per building per material under outside/courtyardMeshes/. The building's window slots go beside the mesh list in outside.courtyardBuildings, and outside.nightCourtyard reads that file to place the meshes and glaze each window with a FakeInteriors room.

Run it in edit mode from an execute or a tool, never from a build: require("outside.courtyardBake").bake() bakes every building, and bake({ "court_west" }) bakes only the named ones. Then touch the comment above the nightCourtyard call in the scene's build.luau so the scene's meshes are made again.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

strict

inputs(b: any) → void

argtypedescription
bany

refGuid(r: any) → string

argtypedescription
rany

rot(qx: number, qy: number, qz: number, qw: number, vx: number, vy: number, vz: number) → void

rotate v by unit quaternion q = (x, y, z, w)

argtypedescription
qxnumber
qynumber
qznumber
qwnumber
vxnumber
vynumber
vznumber

readSlots(proc: any, substrate: any, graph: any, Layout: any, b: any) → void

the slots a building reports, as { x, y, z, yaw } with yaw the facade it stands on

argtypedescription
procany
substrateany
graphany
Layoutany
bany

bakeBuilding(proc: any, substrate: any, graph: any, b: any, geomCache: { [string]: any }) → void

cook one building's pieces and merge them by material; returns { { mesh, material, tris } }

argtypedescription
procany
substrateany
graphany
bany
geomCache{ [string]: any }

readExisting( ) → void

bake(names: { string }?) → void

Bake `names` (default every building); buildings not named keep their previous bake.

argtypedescription
names{ string }?

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.