build
Builds the amphitheatre geometry: raked, blood-stained sand, a podium wall, six gates (triumphal tunnel, Libitinensis, four iron-grilled beast pens), twenty tiers of seating holding about 4,700 seated spectators, an imperial box with red awnings and a bronze eagle, banners, velar…
game.arena.build
Builds the amphitheatre geometry: raked, blood-stained sand, a podium wall, six gates (triumphal tunnel, Libitinensis, four iron-grilled beast pens), twenty tiers of seating holding about 4,700 seated spectators, an imperial box with red awnings and a bronze eagle, banners, velarium sails, broken spears, braziers and colliders. Everything is merged into vertex-coloured runtime meshes. Called by game.arena.Arena.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2game/arena/build.module — raises the amphitheatre around the sand oval at R.ZONES.arena: raked sand with blood stains and broken spears, a podium wall of plastered brick with travertine pilasters, six gates (the Porta Triumphalis the player enters by, the Porta Libitinensis under the imperial box, and four iron-grilled beast pens), twenty rows of stone seating packed with a seated crowd, the imperial box with marble columns, red awnings and a bronze eagle, red banners, velarium masts and sails, and the arcaded outer facade. local Build = require("game.arena.build") local A = Build.build(parentEntity) A.gates.penE1.grille -- entity raised to open the gate A.gates.penE1.spawn -- {x, z} inside the tunnel A.gates.penE1.entry -- {x, z} on the sand just in front of the gate A.crowdA / A.crowdB -- cheering-arm layers the director flickers Geometry is merged per material into a few vertex-coloured runtime meshes (game.arena.geo), so the whole stadium is a handful of draws.
E(o: number, t: number, y: number) → void
oval helpers: o = metres outward from the sand edge, t = angle
| arg | type | description |
|---|---|---|
| o | number | |
| t | number | |
| y | number |
nrm(o: number, t: number) → void
| arg | type | description |
|---|---|---|
| o | number | |
| t | number |
inward(o: number, t: number) → void
| arg | type | description |
|---|---|---|
| o | number | |
| t | number |
tang(o: number, t: number) → void
| arg | type | description |
|---|---|---|
| o | number | |
| t | number |
dsdt(o: number, t: number) → void
| arg | type | description |
|---|---|---|
| o | number | |
| t | number |
angdiff(a: number, b: number) → void
| arg | type | description |
|---|---|---|
| a | number | |
| b | number |
add(p: ?, v: ?, k: ?) → void
| arg | type | description |
|---|---|---|
| p | ? | |
| v | ? | |
| k | ? |
B(name: string) → void
| arg | type | description |
|---|---|---|
| name | string |
material(name: string) → void
| arg | type | description |
|---|---|---|
| name | string |
flush(parent: ?, name: string, list: ?, matName: string?, shadows: boolean?) → void
| arg | type | description |
|---|---|---|
| parent | ? | |
| name | string | |
| list | ? | |
| matName | string? | |
| shadows | boolean? |
inBox(o: number, t: number) → boolean
| arg | type | description |
|---|---|---|
| o | number | |
| t | number |
wallQuad(b: ?, o: number, t0: number, t1: number, y0: number, y1: number, cBot: ?, cTop: ?, facing: ?) → void
pieces
| arg | type | description |
|---|---|---|
| b | ? | |
| o | number | |
| t0 | number | |
| t1 | number | |
| y0 | number | |
| y1 | number | |
| cBot | ? | |
| cTop | ? | |
| facing | ? |
flatQuad(b: ?, o0: number, o1: number, t0: number, t1: number, y: number, col: ?, hint: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| o0 | number | |
| o1 | number | |
| t0 | number | |
| t1 | number | |
| y | number | |
| col | ? | |
| hint | ? |
ovalBox(b: ?, o: number, t: number, y: number, su: number, sy: number, sw: number, col: ?, skip: ?, over: ?) → void
A box standing on the oval at (o, t), axes = tangent / up / outward normal.
| arg | type | description |
|---|---|---|
| b | ? | |
| o | number | |
| t | number | |
| y | number | |
| su | number | |
| sy | number | |
| sw | number | |
| col | ? | |
| skip | ? | |
| over | ? |
arch(b: ?, c: ?, u: ?, n: ?, w: number, h: number, col: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| c | ? | |
| u | ? | |
| n | ? | |
| w | number | |
| h | number | |
| col | ? |
P2(lx: ?, ly: ?) → void
| arg | type | description |
|---|---|---|
| lx | ? | |
| ly | ? |
sandColour(x: number, z: number, s: number, stains: ?) → void
| arg | type | description |
|---|---|---|
| x | number | |
| z | number | |
| s | number | |
| stains | ? |
build(parent: ?) → void
Raise the whole amphitheatre under `parent`; returns handles the director drives.
| arg | type | description |
|---|---|---|
| parent | ? |
nearGate(i: number, d: number) → boolean
| arg | type | description |
|---|---|---|
| i | number | |
| d | number |
L(lx: number, y: number, lz: number) → void
| arg | type | description |
|---|---|---|
| lx | number | |
| y | number | |
| lz | number |
bx(b: ?, lx: ?, y: ?, lz: ?, sx: ?, sy: ?, sz: ?, col: ?, skip: ?, over: ?) → void
| arg | type | description |
|---|---|---|
| b | ? | |
| lx | ? | |
| y | ? | |
| lz | ? | |
| sx | ? | |
| sy | ? | |
| sz | ? | |
| col | ? | |
| skip | ? | |
| over | ? |
at(lx: ?, ly: ?, dz: ?) → void
| arg | type | description |
|---|---|---|
| lx | ? | |
| ly | ? | |
| dz | ? |
at(lx: ?, ly: ?) → void
| arg | type | description |
|---|---|---|
| lx | ? | |
| ly | ? |
ring(o: number, segs: number, thick: number, height: number) → void
| arg | type | description |
|---|---|---|
| o | number | |
| segs | number | |
| thick | number | |
| height | number |
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ 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".
Scoped to this part · feeds back into the world's score.