Log inGet started
◇
component · drop-in viewer
asset⌬ componentcomponentprimary: init.luau·originates fromworld af925970-0…

Vault

The Combing Vault itself: the architecture, the air and the grade.

by◐Deata·posted 1mo ago
What it does

Vault

The Combing Vault itself: the architecture, the air and the grade.

Attach it to the scene's Vault director entity. It needs nothing beside it — it reads game.shared.game for the nave and bale numbers, and it builds its own geometry, lights, atmosphere and post-process stack at start().

What it puts in the room

  • The shell dressing. Black basalt lining over the scene's bare walls: a pilaster rhythm down both sides, blind arches between the piers, a bronze field behind each arch, a brass cornice, the tally cut into the west wall where the counter overflowed, and a pointed barrel vault (springing at 12 m, crowning at 20 m) with brass transverse ribs and a ridge rib, so the ceiling reads as height rather than a lid.
  • East clerestory. Five arched windows of warm emissive glass with brass tracery and stone arch bands. Each one throws a light shaft — an additive prism from the glass to the floor, faded along its length by game/vault/tex/beam.texture — which is what carries the godray look.
  • The gallery. A brass walkway at 6.2 m along both walls with balusters, rails and corbels; hanging censers on chains in the aisle, each with an ember core and its own warm light.
  • The bale bodies. For every GAME.BALES entry, a dark bound mass behind the needle face (fx = cx + normalX * halfDepth, so nothing pokes through the needles), a bronze plinth, a heavy brass top edge, corner posts and clamps, a frame around the 14 × 8 needle core, binding straps and studs.
  • The shrine at the far end: steps, a brass-framed niche with a glowing panel and a gilded monolith, flanking columns, a canopy and a brass rose deep in the dark above it.
  • Dust. 460 motes in one instanced draw (renderer.mesh.drawInstanced with a GPU transform buffer), drifting slowly through the shafts.
  • Light. Five window shafts, five warm washes at gallery height, a close lamp in front of every bale face, censer coals, vault warmth, a cool fill at the entrance and teal pools at the foot of the walls — warm amber against cold shadow.
  • Air and grade. VolumetricLighting (thin) and HeightFog (cool, low), and a PostProcess stack of bloom, colour grade, depth haze and vignette with a display exposure, plus DepthOfField on the camera.

Performance

Everything is merged into one mesh per material — five static meshes for the whole room, one instanced draw for the dust — so the dressing costs six draws and one small buffer write per frame.

Rebuilding

Geometry is made at runtime from game.shared.game's numbers, so it always agrees with the needlefield's bale grid. start() tears down the previous VaultDressing root before building, so a hot reload replaces the room rather than stacking a second one.

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

AssetLightSpotLightVolumetricLightingHeightFogPostProcessDepthOfFieldModel

newGeo(uvScale: number) → void

argtypedescription
uvScalenumber

uvOf(self: ?, x: number, y: number, z: number, nx: number, ny: number, nz: number) → void

argtypedescription
self?
xnumber
ynumber
znumber
nxnumber
nynumber
nznumber

pushVert(self: ?, x: number, y: number, z: number, nx: number, ny: number, nz: number) → number

argtypedescription
self?
xnumber
ynumber
znumber
nxnumber
nynumber
nznumber

pushVertUV(self: ?, x: number, y: number, z: number, u: number, v: number) → number

argtypedescription
self?
xnumber
ynumber
znumber
unumber
vnumber

quad(self: ?, a: ?, b: ?, c: ?, d: ?, hx: ?, hy: ?, hz: ?, nx: ?, ny: ?, nz: ?) → void

Four corners, and the side that must face outward.

argtypedescription
self?
a?
b?
c?
d?
hx?
hy?
hz?
nx?
ny?
nz?

tri(self: ?, a: ?, b: ?, c: ?, hx: ?, hy: ?, hz: ?) → void

A triangle, wound so its front is the side `h` points at.

argtypedescription
self?
a?
b?
c?
hx?
hy?
hz?

quadUV(self: ?, a: ?, b: ?, c: ?, d: ?, uva: ?, uvb: ?, uvc: ?, uvd: ?) → void

A quad whose UVs are stated rather than projected — for the light shafts, where v runs along the beam so the gradient can fade it out.

argtypedescription
self?
a?
b?
c?
d?
uva?
uvb?
uvc?
uvd?

box(self: ?, xa: ?, xb: ?, ya: ?, yb: ?, za: ?, zb: ?) → void

Axis-aligned block from two opposite corners, in any order.

