fx:battle:e2 overrides fx:battle in era 2 (0 primitive … 4 post-human). ui:cast:<power> plays when your cast is accepted (the world sound comes from fx:<power>).| Trigger | Sound(s) | What fires it |
|---|
Several files on a music sound = a shuffled playlist (never the same track twice in a row), crossfaded; one file just loops. Several files on an ambient bed = variants: one loops, and every few minutes it crossfades to another.
Ambient beds
Music per era
Workflow. Generate sounds (e.g. with a text-to-audio model; every sound has a suggested prompt and length — use Export prompts for the whole to-do list),
then drag the files onto a sound (or Import files… several at once, named <sound id>_anything.wav). Files are copied into assets/sfx/.
Several files on one sound = a random one plays each time (good for combat and footsteps). Save writes data/sfx.json; reload the game (Ctrl+F5) to hear it.
Fields. volume 0–2 · pitch: random playback-rate range each play (0.9–1.1 avoids repetition) · cooldown: minimum seconds between plays · far: minimum volume when the event is far from the camera (0 = inaudible off-screen) · positional: fades with distance and pans left/right · synth: built-in procedural fallback used while the sound has no files (set to “none” for silence) · while empty play (newer sounds): another sound the game plays until you give this one files.
New in the latest update (added automatically, your settings untouched): ui_order, pw_missile_shield, ev_shield_hit, ev_emp_missile, war warnings (ev_massing, ev_marching, ev_war_risk, ev_coalition), news of other gods (ev_news_*), tribute (ev_tribute_*), ev_ceded*, ev_truce_broken, landings (ev_landing*, ev_invasion_sunk), ev_tip, and ambient beds amb_night / amb_snow. Filter by “only sounds without files” to find them.
Formats. wav, mp3, ogg, flac, m4a — anything the browser decodes. Short one-shots: 0.3–3 s. Ambient beds and music should loop seamlessly.
Categories have their own volume (the sliders above the list). Removed files go to assets/sfx/_trash, nothing is deleted.