Sound: spell/combat/UI audio (reuse UO sound.mul as placeholder, client-played on broadcasts) #74

Open
opened 2026-07-19 08:44:37 +02:00 by marco · 0 comments
Owner

No audio yet. One day we need sound: spell cast/impact (fireball whoosh + explosion), melee hits, the training dummy thunk, ambient, UI clicks, etc.

Notes

  • Reuse legacy UO sound effects where fitting (like the art) as temporary placeholders (sound.mul/soundidx.mul in the UO client at ~/Games/UO), extracted via the AssetExtractor into the pack (a new sound/ namespace) — same policy as the UO art (owner-permitted placeholder, replace later).
  • Server-authoritative trigger: sounds fire off the same broadcasts the client already gets (SpellBolt, Attacked, PowerWordSpoken, …) — the client plays the matching clip; the server doesn't stream audio.
  • MonoGame audio: SoundEffect (WAV/PCM). UO sounds are simple PCM → convert on extraction.
  • Positional/volume-by-distance later; MVP just plays the clip on the event.

Definition of Done (MVP)

  • A small set of sounds packs into assets and plays on the matching client events (at least: bolt impact, melee hit, dummy hit).
  • Server stays authoritative (client plays on broadcast; no audio on the wire).
No audio yet. One day we need **sound**: spell cast/impact (fireball whoosh + explosion), melee hits, the training dummy thunk, ambient, UI clicks, etc. ## Notes - Reuse legacy **UO sound effects** where fitting (like the art) as temporary placeholders (`sound.mul`/`soundidx.mul` in the UO client at ~/Games/UO), extracted via the AssetExtractor into the pack (a new `sound/` namespace) — same policy as the UO art (owner-permitted placeholder, replace later). - **Server-authoritative trigger**: sounds fire off the same broadcasts the client already gets (SpellBolt, Attacked, PowerWordSpoken, …) — the client plays the matching clip; the server doesn't stream audio. - MonoGame audio: `SoundEffect` (WAV/PCM). UO sounds are simple PCM → convert on extraction. - Positional/volume-by-distance later; MVP just plays the clip on the event. ## Definition of Done (MVP) - A small set of sounds packs into `assets` and plays on the matching client events (at least: bolt impact, melee hit, dummy hit). - Server stays authoritative (client plays on broadcast; no audio on the wire).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marco/IsoMmo#74
No description provided.