argtypedescription
self?
xa?
xb?
ya?
yb?
za?
zb?

bar(self: ?, x: ?, y0: ?, z0: ?, y1: ?, z1: ?, w: ?, d: ?) → void

Mitred post between two points in a vertical plane at fixed `x`.

argtypedescription
self?
x?
y0?
z0?
y1?
z1?
w?
d?

cyl(self: ?, cx: ?, cz: ?, y0: ?, y1: ?, r: ?, segs: ?) → void

argtypedescription
self?
cx?
cz?
y0?
y1?
r?
segs?

sphere(self: ?, cx: ?, cy: ?, cz: ?, r: ?, segs: ?, rings: ?) → void

argtypedescription
self?
cx?
cy?
cz?
r?
segs?
rings?

at(ring: ?, seg: ?) → void

argtypedescription
ring?
seg?

archBand(self: ?, xOut: ?, xIn: ?, zc: ?, yc: ?, rIn: ?, rOut: ?, a0: ?, a1: ?, segs: ?) → void

A band following a circle arc in the YZ plane at plane `x`. xOut faces the aisle, xIn is the wall side, angles measured from +Z.

argtypedescription
self?
xOut?
xIn?
zc?
yc?
rIn?
rOut?
a0?
a1?
segs?

archCap(self: ?, x: ?, zc: ?, yc: ?, r: ?, a0: ?, a1: ?, segs: ?, hintX: ?) → void

Half-disc closing an arched opening in the YZ plane at `x`.

argtypedescription
self?
x?
zc?
yc?
r?
a0?
a1?
segs?
hintX?

meshHandle(g: ?) → void

argtypedescription
g?

buildShell(basalt: ?, brass: ?, bronze: ?, glass: ?) → void

argtypedescription
basalt?
brass?
bronze?
glass?

profiling(u: number) → number

argtypedescription
unumber

buildGallery(basalt: ?, brass: ?) → void

argtypedescription
basalt?
brass?

spawnModel(parentId: ?, name: ?, source: ?, x: ?, y: ?, z: ?, height: ?) → void

argtypedescription
parentId?
name?
source?
x?
y?
z?
height?

buildCensers(brass: ?, parentId: ?) → void

argtypedescription
brass?
parentId?

buildShrine(basalt: ?, brass: ?, bronze: ?, glass: ?, parentId: ?) → void

argtypedescription
basalt?
brass?
bronze?
glass?
parentId?

buildBeams(beam: ?) → void

The sun through the east windows, as an additive prism per window: bright at the glass, fading to nothing where it reaches the floor. The gradient rides the texture's v axis, so one material covers every shaft.

argtypedescription
beam?

corner(t: number, w: number, h: number, sx: number, sy: number) → void

argtypedescription
tnumber
wnumber
hnumber
sxnumber
synumber

buildBales(steel: ?, brass: ?, bronze: ?) → void

argtypedescription
steel?
brass?
bronze?

buildFloor(basalt: ?, brass: ?) → void

argtypedescription
basalt?
brass?

initDust(parentId: ?) → void

argtypedescription
parentId?

draw( ) → number

updateDust(t: number) → void

argtypedescription
tnumber

addPointLight(parentId: ?, name: ?, x: ?, y: ?, z: ?, r: ?, g: ?, b: ?, intensity: ?, radius: ?, shadows: ?) → void

argtypedescription
parentId?
name?
x?
y?
z?
r?
g?
b?
intensity?
radius?
shadows?

addSpotLight(parentId: ?, name: ?, x: ?, y: ?, z: ?, tx: ?, ty: ?, tz: ?, r: ?, g: ?, b: ?, brightness: ?, range: ?, angle: ?, inner: ?) → void

argtypedescription
parentId?
name?
x?
y?
z?
tx?
ty?
tz?
r?
g?
b?
brightness?
range?
angle?
inner?

mul(a: ?, b: ?) → void

argtypedescription
a?
b?

buildLights(parentId: ?) → void

argtypedescription
parentId?

buildAir(parentId: ?) → void

argtypedescription
parentId?

buildGrade(parentId: ?) → void

argtypedescription
parentId?

teardown( ) → void

spawnMesh(rootId: ?, name: ?, geo: ?, material: ?) → void

argtypedescription
rootId?
name?
geo?
material?

build( ) → void

start( ) → void

update(dt: number) → void

argtypedescription
dtnumber

editorUpdate(dt: number) → void

argtypedescription
dtnumber

onDestroy( ) → void

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.