File: ambientSounds.json

package info (click to toggle)
vcmi 0.99%2Bdfsg%2Bgit20190113.f06c8a87-2
  • links: PTS, VCS
  • area: contrib
  • in suites: bullseye
  • size: 11,136 kB
  • sloc: cpp: 142,615; sh: 315; objc: 248; makefile: 32; ansic: 28; python: 13
file content (14 lines) | stat: -rw-r--r-- 672 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  // 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]
}