Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofother @wildlands·originates fromworld 63a0f4f3-3…

wl_creatures

The twelve species: their anatomy, their rigs, their animation, their AI and their abilities.

by◐zakariya·posted 1mo ago
What it does

wl_creatures

The twelve species: their anatomy, their rigs, their animation, their AI and their abilities.

A creature is a small hierarchy of entities — torso, neck, head, legs, tail, wings, fins and ornaments — so every part can be articulated. CR.rig(key) builds that geometry once per species and caches it; CR.spawn assembles an instance; CR.tick runs the state machine and CR.animate poses the joints.

CR.hit is the single damage entry point, so armour, shields, the hurt state and defeat behave the same whoever deals the damage.

Callers: WildlandsWorld.

Interface

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

conforms to

zero/source-extract/v2

WILDLANDS — the creatures. Twelve original species, each with its own anatomy, its own animation, its own AI and its own ability. A creature is a small hierarchy of entities: a torso with a head, legs, tail, wings and ornaments hanging off it, so every part can be articulated. The anatomy table says what parts a species has and how big; the assembler turns that into geometry; the animator drives the joints. Body measurements are HALF-extents in metres: `len` is half the nose-to-tail length of the torso, `hgt` half its height, `wid` half its width.

ModelCapsuleCollider

lerp(a: ?, b: ?, t: ?) → void

argtypedescription
a?
b?
t?

toLinear(c: ?) → void

The renderer reads a vertex colour as LINEAR light, while a hex code is sRGB. Feeding 0x4d straight in renders as a washed-out pastel, so every palette entry is decoded once here.

argtypedescription
c?

hex(h: ?) → void

argtypedescription
h?

mats( ) → void

meshOf(g: ?) → void

argtypedescription
g?

skinColor(col: ?, shade: ?) → void

Every part is built at its own pivot: a leg's pivot is its hip, a wing's is its shoulder, the head's is the base of the neck. That is what lets a joint rotate the part about the right point.

argtypedescription
col?
shade?

buildTorso(a: ?, col: ?) → void

argtypedescription
a?
col?

buildHead(a: ?, col: ?) → void

argtypedescription
a?
col?

color( ) → void

color( ) → void

buildLeg(a: ?, col: ?, len: ?, thick: ?, broad: ?) → void

argtypedescription
a?
col?
len?
thick?
broad?

color( ) → void

buildTail(a: ?, col: ?) → void

argtypedescription
a?
col?

color(x: ?, y: ?) → void

argtypedescription
x?
y?

color( ) → void

buildWing(a: ?, col: ?, side: ?) → void

argtypedescription
a?
col?
side?

color( ) → void

buildOrnaments(a: ?, col: ?, kind: ?) → void

argtypedescription
a?
col?
kind?

color( ) → void

color( ) → void

color( ) → void

color( ) → void

color( ) → void

color( ) → void

color( ) → void

rig(key: ?) → void

argtypedescription
key?

clearCache( ) → void

nextUid( ) → void

spawn(parent: ?, key: ?, x: ?, y: ?, z: ?, level: ?) → void

argtypedescription
parent?
key?
x?
y?
z?
level?

posePart(rec: ?, name: ?, rx: ?, ry: ?, rz: ?) → void

argtypedescription
rec?
name?
rx?
ry?
rz?

animate(rec: ?, dt: ?) → void

argtypedescription
rec?
dt?

moveToward(rec: ?, tx: ?, tz: ?, dt: ?, ctx: ?, speedMul: ?) → void

argtypedescription
rec?
tx?
tz?
dt?
ctx?
speedMul?

distanceTo(rec: ?, x: ?, z: ?) → void

argtypedescription
rec?
x?
z?

useAbility(rec: ?, ctx: ?, dist: ?) → void

argtypedescription
rec?
ctx?
dist?

tick(rec: ?, dt: ?, ctx: ?) → void

argtypedescription
rec?
dt?
ctx?

hit(rec: ?, dmg: ?, ctx: ?) → void

Damage entry point: armour, shield, the hurt state and the defeat trigger all live here, so every source of damage behaves the same.

argtypedescription
rec?
dmg?
ctx?

despawn(rec: ?, delay: ?) → void

argtypedescription
rec?
delay?

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.

29+items
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
◐
material · born here
❒asset
▲ 0↑ born
▣
module · born here
❒asset
# wl_geo Procedural geometry. Every builder returns a `Geo` — flat `positions`, `normals`, `uvs`, `colors` and `indices` arrays in the shape `renderer.mesh.create` takes, in local space. Vertex colour multiplies the albedo of the `pbr` shader and is read as LINEAR light, so a hex palette must be decoded before it goes in (`wl_creatures` does). Builders: `sphere`, `tube`, `card`, `leaf`, `tree`, `rock`, `grassTuft`, `fern`, `bush`, `structure`, `tool`, `wildcoreOrb`, plus `append` for merging, `box`, `tpos`/`qAxis`/`qMul` for transforms and `recomputeNormals` for displaced surfaces. Callers: `WildlandsWorld`, `WildlandsPlayer`, `wl_character`, `wl_creatures`.
▲ 0↑ born
backing path · wildlands/wl_creatures.module

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.