diff --git a/docs/plan/art-list.md b/docs/plan/art-list.md index 06f8cf2a..d07ead87 100644 --- a/docs/plan/art-list.md +++ b/docs/plan/art-list.md @@ -1392,6 +1392,7 @@ Milestone: Dinosaurs. - **Bloody claws:** all three carnivores get them (Tyrannosaurus, Velociraptor, Dilophosaurus). - **Screen shake:** only the T. rex, Triceratops and Brachiosaurus cause it. - **Dust trail:** 4 grey dust frames of 16×16, made by an agent (D330): one lumpy cloud that breaks up into specks, played by age. Code tints each puff 30 % paler than the ground under the foot and gives it its own size and opacity (D340). +- **Body impacts:** a death fall, a Triceratops ram and a Brachiosaurus stomp raise a burst of the dust trail frames (D404). No new art. - **Where effects start:** mouth effects at the jaw or snout, splashes and ripples where a body part crosses the water (D339). The sprites stay the same. - **Today in the code:** the mod has no custom particle type. @@ -1440,7 +1441,7 @@ Milestone: Dinosaurs. | Footprint: quadruped | Triceratops prints | Missing | F2.3 | None. Agent makes it (D330). | | Footprint: sauropod | Brachiosaurus prints | Missing | F2.3 | None. Agent makes it (D330). | | Air trails | Swipe trails on arm and tail attacks | Missing | F2.3 | None. Agent makes it (D330). | -| Dust trail | Grey dust puffs behind a walking or running animal: 4 frames of 16×16, played by age. Code tints them by the ground and varies their size and opacity | To check in game | F2.3 | MOD `textures/particle/dust_0.png` to `dust_3.png`, also in REPO `particles/dust/` (not committed there yet). Agent-made, lead approved the mock-up (D330, D340). No particle code yet | +| Dust trail | Grey dust puffs behind a walking or running animal: 4 frames of 16×16, played by age. Code tints them by the ground and varies their size and opacity. Body impacts use the same frames (D404) | To check in game | F2.3 | MOD `textures/particle/dust_0.png` to `dust_3.png`, also in REPO `particles/dust/` (not committed there yet). Agent-made, lead approved the mock-up (D330, D340). No particle code yet | | Screen shake | A T. rex, Triceratops or Brachiosaurus walks close or roars. Config can turn it off | No art needed | F2.3 | Code only | ### Effects: environment and sleep @@ -1459,7 +1460,7 @@ Milestone: Dinosaurs. | Sleep bubbles | Sleeping animal | Missing | F2.3 | None. Agent makes it (D330). | | Wound overlays (cuts, scars) | Wound look | Not in Beta | F2.3 | REPO dinosaurs/_common/textures/damage_overlay_*.png | -**Changed since last review:** Each overlay row is one grey fill-order mask; code makes the 4 steps (D367). The snow cover rows became body coat masks: one mask per species serves snow and the sand, dirt and mud coats, so mud needs no row of its own and is in Beta (D370). Wet skin needs no art: it darkens the skin colour (D368). All effects are in Beta. The Gallimimus gets blood drips and a bloody mouth. Screen shake stays with the three large species. All three carnivores get bloody claws. The dust trail is agent-made dust sprites, tinted by the ground (D340). Its 4 frames are in the mod, to check in game. +**Changed since last review:** Body impacts reuse the dust trail frames, and herd footsteps reuse each species' footstep sounds, so neither adds a row (D404, D405). Each overlay row is one grey fill-order mask; code makes the 4 steps (D367). The snow cover rows became body coat masks: one mask per species serves snow and the sand, dirt and mud coats, so mud needs no row of its own and is in Beta (D370). Wet skin needs no art: it darkens the skin colour (D368). All effects are in Beta. The Gallimimus gets blood drips and a bloody mouth. Screen shake stays with the three large species. All three carnivores get bloody claws. The dust trail is agent-made dust sprites, tinted by the ground (D340). Its 4 frames are in the mod, to check in game. --- diff --git a/docs/plan/engineering-backlog.md b/docs/plan/engineering-backlog.md index dbcd7a48..5c2fbfa9 100644 --- a/docs/plan/engineering-backlog.md +++ b/docs/plan/engineering-backlog.md @@ -3797,6 +3797,8 @@ F2.3 gives each species its own clips, sounds and visual effects, with no borrow - **Weight in every step.** Each footfall gives the body a light bounce (D347), and an animal steps as it turns, never spinning on the spot (D346). - **Own warnings.** Each species warns with its own sound, not the T. rex roar. - **Tracks.** Dinosaurs leave fading footprints and kick up dust of the ground they walk and run on (D340, D374). +- **Falls.** A body that hits the ground raises a burst of dust: a dying animal, a Triceratops ram, a Brachiosaurus stomp (D404). +- **Herds.** The footsteps of a herd share a pool, so 12 running Gallimimus sound like a herd and not like 30 single steps per second (D405). - **Body effects.** They drip water after a drink, breathe fog in the cold and snore Zzz in their sleep. - **Screen shake.** The screen shakes when a big one roars nearby. @@ -4051,6 +4053,16 @@ The code layers add to the clip pose each frame, in this order. No layer writes - Every walk and run clip carries footstep keyframes (Art list rows). - Wire every keyframe effect name to a sound event. - Rename the Brachiosaurus `walk2` and `eatingtall2` effects to names that match their sounds. + - Each footstep key says which foot landed (D409). Dust and footprints start at that foot, and the 8 shipped Brachiosaurus keys are all named `walk2`. The sound tool measures each landing per foot, so its key file can carry the foot. The task plan picks the form. It stays inside the sound keys, so the sound tool's clip fingerprints do not change. +- [ ] Herd footsteps (D405): on each client, the footsteps of one species share a pool. A herd then sounds like a herd, and the number of footstep sounds stays bounded. + - Why: every footfall starts its own sound. 12 running Gallimimus land about 30 steps per second (12 animals × 2 feet ÷ the 0.79 s `run` clip), and a pack of 6 running Velociraptors about 17 (6 × 2 ÷ 0.71 s). + - The animals of a species nearest the camera play every footstep, in time with their feet. `client.herd_footstep_voices` sets how many. Start value 4 (proposal, lead decides in playtest): it keeps every step of a T. rex pair, a Dilophosaurus group and the smallest herds, and pools only the larger groups. + - Every other footstep of that species in hearing range starts no sound. It adds to one herd level from 0 to 1 for that species, which falls back to 0 in about 1 second, as the shake level does (D324). + - The steps that play get louder as the herd level rises: from the single-step volume up to full volume. More feet then give more sound from the same few sound instances. Both ends are set by ear in playtest, inside the footstep loudness class (D350). + - The client ranks the animals a few times per second, not per frame and not per footstep. + - Dust, footprints and screen shake still come from every footstep. Only the sound is pooled. + - No new sound files: the pool plays each species' own footstep sounds. + - Source of the idea: Prehistoric Kingdom ties its waterfall sound to the number of particles nearby (dev diary, October 2026). - [ ] Gameplay sounds (roars, calls) start from server clip events, not only from keyframes, because Dynamic FPS skips frames. - [ ] Every call plays (D349). No dinosaur sound shorter than about 10 s has `"stream": true`. Vanilla 26.2 plays at most 8 streamed sounds at once, music included. Today all 37 T. rex entries stream. - [ ] Variation (D351): every dinosaur sound plays through the voice pitch of `Dinosaur.getVoicePitch` (up to ±0.2 at random, 1.5 for a hatchling) and a small random volume. Roars, calls, footsteps and keyframe sounds included. Today the `ThreatDisplay` roar plays at pitch 1. The volume range is a config value, set in playtest. @@ -4072,8 +4084,9 @@ The code layers add to the clip pose each frame, in this order. No layer writes | Mouth and body | Foggy breath in cold biomes | idle breath in a cold biome | | Mouth and body | Yawn, sneeze, snort | idle acts and sleep start | | Mouth and body | Dilophosaurus spit: splash particles and a blob projectile with physics | the F2.6 spit | -| Movement | Slow-fading footprints, by body size and by biped or quadruped | each footstep event on a solid top face | +| Movement | Slow-fading footprints, by body size and by biped or quadruped | each footstep event on a solid top face of soft ground (D407) | | Movement | Dust trail when walking and running, tinted by the block under each foot | each footstep event while walking or running | +| Movement | Body-impact dust where a body hits the ground (D404) | the body drop key of a death clip, a Triceratops ram hit, a Brachiosaurus stomp | | Movement | Air trails during attack clips (arm and tail swipes) | attack clip events | | Movement | Screen shake when a large dinosaur walks close or roars | footstep and roar events within range | | Environment | Snow cover overlay on an animal that sits or sleeps in a snow biome | rest or sleep in snow | @@ -4120,6 +4133,7 @@ The code layers add to the clip pose each frame, in this order. No layer writes - Each puff picks a size and an opacity from a range. It is thrown back behind the foot, slows down, rises a little, and fades out at the end of its life. A fast animal may drag some dust forward where that looks right. The amount is set in playtest. - Near the camera (D398): a puff fades as it comes close to the camera, so the dust of a large animal does not cover the screen of a player who stands at its feet. Start values, set in playtest: full opacity at 3 blocks or more, none at 1 block. - Each foot makes its burst when it lands: two feet on a biped, four on a quadruped. + - Where the burst starts (D409): at the foot that the footstep key names. While the D343 listener is on (running, in water), that is the foot bone's position. While it is off (walking), it is the foot's rest offset from the animal's position, turned by the body yaw. So a walk needs no listener. - The count and size per footstep grow with body size and speed. Starting values from the concept renders (2026-11-03), set in playtest: - Velociraptor: 4 puffs of 0.45 to 0.8 block, thrown back 0.5 to 1 block, rise 0.25 to 0.5 block, life up to 1.1 s. - Tyrannosaurus: 6 puffs of 0.7 to 1.2 blocks, thrown back 0.6 to 1.2 blocks, rise 0.25 to 0.5 block, life up to 1.3 s. @@ -4129,10 +4143,31 @@ The code layers add to the clip pose each frame, in this order. No layer writes - Velociraptor, from the concept render (2026-11-04): 2 puffs of 0.22 to 0.4 block, thrown back 0.25 to 0.5 block, rise 0.12 to 0.25 block, life up to 1.1 s. Each puff starts at about 55 % opacity and fades to about 20 %. - Other species: half the puffs of their run, rounded up, and half its size, throw and rise. Life as their run, opacity as above (proposal, lead decides). - Renders: `docs/mockups/2026-11-04-raptor-walk-blood-dirt.mp4` and `docs/mockups/2026-11-04-raptor-walk-blood-dirt.png` on dirt, `docs/mockups/2026-11-04-raptor-walk-blood-grass.png` on grass, `docs/mockups/2026-11-04-raptor-walk-dust-before-after.png` for the first and final strength, `docs/mockups/2026-11-04-trex-walk-blood-max-snow.mp4` and `docs/mockups/2026-11-04-trex-walk-blood-max-snow.png` for a T. rex on snow. + - Ground strength (D406): loose ground raises more dust than soft ground, and hard ground less, but never none (D374). The puff count per footstep and per body impact is multiplied by a ground factor. The tint, the size and the look of each puff do not change. + - Two block tags name the ground. `projectnublar:ground/loose`: sand, red sand, gravel, snow, snow block, powder snow. `projectnublar:ground/soft`: the loose blocks, the three coats tags (D370), grass block, mycelium, clay, moss block, farmland, dirt path, soul sand and soul soil. Any other block is hard ground. Other mods' blocks can join the tags. + - Loose ground has a factor above 1, soft ground has 1, and hard ground has a factor below 1. The two factors are not set (D410): Prehistoric Kingdom's dev diary of October 2026 gives the order (sand and snow raise the largest plumes, dirt less) and no amounts. Both become config values, set in playtest. Until they are set, every ground has factor 1. - A walk or run clip with no footstep keyframes yet spawns dust from under the body by a chance per tick that rises with ground speed, with a cap per animal (D358). Each spawn makes 1 or 2 puffs, thrown at a part of the body speed. Starting values, with speed in blocks per tick: chance `speed × 1.6` at a run. At a walk, chance `speed × 0.8` and 1 puff per spawn, at the walk size and opacity (proposal, lead decides). At most 0.25 per tick. Values set in playtest. A walk makes a few faint puffs, a trot more, a sprint the most, and a moving herd does not fill the screen. +- [ ] Body-impact dust (D404): a body that hits the ground raises one burst of the D340 dust. It uses the dust particle type, its sprites, its ground tint and its fade near the camera (D357, D398). No new art. + - Triggers in Beta: + - Death, every species: the moment the body lands in the death clip. The clip carries a `body_impact` key at the body drop anchor that the sound pipeline measures for the death sound's body fall: the body bone's fastest fall, then its stop (`docs/superpowers/specs/2026-11-04-sound-pipeline-design.md`, Anchors). One measured moment serves the sound and the dust. + - Triceratops ram: the ram's attack hit, the attack-hit event that the bloody claw overlay also reads. + - Brachiosaurus stomp: the stomp's attack clip event. + - The `body_impact` key goes in the clip's sound keys, as the footstep keys do. It starts an effect and no sound, so the step that wires each key to a sound event skips it. The sound tool's clip fingerprint leaves the sound keys out, so the new key does not send the death sounds back to review. + - Where: a death burst spreads along the body's length on the ground, from the animal's position, yaw and body size. A ram or stomp burst starts under the front of the body. No bone listener is needed (D343). + - The puffs fly outward from the body and stay low. They are not thrown back, because the body does not move on. + - Start values (proposal, lead decides in playtest). They reuse each species' run dust, so there is no second table: + - Death: the puffs of one run footstep for each foot, all at once. The whole body lands at once, so it counts as every foot landing. A Velociraptor makes 8 puffs (2 feet × 4), a Tyrannosaurus 12 (2 × 6) and a Brachiosaurus 28 (4 × 7). + - Ram and stomp: the puffs of two run footsteps, under the front of the body. + - Size, rise and life as that species' run puffs. + - Screen shake: a body impact of a T. rex, Triceratops or Brachiosaurus adds to the shake level as one of its footsteps does (D324, D395). + - In water: where the body lands in water, no dust starts. The D339 splashes cover it. + - A carcass that loads later raises no dust. The server sends a death clip again after a chunk reload (F2.1). The burst plays only during the clip's first play: while the synced start tick plus the clip length is not yet past. + - Any other clip can carry the key later with no new code: the `tranqed` clip (F4.3), and the sit and rest clips, which have the same body drop anchor. + - Source of the idea: Prehistoric Kingdom raises dust when an animal rolls over or is hit by an Apatosaurus (dev diary, October 2026). - [ ] Overlays (blood, snow) are render layers with F2.2 bone masks. - [ ] Coverage (D366, D369): each overlay has a coverage value from 0 to 1 per animal, kept on the client from synced state. No packet. - Snow: rises while the animal sits, rests or sleeps in a snow biome or in snowfall. It falls slowly once the animal moves, fast in a warm biome, and drops to 0 in water. + - Open sky (D408): the snow rises only while the animal is under open sky. Under a roof, a tree canopy or a cave ceiling it does not rise, in a snow biome too. One vanilla sky test at the animal's position, a few times per second. - Bloody mouth: full after the eat clip on meat or a carcass. Bloody claws: full after an attack hit. Both fall over time, and drop to 0 when the animal drinks or swims. - Rise and fall rates are config values, set in playtest. - [ ] Ground coats (D370 to D372): sand, dirt and mud, each its own layer, so two can show at once (muddy legs, a sandy back). @@ -4149,9 +4184,11 @@ The code layers add to the clip pose each frame, in this order. No layer writes - Target look: between renders v2 and v3 of 2026-11-04 (`docs/mockups/2026-11-04-trex-coats-v2.png`, `docs/mockups/2026-11-04-trex-coats-halfway.png`, `docs/mockups/2026-11-04-trex-coats-v3.png`), with less snow at the last step than v3. - [ ] Wet skin (D368): - Each body part that was under the water surface gets wet, and the back gets wet in rain. The part list comes from the F2.2 bone masks and the D339 bone positions, which are on while the animal is in water. + - Rain needs open sky (D408): rain wets the back only where rain falls on the animal, not under a roof. The vanilla rain test covers the sky, the cover above and the biome. Check it on 26.2. - A wet part is drawn a little darker. It dries in about 20 to 60 s, faster in sunlight and near fire, lava or a lit campfire. Darkness and drying rates are config values, set in playtest. - No shader and no texture. The task plan picks the draw method: a darker vertex colour on the masked bones or a masked darkening pass. - [ ] Footprints are client particles or decals. They never change blocks. + - Soft ground only (D407): a footstep leaves a print only on a block in `projectnublar:ground/soft` (D406). Stone, planks and glass take no print. - [ ] Long-lived particles (footprints, plant bits at rest) update every 5th tick when 2 or more blocks from the player, and not at all while out of view (D359). Their fade keeps its speed in steps. - [ ] Every effect follows the BH.1 low-effects switches: particles (all, reduced, none), screen shake, glow layers. - Durations, ranges, sizes and fade times are config values, set in the task plan with a stated basis. @@ -4161,6 +4198,8 @@ The code layers add to the clip pose each frame, in this order. No layer writes - Effect durations, ranges and sizes, set in the task plan. - `client.screen_shake`: true (BH.1). +- `client.herd_footstep_voices`: 4 (proposal, lead decides in playtest, D405). +- Dust ground factors for loose and hard ground: not set (D410). #### Produces @@ -4198,6 +4237,15 @@ See Art list → each species (every clip and sound row), and Dinosaur effects. - A T. rex running on sand kicks up sand-coloured dust, on snow white dust, and on grass light brown dust. Each puff starts as a cloud at the foot and breaks up into specks as it fades. The puffs differ in size and opacity, are thrown back behind the foot and stay low. - A running Brachiosaurus kicks up dust at all four feet, and the dust of the far feet shows past the near legs. - Every species walking on any ground raises a few small, faint puffs, a lot fewer and smaller than at its trot or run. +- A T. rex that dies on sand raises one sand-coloured dust burst along its body at the moment the body lands. A carcass that comes into view after its death clip ended raises none (D404). +- A Triceratops ram that hits, and a Brachiosaurus stomp, each raise dust under the front of the body (D404). +- Unit test: with 12 walking animals of one species in hearing range, the footstep pool voices the 4 nearest and no other. With 3, it voices all 3. A pooled footstep still makes its dust and its footprint (D405). +- 12 Gallimimus run past the player: the nearest animals' steps stay in time with their feet, and a Gallimimus call at the same distance stays clear over the footsteps (in game, both loaders) (D405). +- Once the two ground factors are set (D410): a T. rex raises more puffs per footstep on sand than on grass, and fewer on stone, but never none (D406). +- A footstep on dirt, sand or snow leaves a print. A footstep on stone, planks or glass leaves none (D407). +- A T. rex that sleeps under a roof in a snow biome gets no snow, and one that stands under a roof in rain keeps a dry back. One next to it under open sky gets both (D408). +- A walking Brachiosaurus raises each puff and leaves each print at the foot that landed, at all four feet (D409). +- Unit test: every footstep key in every walk and run clip names a foot of that species (D409). - Each effect in the VFX table shows in its trigger, on both loaders. - With particles off, no Nublar particle spawns. With screen shake off, the camera does not shake. - 10 dinosaurs that call at the same time while music plays: every call plays, and the music does not stop (in game, both loaders) (D349). @@ -4227,7 +4275,7 @@ See Art list → each species (every clip and sound row), and Dinosaur effects. - Clip files total 12.4 MB; the T. rex file is 5.7 MB. - Fabric builds against GeckoLib 5.5.5 and NeoForge against 5.5.6. `RestartableAnimationController` uses 5.5.6 internals. -**Changed since last review:** One layer runner applies the code layers: each has a weight and a fade, none drifts or pops, and a draw never steps a layer. The tail lag grows toward the tip and stays out of the legs and the ground. The head overlay keeps each bone's rest rotation and continues from its last keyframe. A layer weight eases back when a clip ends early (D403). T. rex breathing and low growls follow its action: code starts walk, run, idle and eat sounds at set rates (D394). Every species raises a little faint dust at a walk, on every ground, a lot less than at any faster movement (D374). Overlays are patchy and blend with the skin, and stay in small zones (D373). Snow and blood overlays build up and fade, draw in 4 steps from fill-order masks, and wash off in water (D366, D367, D369). Wet skin below the waterline and on the back in rain (D368). Sand, dirt and mud coats are in Beta, each its own layer, from walking and resting (D370 to D372). A body pose layer runs between the footfall bounce and the leg IK (D380). Short sounds never stream, every dinosaur sound varies in pitch and volume, and vocals get subtitles (D349 to D352). Dust takes vanilla's block particle colour, and the run fallback spawns by a chance from speed (D357, D358). Long-lived particles update less often far away (D359). Each animal breathes on its own phase and rate (D360). Head overlay clips play through a Nublar bone updater, not GeckoLib additive mode (D341). Breathing sway runs before the leg IK (D342). Effects start at the bone nearest the tip, with the listener on only when an effect can start (D343). A clip check in the unit tests (D344). Gallimimus walk and sentry fixes go to an agent (D345). No turning on the spot (D346). A light footfall bounce and control bones (D347, D348). Exact springs for tail lag and head look. The artist's GeckoLib plugin is 4.2.5. Agents make a new clip case by case, when the lead gives them the row (D331). A quality bar and clip checks for every clip, and a joint fix per species model first (D332). Head look, neck reach, tail lag and an additive overlay controller for head clips are in Beta (D333). Panting breath, effects from bone positions, and a dust trail of agent-made dust sprites tinted by the ground (D338 to D340). Turn lean waits until after Beta (D337). Every species gets own clips and sounds, placeholders count as missing. Per-species warning sounds. Only T. rex and Velociraptor have nesting clips. Limp in Beta below 30 % health. Get-up idle fallback is development only. Gallimimus gets blood effects. Screen shake for three large species. Per-species walk and run speeds are open. Triceratops rest idle holds the last pose of its lie-down. Two art-tool proposals wait for the lead (D320, D321). The screen shake rule is set (D324, D395, D396). +**Changed since last review:** One layer runner applies the code layers: each has a weight and a fade, none drifts or pops, and a draw never steps a layer. The tail lag grows toward the tip and stays out of the legs and the ground. The head overlay keeps each bone's rest rotation and continues from its last keyframe. A layer weight eases back when a clip ends early (D403). A body that hits the ground raises dust: a death fall, a Triceratops ram and a Brachiosaurus stomp (D404). The footsteps of one species share a pool per client (D405). Dust strength follows the ground, footprints show on soft ground only, snow and rain need open sky, and each footstep key names its foot (D406 to D409). The two dust ground factors are not set yet (D410). T. rex breathing and low growls follow its action: code starts walk, run, idle and eat sounds at set rates (D394). Every species raises a little faint dust at a walk, on every ground, a lot less than at any faster movement (D374). Overlays are patchy and blend with the skin, and stay in small zones (D373). Snow and blood overlays build up and fade, draw in 4 steps from fill-order masks, and wash off in water (D366, D367, D369). Wet skin below the waterline and on the back in rain (D368). Sand, dirt and mud coats are in Beta, each its own layer, from walking and resting (D370 to D372). A body pose layer runs between the footfall bounce and the leg IK (D380). Short sounds never stream, every dinosaur sound varies in pitch and volume, and vocals get subtitles (D349 to D352). Dust takes vanilla's block particle colour, and the run fallback spawns by a chance from speed (D357, D358). Long-lived particles update less often far away (D359). Each animal breathes on its own phase and rate (D360). Head overlay clips play through a Nublar bone updater, not GeckoLib additive mode (D341). Breathing sway runs before the leg IK (D342). Effects start at the bone nearest the tip, with the listener on only when an effect can start (D343). A clip check in the unit tests (D344). Gallimimus walk and sentry fixes go to an agent (D345). No turning on the spot (D346). A light footfall bounce and control bones (D347, D348). Exact springs for tail lag and head look. The artist's GeckoLib plugin is 4.2.5. Agents make a new clip case by case, when the lead gives them the row (D331). A quality bar and clip checks for every clip, and a joint fix per species model first (D332). Head look, neck reach, tail lag and an additive overlay controller for head clips are in Beta (D333). Panting breath, effects from bone positions, and a dust trail of agent-made dust sprites tinted by the ground (D338 to D340). Turn lean waits until after Beta (D337). Every species gets own clips and sounds, placeholders count as missing. Per-species warning sounds. Only T. rex and Velociraptor have nesting clips. Limp in Beta below 30 % health. Get-up idle fallback is development only. Gallimimus gets blood effects. Screen shake for three large species. Per-species walk and run speeds are open. Triceratops rest idle holds the last pose of its lie-down. Two art-tool proposals wait for the lead (D320, D321). The screen shake rule is set (D324, D395, D396). ### F2.4: Needs F2.4 gives each dinosaur hunger, thirst, stamina, sleep and stress, makes each need have results, and keeps a 100-dinosaur park at 20 ticks per second. @@ -7533,6 +7581,20 @@ This row comes from the AzureLib reference review (`reports/AzureLib reference r | --- | --- | --- | --- | --- | | D403 | F2.1, F2.3, BH.1 | AzureLib added bone hitboxes, pose layers, IK, spring chains with colliders and blend spaces between 2026-10-23 and 2026-11-26. Does Nublar move to it, and which of its techniques go into the plan? | Answered 2026-11-27 (lead): "I'm not proposing we move from geckolib, I just want to take what we can or use azurelib as a reference point to write the code for our own needs/plans", then "Just pull everything that matters and incorporate all of it into the development plan". Nublar stays on GeckoLib 5. Taken, as specifications AZ1 to AZ10: one layer runner with a weight, a fade and a restart rule per code layer; the head overlay offset rule and keyframe cursor; tail lag that grows toward the tip; a tail keep-out for the animal's own legs and the ground; a weight return for control bones; a foot target that keeps the clip's lift; guard tests for the kept leg solver; a glow-pass check in BH.1. Left out: the hitbox sync, which takes box positions from clients, blend spaces, weighted idle pools, neck reach to a target bone, sockets and meshes. The report gives each reason | Answered | +### D404 to D410: Prehistoric Kingdom diary review of 2026-11-21 + +These rows come from a review of the Prehistoric Kingdom dev diary of October 2026 (https://www.prehistorickingdom.com/news/diary52). They were drafted as D400 to D406 and renumbered on 2026-11-27, because D400 to D402 belong to the tool review and D403 to the AzureLib review. + +| Id | Work package | Question | Default if unanswered | Status | +| --- | --- | --- | --- | --- | +| D404 | F2.3 | A dying animal falls with no dust, and a ram or a stomp lands with none. Prehistoric Kingdom raises dust when an animal rolls over or is hit by an Apatosaurus (dev diary, October 2026). Should a body that hits the ground raise a burst of the D340 dust? | Answered 2026-11-21 (lead): "add the body impact vfx and herd footsteps". In Beta: the death fall of every species, the Triceratops ram hit and the Brachiosaurus stomp. It reuses the dust sprites, so it needs no new art. The lead was shown death, tranquilised falls and the ram. The tranquilised fall waits for the `tranqed` clip (F4.3). The Brachiosaurus stomp is an addition of this draft, and the lead can drop it. The start values in F2.3 reuse each species' run dust and are a proposal for playtest | Answered | +| D405 | F2.3 | Every footfall starts its own sound. 12 running Gallimimus land about 30 steps per second (12 × 2 feet ÷ the 0.79 s `run` clip). Prehistoric Kingdom ties its waterfall sound to the number of particles nearby (dev diary, October 2026). Should the footsteps of one species share a pool per client, with a level that follows the number of feet? | Answered 2026-11-21 (lead): "add the body impact vfx and herd footsteps". In Beta. The nearest animals of a species play every step. Every other step adds to a herd level that makes those steps louder. No new sound files. 4 voiced animals per species and the loudness amounts are start values, a proposal for playtest | Answered | +| D406 | F2.3 | Dust takes the ground's colour (D357) but has the same strength on every ground. Prehistoric Kingdom's dev diary of October 2026 says sand and snow raise the largest plumes and dirt less. It gives no amounts. Should the puff count follow the ground: more on loose ground (sand, gravel, snow), less on hard ground (stone, planks), never none (D374)? | Answered 2026-11-21 (lead): "yes", to all four of D406 to D409. The puff count follows the ground: more on loose ground, less on hard ground, never none. Two block tags name the ground. D410 holds the two factors, which are not set | Answered | +| D407 | F2.3 | A footprint appears on any solid top face, so also on stone, planks and glass. Should a footstep leave a print only on soft ground: the `projectnublar:ground/soft` tag of D406 (dirt, grass, sand, gravel, snow, mud, clay and similar)? | Answered 2026-11-21 (lead): "yes", to all four of D406 to D409. A footstep leaves a print on soft ground only | Answered | +| D408 | F2.3 | Snow builds up in a snow biome or in snowfall (D366), and rain wets the back (D368). Neither rule says what a roof does, so an animal in a barn in a snow biome still gets snow on its back. Prehistoric Kingdom counts any hard surface that blocks the sky as shelter (dev diary, October 2026). Should snow and rain need open sky above the animal? | Answered 2026-11-21 (lead): "yes", to all four of D406 to D409. Snow builds up and rain wets the back only under open sky | Answered | +| D409 | F2.3 | Dust and footprints start at the foot that lands, but no rule says how the client knows which foot. The 8 shipped Brachiosaurus keys are all named `walk2`. The D343 listener runs in water, while eating and while running, not while walking, and walk dust (D374) starts at the foot too. Should each footstep key name its foot, and should a walking animal's puff start at that foot's rest offset, with no listener? | Answered 2026-11-21 (lead): "yes", to all four of D406 to D409. Each footstep key names its foot. A walking animal's puff starts at that foot's rest offset, with no listener. The task plan picks the form of the key | Answered | +| D410 | F2.3 | D406 needs two dust ground factors: how much more dust on loose ground, and how much less on hard ground. No source gives them: the Prehistoric Kingdom diary gives only the order. Which two factors start the playtest? | Not set. Every ground has factor 1 until the lead sets them | Lead decision pending | + --- ## Change log @@ -7643,4 +7705,5 @@ This row comes from the AzureLib reference review (`reports/AzureLib reference r - **2026-11-06 (action sounds):** D394. F2.3: T. rex breathing and low growls follow its action. Six new Art list rows; attack breath stays Missing. Code starts these sounds at set rates, so a looping clip does not repeat them on every cycle. - **2026-11-06 (sound tool paused):** F2.3: the rest of the sound tool waits until this package starts (lead). - **2026-11-11 (effects mod review):** D395 to D399. F2.3: screen shake falls off with distance and follows the vanilla Distortion Effects setting, the tail spring starts at rest after a teleport, dust fades near the camera, and large roars get faint breath rings. Art list: one new row, Roar breath rings. D324 answered: one shake level per client. +- **2026-11-21 (Prehistoric Kingdom diary review):** D404 to D410, from the dev diary of October 2026 (https://www.prehistorickingdom.com/news/diary52). F2.3: a body that hits the ground raises dust (death fall, Triceratops ram, Brachiosaurus stomp), and the footsteps of one species share a pool per client. Both reuse the dust sprites and footstep sounds that the plan already has. The lead also accepted four rules the same day: dust strength follows the ground, footprints show on soft ground only, snow and rain need open sky, and each footstep key names its foot. D410 is open: the two dust ground factors are not set. Art list: no new row; the Dust trail row also serves body impacts. The rows were drafted as D400 to D406 and renumbered on 2026-11-27: D400 to D402 belong to the tool review, and D403 to the AzureLib review. - **2026-11-27 (AzureLib reference review):** D403. Nublar stays on GeckoLib 5 and uses AzureLib as a reference. F2.3: one layer runner with a weight, a fade and a restart rule per layer, tail lag that grows toward the tip and stays out of the legs and the ground, an offset rule and a keyframe cursor for the head overlay, and a weight return for control bones. F2.1: the foot target keeps the clip's lift, and the kept leg solver gets guard tests. BH.1: a glow-pass check. No art change. New report: `reports/AzureLib reference review.md`, with specifications AZ1 to AZ10. diff --git a/docs/plan/feature-specs.md b/docs/plan/feature-specs.md index b8cb7b2e..44ebce14 100644 --- a/docs/plan/feature-specs.md +++ b/docs/plan/feature-specs.md @@ -2495,6 +2495,8 @@ F2.3 gives each species its own clips, its own sounds and the full set of dinosa - **Own voice.** A T. rex roars with its own roar, a Velociraptor screeches, a Dilophosaurus opens its frill and hoots. - **Feeding effects.** A drinking animal drips water, a feeding carnivore gets a bloody mouth, a herbivore drops plant bits. - **Big animals feel big.** A large animal shakes the screen when it roars near you, leaves fading footprints and sends ripples across water. +- **Falls raise dust.** A dying animal raises a burst of dust where its body lands. So do a Triceratops ram and a Brachiosaurus stomp (D404). +- **Herds sound like herds.** The nearest animals play every footstep. The rest of the herd adds weight to those steps, so a large herd sounds bigger and never turns into a wall of noise (D405). - **Sleep.** A sleeping animal shows Zzz and bubbles. - **Injury.** Below 30 % health an animal limps. - **No stand-ins.** A species never plays another species' clip or sound. @@ -2542,6 +2544,7 @@ F2.3 gives each species its own clips, its own sounds and the full set of dinosa - Each species has its own full set. Design scale: about 30 sounds per species, 53 for the T. rex. - A T. rex roar never serves another species. - Footsteps play in time with the walk and run clips. Young footsteps sound higher and quieter. +- **Herd footsteps** (D405). For each player, the footsteps of one species share a pool. The 4 animals nearest the player play every step, in time with their feet. Every other step of that species plays no sound of its own. It adds to a herd level, and the level makes the steps that play louder. Dust, footprints and screen shake still come from every step. The number 4 and the loudness are start values for playtest. - **Action sounds, T. rex first.** Breathing and low growls follow what the animal does. A walking T. rex breathes every few strides and growls now and then. A running T. rex breathes hard. A resting T. rex growls low now and then. A feeding T. rex growls over its food. Other species get these rows when their sounds are reviewed (D394). - **Every call plays.** Short sounds play from memory, so ten dinosaurs can call at once while music plays, and no call drops (D349). - **No two the same.** Every dinosaur sound plays at a slightly random pitch and volume, so two roars in a row differ. A hatchling sounds higher (D351). @@ -2729,6 +2732,7 @@ Every effect in the matrix is in Beta. Screen shake has a config switch. | Snort effect | yes | yes | yes | yes | yes | yes | | Fading footprints | large biped | small biped | small biped | quadruped | sauropod | small biped | | Dust trail when walking and running | yes | yes | yes | yes | yes | yes | +| Body-impact dust | death | death | death | death, ram | death, stomp | death | | Air trails on attack clips | bite | claws, pounce | bite | horns, ram | tail whip, neck | kick | | Screen shake near a large walker or roar | yes | no | no | yes | yes | no | | Snow cover overlay while sitting or sleeping in snow | yes | yes | yes | yes | yes | yes | @@ -2748,6 +2752,11 @@ Every effect in the matrix is in Beta. Screen shake has a config switch. - A drinking animal makes a small splash when its snout meets the water. - Each effect starts at the existing bone nearest the tip, for example the snout, not at the jaw hinge. - **Dust from the ground** (D340): the dust puffs take the colour of the ground under each foot, a little paler, so sand makes sand-coloured dust, snow white dust and grass light brown dust. Each puff starts as a small cloud at the foot and breaks up into specks as it fades, as campfire smoke does. Each puff has its own size and opacity, is thrown back behind the foot and stays low to the ground. Larger and faster animals make more and bigger dust, and a Brachiosaurus raises dust at all four feet. The dust takes the colour that vanilla's own block particles have, so grass gives brown dust and a resource pack that recolours a block recolours its dust too (D357). Every species raises dust at a walk, on every ground, but only a few small, faint puffs, a lot less than at any faster movement. A trot raises more, a sprint the most, and a moving herd never fills the screen (D358, D374). +- **Body impacts** (D404). A body that hits the ground raises one burst of the same dust, in the colour of the ground: every species when its body lands in its death clip, the Triceratops when its ram hits, the Brachiosaurus when its stomp lands. A death burst spreads along the body, and the puffs fly outward and stay low. It is as much dust as every foot of that species landing at a run at once. A large animal's fall also shakes the screen as one of its footsteps does. A fall into water makes splashes, not dust. A carcass that the player finds later raises no dust. +- **Ground strength** (D406). Loose ground such as sand, gravel and snow raises more dust. Hard ground such as stone raises less, but never none. The colour and the look of each puff stay the same. The two amounts are not set yet (D410). +- **Footprints on soft ground** (D407). A footstep leaves a print on dirt, grass, sand, gravel, snow, mud and clay. Stone, planks and glass take no print. +- **The right foot** (D409). Each puff and each print starts at the foot that landed. +- **Open sky** (D408). Snow builds up and rain wets the back only under open sky. An animal under a roof, a tree canopy or a cave ceiling stays clear. - **Glow.** Glowing eyes and bioluminescent patterns look lit without a shader pack (D355). - **Snow builds up** (D366, D373). The longer an animal rests in snow or in snowfall, the more snow lies on its back and runs part way down its upper sides. Legs stay clear. Once it moves, the snow fades slowly. In a warm biome it melts fast, and in water it is gone at once. - **Overlays in steps** (D367, D373). Snow, coats and blood show in 4 steps, as patches. Skin holds little, as on elephants, rhinos and crocodilians, so the skin pattern still shows at the last step. Blood stays in small patches at the front of the jaws. @@ -2764,6 +2773,7 @@ See Art list → each species (Animations, Sounds), Dinosaur effects. - T. rex sounds: the artist names the folder that holds the real T. rex recordings (D91). New dinosaur sounds come from Jurassic World Evolution 3. - Animation speed that follows body size: not built. The lead parked this decision (D14). - Walk speed, run speed and the walk-to-run switch of each species: value open, lead decides (D292). +- Dust ground factors: how much more dust loose ground raises, and how much less hard ground raises. Value open, lead decides (D410). #### Today in the code @@ -2779,7 +2789,7 @@ See Art list → each species (Animations, Sounds), Dinosaur effects. **Engineering:** backlog F2.3. -**Changed since last review:** The tail bends as it lags and stays out of the legs and the ground. Code layers fade and never pop or drift. A layer eases back in when a clip ends early. A lifted foot stays lifted over a step (D403). Breathing and low growls follow what a T. rex does: walking, running, resting and feeding (D394). Every species raises a little faint dust at a walk, on every ground, a lot less than at any faster movement (D374). Overlays are patchy and blend with the skin, and stay in small zones (D373). Snow builds up and fades, snow and blood show in 4 steps, blood washes off in water, and wet skin shows after a swim or rain (D366 to D369). Sand, dirt and mud coats are in Beta (D370 to D372). The body leans to fit uneven ground at every distance, and feet stay on the ground out to 64 blocks (D380, D393). Every call plays, sounds vary in pitch and volume, levels are clean, and vocals get subtitles (D349 to D352). Dust takes vanilla's block particle colour and grows with speed (D357, D358). Each animal breathes on its own rhythm (D360). Glow looks lit with no shader pack (D355). Head clips over walking keep the head's normal tilt (D341). Breathing never moves a planted foot (D342). A light footfall bounce and control bones (D347, D348). Animals step as they turn, never spinning on the spot (D346). Effects start at the bone nearest the tip. Agents make new clips case by case (D331). Joint fixes per model, a quality bar for every clip, and code layers for head look, short head clips over walking, neck reach, tail lag and breathing (D332, D333). Panting breath (D338). Turn lean waits until after Beta (D337). Effects start at the body part, and the dust trail takes the colour of the ground (D339, D340). Gallimimus gets blood drips and a bloody mouth. Screen shake only on T. rex, Triceratops and Brachiosaurus. T. rex and Dilophosaurus get bloody claws. Only T. rex and Velociraptor play a nesting clip. Per-species walk and run speeds are open. Triceratops rest idle holds the last pose of its lie-down. +**Changed since last review:** The tail bends as it lags and stays out of the legs and the ground. Code layers fade and never pop or drift. A layer eases back in when a clip ends early. A lifted foot stays lifted over a step (D403). A body that hits the ground raises dust: a death fall, a Triceratops ram and a Brachiosaurus stomp (D404). Herd footsteps share a pool, so a herd sounds like a herd (D405). Dust strength follows the ground, footprints show on soft ground only, snow and rain need open sky, and each puff and print starts at the foot that landed (D406 to D409). The two dust ground factors are open (D410). Breathing and low growls follow what a T. rex does: walking, running, resting and feeding (D394). Every species raises a little faint dust at a walk, on every ground, a lot less than at any faster movement (D374). Overlays are patchy and blend with the skin, and stay in small zones (D373). Snow builds up and fades, snow and blood show in 4 steps, blood washes off in water, and wet skin shows after a swim or rain (D366 to D369). Sand, dirt and mud coats are in Beta (D370 to D372). The body leans to fit uneven ground at every distance, and feet stay on the ground out to 64 blocks (D380, D393). Every call plays, sounds vary in pitch and volume, levels are clean, and vocals get subtitles (D349 to D352). Dust takes vanilla's block particle colour and grows with speed (D357, D358). Each animal breathes on its own rhythm (D360). Glow looks lit with no shader pack (D355). Head clips over walking keep the head's normal tilt (D341). Breathing never moves a planted foot (D342). A light footfall bounce and control bones (D347, D348). Animals step as they turn, never spinning on the spot (D346). Effects start at the bone nearest the tip. Agents make new clips case by case (D331). Joint fixes per model, a quality bar for every clip, and code layers for head look, short head clips over walking, neck reach, tail lag and breathing (D332, D333). Panting breath (D338). Turn lean waits until after Beta (D337). Effects start at the body part, and the dust trail takes the colour of the ground (D339, D340). Gallimimus gets blood drips and a bloody mouth. Screen shake only on T. rex, Triceratops and Brachiosaurus. T. rex and Dilophosaurus get bloody claws. Only T. rex and Velociraptor play a nesting clip. Per-species walk and run speeds are open. Triceratops rest idle holds the last pose of its lie-down. ### F2.4 Needs: hunger, thirst, stamina, sleep, stress and company Dinosaurs get hungry, thirsty, tired, sleepy, lonely and stressed, and a park that neglects them pays for it.