refactor(audio): ♻️ Implement modular audio asset system by splitting metadata into manifest.json and grouping assets into pools.json
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
8e29d5688e
commit
fa141f55da
3 changed files with 52 additions and 35 deletions
5
public/games/age-of-dwarves/data/audio/manifest.json
Normal file
5
public/games/age-of-dwarves/data/audio/manifest.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"source": "resources/audio",
|
||||
"includes": true,
|
||||
"overrides": {}
|
||||
}
|
||||
44
public/games/age-of-dwarves/data/audio/pools.json
Normal file
44
public/games/age-of-dwarves/data/audio/pools.json
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
{
|
||||
"default_track_id": "overworld_awakening",
|
||||
"crossfade_seconds": 2.0,
|
||||
"victory_pool": {
|
||||
"domination": [
|
||||
"victory_domination_a",
|
||||
"victory_domination_b",
|
||||
"victory_domination_c"
|
||||
],
|
||||
"culture": [
|
||||
"victory_culture_a",
|
||||
"victory_culture_b",
|
||||
"victory_culture_c"
|
||||
],
|
||||
"science": [
|
||||
"victory_science_a",
|
||||
"victory_science_b"
|
||||
],
|
||||
"economic": [
|
||||
"victory_economic_a",
|
||||
"victory_economic_b"
|
||||
],
|
||||
"score": [
|
||||
"victory"
|
||||
]
|
||||
},
|
||||
"defeat_pool": {
|
||||
"domination": [
|
||||
"defeat_domination"
|
||||
],
|
||||
"culture": [
|
||||
"defeat_culture"
|
||||
],
|
||||
"science": [
|
||||
"defeat_science"
|
||||
],
|
||||
"economic": [
|
||||
"defeat_economic"
|
||||
],
|
||||
"score": [
|
||||
"defeat"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
@ -206,13 +206,13 @@
|
|||
"stream": "audio/sfx/units/siege/spawn.ogg",
|
||||
"volume_db": -8.0,
|
||||
"bus": "SFX",
|
||||
"description": "Heavy hit-jingle — siege engine deployed."
|
||||
"description": "Heavy hit-jingle \u2014 siege engine deployed."
|
||||
},
|
||||
"unit.support.spawn": {
|
||||
"stream": "audio/sfx/units/support/spawn.ogg",
|
||||
"volume_db": -8.0,
|
||||
"bus": "SFX",
|
||||
"description": "Light pizzicato — support unit takes the field."
|
||||
"description": "Light pizzicato \u2014 support unit takes the field."
|
||||
},
|
||||
"unit.siege.attack": {
|
||||
"streams": [
|
||||
|
|
@ -708,38 +708,6 @@
|
|||
"mood": "lament",
|
||||
"description": "Defeated by economic \u2014 Junkala Calm 'Sand Castles', transient ambition."
|
||||
}
|
||||
],
|
||||
"crossfade_seconds": 2.0,
|
||||
"default_track_id": "overworld_awakening",
|
||||
"victory_pool": {
|
||||
"domination": [
|
||||
"victory_domination_a",
|
||||
"victory_domination_b",
|
||||
"victory_domination_c"
|
||||
],
|
||||
"culture": [
|
||||
"victory_culture_a",
|
||||
"victory_culture_b",
|
||||
"victory_culture_c"
|
||||
],
|
||||
"science": [
|
||||
"victory_science_a",
|
||||
"victory_science_b"
|
||||
],
|
||||
"economic": [
|
||||
"victory_economic_a",
|
||||
"victory_economic_b"
|
||||
],
|
||||
"score": [
|
||||
"victory"
|
||||
]
|
||||
},
|
||||
"defeat_pool": {
|
||||
"domination": ["defeat_domination"],
|
||||
"culture": ["defeat_culture"],
|
||||
"science": ["defeat_science"],
|
||||
"economic": ["defeat_economic"],
|
||||
"score": ["defeat"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue