Log inGet started
World

Blockbuster 767

Branchmain
Branchesmain
Commit8e9b87fcce

README.md

lines

Everything the Kid says — the child whose playroom this is and whose toys these are, narrating their own game.

One speaker, sixteen lines, grouped by cue: title, wind1 / wind2 / wind3, launch, topple, wreck, and end0 … end3 for the star rating the session lands on. Where a cue has several lines, SoundDirector picks one and avoids the one it played last.

Each line carries its text and a hold — the seconds the caption stays up when there is no clip to time it against. When there IS a clip, the caption runs for the delivery's own length, which game/audio/voicecache.module records.

A line is spoken AND written. game/audio/voicebake.luau buys the delivery from audio_gen.speech exactly once and caches it as game/audio/voice/<id>.soundClip; SoundDirector puts the text on screen at the same moment through game.audio.caption. A muted player, a noisy room and a generation that failed all leave the line intact.

Adding a line: write it here, then

execute { file = "/zero/source/game/audio/voicebake.luau", args = { ids = { "your_id" } } }

Speech is credit-metered. The bake skips every line that already has a clip, so running it again costs nothing.