Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

AAL > Audio Attenuator (BAATN)

This is an audio attenuator file. Audio attenuation describes how the distance between the player and the audio source affects the audio output.

OffsetSizeDescription
0x04Magic number (“AATN”)
0x42BOM (always 0xFEFF)
0x62Version number (1)
0x84Offset to string table
0xC5 * 8Curve description for each DistanceParamTarget
0x344Directivity name (offset into string table)
0x384Culling name (offset into string table)
0x3C4Is listener enabled
0x404Is occlusion enabled
0x44String table (null-terminated strings)

DistanceParamTarget

IndexName
0Volume
1EnvFx
2Filter
3Spread
4Priority

Curve Description

OffsetSizeDescription
0x04Name (offset into string table). This is the filename without extension.
0x44Type

Curve Type

ValueNameExtension
0RollOff.baroc
1Custom.bactc
2UnitDistance.baudc