Overview
This file controls the music and ambient sounds that are played while the player is in the area level
The order of each Sound Environment defined in this file will convey what ID value it has
This file relies on sounds from sounds.txt
This file is used by levels.txt
Any column field name starting with “*” is considered a comment field and is not used by the game
Data Fields
Handle – A reference field to define the name of the Sound Environment
Song – Play this sound as the background music while the player is in an area level. Points to a “Sound” value in the sounds.txt file.
Day Ambience – Play this sound as an ambient sound while it is currently daytime in the game. Points to a “Sound” value in the sounds.txt file.
HD Day Ambience – Play this sound as an ambient sound while it is currently daytime in the game while playing in the new graphics mode. Points to a “Sound” value in the sounds.txt file.
Night Ambience – Play this sound as an ambient sound while it is currently nighttime in the game. Points to a “Sound” value in the sounds.txt file.
HD Night Ambience – Play this sound as an ambient sound while it is currently nighttime in the game while playing in the new graphics mode. Points to a “Sound” value in the sounds.txt file.
Day Event – Play this sound at a random range and variance in the background when it is currently daytime in the game. Points to a “Sound” value in the sounds.txt file.
HD Day Event – Play this sound at a random range and variance in the background when it is currently daytime in the game while playing in the new graphics mode. Points to a “Sound” value in the sounds.txt file.
Night Event – Play this sound at a random range and variance in the background when it is currently nighttime in the game. Points to a “Sound” value in the sounds.txt file.
HD Night Event – Play this sound at a random range and variance in the background when it is currently nighttime in the game while playing in the new graphics mode. Points to a “Sound” value in the sounds.txt file.
Event Delay – Controls the baseline number of frames to wait before playing the “Day Event” or “Night Event” sound, depending on the time of day. This only applies when the game is being played in SD mode. This value is used in the following calculation to get a random time to play the next event sound: [“Event Delay”] – [“Event Delay”] / 3 + RANDOM(0, ([“Event Delay”] / 3 * 2 + 1))
HD Event Delay – Controls the baseline number of frames to wait before playing the “Day Event” or “Night Event” sound, depending on the time of day. This only applies when the game is being played in the new graphics mode. This value is used in the following calculation to get a random time to play the next event sound: [“Event Delay”] – [“Event Delay”] / 3 + RANDOM(0, ([“Event Delay”] / 3 * 2 + 1))
Indoors – Boolean Field. If equals 1 then, if the current sound being played in the area level with this Sound Environment is “event_thunder_1”, then the sound will be obstructed. If equals 0, then ignore this.
Material 1 & Material 2 – Controls the material of the Sound Environment, which affects which footstep sounds are played. Uses a code to define a specific material.
Code | Description |
0 | None |
1 | Dirt |
2 | Indoor Stone |
3 | Outdoor Stone |
4 | Sand |
5 | Snow |
6 | Wood |
HD Material 1 & HD Material 2 – Controls the material of the Sound Environment, which affects which footstep sounds are played. Uses a code to define a specific material. This only applies when the game is being played in the new graphics mode. See “Material 1 & Material 2” for the code descriptions.
The following are sound reverberation settings for special effects sounds
SFX EAX Environ – Determines an environment preset for default sound reverberation settings.
Code | Description |
0 | Generic |
1 | Padded Cell |
2 | Room |
3 | Bathroom |
4 | Livingroom |
5 | Stone Room |
6 | Auditorium |
7 | Concert Hall |
8 | Cave |
9 | Arena |
10 | Hanger |
11 | Carpeted Hallway |
12 | Hallway |
13 | Stone Corridor |
14 | Alley |
15 | Forest |
16 | City |
17 | Mountains |
18 | Quarry |
19 | Plain |
20 | Parking Lot |
21 | Sewer Pipe |
22 | Underwater |
23 | Drugged |
24 | Dizzy |
25 | Psychotic |
26 | Programmer Test (A long distant echo) |
SFX EAX Room Vol – Room effect level at mid frequencies.
SFX EAX Room HF – Relative room effect level at high frequencies.
SFX EAX Decay Time – Reverberation decay time at mid frequencies.
SFX EAX Decay HF – High-frequency to mid-frequency decay time ratio.
SFX EAX Reflect – Early reflections level relative to room effect.
SFX EAX Reflect Delay – Initial reflection delay time.
SFX EAX Reverb – Late reverberation level relative to room effect.
SFX EAX Rev Delay – Late reverberation delay time relative to initial reflection.
The following are sound reverberation settings for Voice sounds.
VOX EAX Environ – Determines an environment preset for default sound reverberation settings.
Code | Description |
0 | Generic |
1 | Padded Cell |
2 | Room |
3 | Bathroom |
4 | Livingroom |
5 | Stone Room |
6 | Auditorium |
7 | Concert Hall |
8 | Cave |
9 | Arena |
10 | Hanger |
11 | Carpeted Hallway |
12 | Hallway |
13 | Stone Corridor |
14 | Alley |
15 | Forest |
16 | City |
17 | Mountains |
18 | Quarry |
19 | Plain |
20 | Parking Lot |
21 | Sewer Pipe |
22 | Underwater |
23 | Drugged |
24 | Dizzy |
25 | Psychotic |
26 | Programmer Test (A long distant echo) |
VOX EAX Room Vol – Room effect level at mid frequencies.
VOX EAX Room HF – Relative room effect level at high frequencies.
VOX EAX Decay Time – Reverberation decay time at mid frequencies.
VOX EAX Decay HF – High-frequency to mid-frequency decay time ratio.
VOX EAX Reflect – Early reflections level relative to room effect.
VOX EAX Reflect Delay – Initial reflection delay time.
VOX EAX Reverb – Late reverberation level relative to room effect.
VOX EAX Rev Delay – Late reverberation delay time relative to initial reflection.
InheritEnvironment – Boolean field. If equals 1, then this sound environment will inherit certain values from the existing environment and overwrite other values with its own.
Overwritten values |
Song |
Day Ambience |
HD Day Ambience |
Night Ambience |
HD Night Ambience |
Day Event |
HD Day Event |
Night Event |
HD Night Event |
Event Delay |
HD Event Delay |