본문으로 건너뛰기
온라인 플레이

Sound and music

A mod may bring its own recordings for its weapons, and its own music for the menu and for battle.

Weapon sounds

A sounds entry per file, keyed <mod id>-<name> so it can clash with nothing, and a weapon whose sound names that key fires with it, attenuated and panned by the engine like every other shot. A weapon without one uses the game's sound for its class. Keep a recording the way the game keeps its own: a dry, close-miked one-shot under a second, no reverb tail, mono MP3 (WAV works; OGG does not play on Safari).

Background music

A mod can replace the menu and battle playlists with ordered, repeating queues. Keep built-in IDs to mix the game's tracks with your own, or list only your own IDs for a complete replacement. menu also covers match setup; supply setup for a separate setup playlist. Omit a queue to leave it alone, or use [] for silence. When several active mods supply the same queue, the last one wins; disabling it restores the preceding queue or the game's original shuffle.

{
  "format": "steel-tide-mod",
  "v": 2,
  "id": "my-score",
  "name": "My soundtrack",
  "version": "1.0.0",
  "defs": [],
  "music": {
    "tracks": [{ "id": "my-score-march", "file": "music/march.mp3" }],
    "menu": ["glassline-drive", "my-score-march"],
    "battle": ["my-score-march", "danger-close"]
  }
}

Custom track IDs start with the mod's ID and a dash. Files are MP3, Ogg or WAV, relative to mod.json, and use the existing mod asset budget. A music-only mod uses defs: []. Queues retain the normal gaps, music volume and pause behavior; missing or unplayable recordings are skipped. Victory and defeat music stay as shipped. The reference below lists the built-in IDs.

Reference

A sound (sounds[])

필드유형필수기본값설명
keystringyes`<mod id>-<name>`, lower case; what a weapon's `sound` names
filestringyesthe recording, relative to mod.json. An MP3 plays everywhere; WAV works, OGG not on Safari. Dry, close, under a second

Background music (music)

필드유형필수기본값설명
trackstrack[]up to 32 custom recordings (64 with large capacity), each with an id and file
menutrack id[]ordered repeating queue for menus; also used for setup unless setup is supplied. Omitted keeps the previous queue; [] is silence
setuptrack id[]optional separate queue for match setup
battletrack id[]ordered repeating queue during battle. Omitted keeps the previous queue; [] is silence. Built-in IDs: menu, glassline-drive, setup, cold-front, victory, defeat, action-stations, weapons-hold, contact-front, danger-close, steel-rain, hold-the-line, breach, final-count, last-reserve, stand-down

A music track (music.tracks[])

필드유형필수기본값설명
ididyesunique track id: <mod id>-<name>; cannot replace a built-in ID
filestringyesMP3, Ogg or WAV path relative to mod.json

마지막 수정