File: ambientSounds.json

package info (click to toggle)
vcmi 1.6.5%2Bdfsg-2
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 32,060 kB
  • sloc: cpp: 238,971; python: 265; sh: 224; xml: 157; ansic: 78; objc: 61; makefile: 49
file content (10 lines) | stat: -rw-r--r-- 396 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
{
  // 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]
}