1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00
vcmi/config/ambientSounds.json
Arseniy Shestakov f15cadc87b Implement configurable object sounds: ambient, visit and removal
* If there more than one sound for visit or removal random is played
* At moment only the first ambient sound will be used
2018-01-02 09:49:03 +01:00

15 lines
672 B
JSON

{
// By default visitable objects only have ambient sound source on visitable tile
// Static objects and special terrains that have ambient sound have source on all tiles
// If set to true then all tiles will become source for visitable objects
"allTilesSource": false,
// By default SDL2_Mixer allocate 8 channels, but more sounds require more channels
"allocateChannels" : 16,
// Maximal ambient sounds volume must be about 20% of global effects volume
"volume" : 20,
// Maximal distance to objects using chebyshev distance
"range" : 3,
// Volume depend on distance, e.g 100% on same tile, 90% one tile away, etc
"distances": [100, 90, 60, 30]
}