parts
The basic course parts, each drawn in the course look: walkable `deck`s, `ramp`s, `stairs`, `bridge`s (plank, rope with sag, stone arch), `pillar`s, flat `water` sheets, Trapline KillZone safety nets (`killStrip`, and `killUnder`, which sizes one from the footprints of the pieces…
courseKit.parts
The basic course parts, each drawn in the course look: walkable decks, ramps, stairs, bridges (plank, rope with sag, stone arch), pillars, flat water sheets, Trapline KillZone safety nets (killStrip, and killUnder, which sizes one from the footprints of the pieces placed), course signs (alpineProps Signpost or courseKit.SignBoard), lanternPosts (six styles or your own model via defineLantern), alpineProps / forestProps props and trees, platformsKit platforms in the theme's look and reskin. Re-exported by courseKit.api; used by courseKit.pieces.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2strict courseKit.parts: the basic course parts: decks, ramps, stairs, bridges (plank, rope, stone arch), pillars, water sheets, Trapline kill strips (and `killUnder`, which sizes one under the pieces placed), trail signs (alpineProps Signpost or courseKit.SignBoard), lantern posts (built-in styles or your own model), alpineProps / forestProps props and trees, platformsKit platforms in the theme's look, and re-skinning a platform with courseKit.Reskin. Reached through courseKit.api; every walkable part has a box collider and records its footprint.
rims(root: any, style: string, mat: string, w: number, len: number, th: number) → void
| arg | type | description |
|---|---|---|
| root | any | |
| style | string | |
| mat | string | |
| w | number | |
| len | number | |
| th | number |
posts(root: any, style: string, mat: string, w: number, len: number, th: number, depth: number, accent: string?) → void
| arg | type | description |
|---|---|---|
| root | any | |
| style | string | |
| mat | string | |
| w | number | |
| len | number | |
| th | number | |
| depth | number | |
| accent | string? |
accentOf(look: any) → string
| arg | type | description |
|---|---|---|
| look | any |
rimStyleOf(o: any, look: any) → string
| arg | type | description |
|---|---|---|
| o | any | |
| look | any |
deck(name: string, p: { number }, w: number, len: number, yaw: number, opts: any?) → any
A walkable deck: its top surface at `p`, `w` across and `len` along `yaw`, with a box collider. opts: look (a deck look), top / rim / post (palette keys overriding the look), rims (false or a rim style), posts (a post style), thick, depth (how far the posts reach down), slats (false: one solid top), parent.
| arg | type | description |
|---|---|---|
| name | string | |
| p | { number } | |
| w | number | |
| len | number | |
| yaw | number | |
| opts | any? |
ramp(name: string, a: { number }, b: { number }, w: number, opts: any?) → any
A walkable ramp from point `a` up (or down) to point `b` (points on its top surface), `w` wide, with side rims and piers. opts: look, top, rim, post, rims (false), piers (count), pierHeight (8), pierWidth, rimExtra (metres added to the rims' length), thick (0.5).
| arg | type | description |
|---|---|---|
| name | string | |
| a | { number } | |
| b | { number } | |
| w | number | |
| opts | any? |
stairs(name: string, a: { number }, b: { number }, w: number, opts: any?) → any
A flight of stairs from `a` (foot, top of the first tread level) to `b` (top landing level), `w` wide. opts: look, steps (count; default one per 0.3 m of rise), top, rim, post, thick.
| arg | type | description |
|---|---|---|
| name | string | |
| a | { number } | |
| b | { number } | |
| w | number | |
| opts | any? |
bridge(name: string, a: { number }, b: { number }, w: number, opts: any?) → any
A bridge from `a` to `b` (top-surface points at each end), `w` wide. opts: kind ("plank": flat planks with the look's rims; "rope": loose planks hung on two rope rails with a sag; "arch": a solid deck that rises over a stone arch), look, sag (rope, default 0.35 m), rise (arch, default 12% of the span), top, rim, post, posts, cable.
| arg | type | description |
|---|---|---|
| name | string | |
| a | { number } | |
| b | { number } | |
| w | number | |
| opts | any? |
at(t: number) → number return dy
| arg | type | description |
|---|---|---|
| t | number |
pillar(name: string, p: { number }, h: number, opts: any?) → any
A standalone pillar to jump on: its top surface at `p`, `h` tall, `size` across (default 2.4). opts: look, top, post, rim, round (cylinder), yaw, size, parent.
| arg | type | description |
|---|---|---|
| name | string | |
| p | { number } | |
| h | number | |
| opts | any? |
water(name: string, p: { number }, w: number, len: number, yaw: number, look: any?) → any
A flat water sheet (no collider) at `p`: w x len along yaw. look: a water look name (toon, teal, lake, river, animated, swamp, lava, ice) or { look = ... }; default the course's.
| arg | type | description |
|---|---|---|
| name | string | |
| p | { number } | |
| w | number | |
| len | number | |
| yaw | number | |
| look | any? |
killStrip(name: string, opts: any) → any
A Trapline KillZone box (world-axis aligned) whose top is at `opts.top`: the safety net that takes a life and sends a fallen player back to their checkpoint. opts: x, z (centre), top, sizeX, sizeZ, depth (default 14), label, look (Trapline look, default "invisible").
| arg | type | description |
|---|---|---|
| name | string | |
| opts | any |
killUnder(name: string, pieces: { any }?, opts: any?) → any
A kill strip sized under a run of course pieces: their footprints' union plus `pad`, its top `drop` metres under the lowest piece top. pieces: entities the kit placed (default: everything since `beginRun`). opts: pad (2), drop (1.5), depth (12), label, look.
| arg | type | description |
|---|---|---|
| name | string | |
| pieces | { any }? | |
| opts | any? |
sign(name: string, p: { number }, yaw: number, arms: { any }, opts: any?) → any
A course sign at `p` facing along `yaw`: arms = { { text, dirDeg? }, ... } (dir relative to the course direction, 0 = straight ahead; up to 4). opts: a number (scale) or { style, scale, season, snow, look }. Styles: trail, trailPainted, trailReal, trailWinter, trailAutumn (alpineProps Signpost), board, stone, candy, scifi (courseKit.SignBoard).
| arg | type | description |
|---|---|---|
| name | string | |
| p | { number } | |
| yaw | number | |
| arms | { any } | |
| opts | any? |
defineLantern(name: string, spec: any) → void
Add a lantern style made from your own model or bundle: spec = { model (asset handle), modelHeight (the model's own height, default 1), modelBase (how far its origin sits above its base, model units; default modelHeight / 2), modelYaw (degrees), lightAt ({x, y, z} in model units above its base), light ({r, g, b}), about }. Then `setDefaults({ lantern = name })`.
| arg | type | description |
|---|---|---|
| name | string | |
| spec | any |
lanternPost(name: string, p: { number }, yaw: number, opts: any?) → any
A lantern post at `p`, its lantern side facing `yaw`. opts: a number (height) or { style (iron, timber, stone, paper, candy, scifi or a style from defineLantern), height (2.4), lightAt ({x, y, z} metres), color ({r, g, b}), intensity (3), range (7) }.
| arg | type | description |
|---|---|---|
| name | string | |
| p | { number } | |
| yaw | number | |
| opts | any? |
prop(kind: string, p: { number }, opts: any?) → any
One prop at `p`: an alpineProps kind (spruce, fir, graniteBoulder, rockOutcrop, alpenrose, ...) or, with opts.set = "forest", a forestProps kind (oak, beech, birch, boulder, fernBracken, ...). opts: name, yaw, look (toon), season, age, seed, snow (alpine), collide, scale.
| arg | type | description |
|---|---|---|
| kind | string | |
| p | { number } | |
| opts | any? |
trees(f: any, list: { any }, opts: any?) → void
Props along a course: list = { { s, l, h, kind?, age? }, ... } in frame `f`, seeded variety. opts: kind (default "spruce"), seed, age, season, snow, look, set, name ("Tree").
| arg | type | description |
|---|---|---|
| f | any | |
| list | { any } | |
| opts | any? |
props(f: any, list: { any }, opts: any?) → void
Same as `trees`, for any prop kinds (boulders, flowers, shrubs): list = { { s, l, h, kind } }.
| arg | type | description |
|---|---|---|
| f | any | |
| list | { any } | |
| opts | any? |
platform(kind: string, p: { number }, opts: any?) → any
A platformsKit platform (`kind`: path, pingpong, rotate, seesaw, crumble, fall, spring, mushroom, conveyor, oneway, beat, ice, sticky, elevator, ladder, rope, swing, sink, fan) at `p` in the course theme's platform look. opts: any PK.spawn option (yaw, name, speed, path, ...), look (a platformsKit look), reskin (true: the theme's re-skin, or a re-skin name).
| arg | type | description |
|---|---|---|
| kind | string | |
| p | { number } | |
| opts | any? |
reskin(e: any, look: string?) → any
Dress a platformsKit platform (or any entity whose parts are named …Top / …Body / …Stone) in a re-skin look (floe, ice, snow, storybook, mossyStone, candy, scifi, desert, lava) by adding courseKit.Reskin, which re-applies it whenever the platform rebuilds its parts.
| arg | type | description |
|---|---|---|
| e | any | |
| look | string? |
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.