Frostdev

KilnAPI reference Guide

localAudio (instance registry)

Generated from schema/registry/localAudio.json by tools/registrygen/registrygen.py: edit the schema, never this page.

Sounds this client plays (kiln.audio: cues in a scene, voice-over lines, narration). Client-owned (owner decision 12): it lives only in the game client's own Gate, a write or action applies there and is never sent; a server refuses it (gate:client_owned).

  • Key: world (one value per world); side: client; version 0.1.0, experimental (KILNX032)
  • Values are live: a write applies at the Gate's next turn (one-time, owned by the mod), a hold is re-applied at its cadence until released. Kiln.Gate: LocalAudio.<Field>; refs: localAudio[<key>].<field>.
Field Type Holds Cadence Saved Notes
live int 0..4096 - - session read-only; Kiln's sounds pending or playing.
voiceVolume float 0..100 - - session read-only; The voice-over volume the game's manager applies.
Action Arguments What it does
play cue (string), scene (int, optional, 0..6), at (vec3, optional), follow (int, optional, 1..4294967295), volume (number, optional, 0..1), fadeInMs (int, optional, 0..60000) Plays a cue for the calling mod (kiln.audio play): 2D, at a place, or following an entity. Receipt: sound (int).
stop sound (int, optional, 1..9007199254740991), fadeMs (int, optional, 0..60000) Stops one sound of the calling mod (sound), or every sound and line it started (no sound). Receipt: stopped (int).
voiceover - A voice-over line on the game's dialogue channel. Old calls are recorded here with their mod. Unproven: refused (performed through Kiln.Audio's Voiceover.Play (its calls are recorded here with their mod); not a Gate action yet).
narrate - A voice-over line through the lore queue. Old calls are recorded here with their mod. Unproven: refused (performed through Kiln.Audio's Voiceover.Narrate (its calls are recorded here with their mod); not a Gate action yet).

Enshrouded is a trademark of Keen Games GmbH. Kiln is unofficial.