Fandom

HD2 Wiki

Sounds.bin

37pages on
this wiki
Add New Page
Comments0 Share

Introduction Edit

Structure Edit

Slightly different compared to sound entitiy in scene2.bin.

Header Edit

Sounds.bin begins with 534C and following values:

534C
32-bit INT file size
sub-block 0040
32-bit INT block length

Sound Edit

Common Attributes for each sound as described in Entities. Then sound attributes as followed:

Block 6040 action example
32-bit INT block length -
sub-block 1000
32-bit INT block length -
STRING sound file a_b2gras.wav
Block 6140
32-bit INT block length -
32-bit INT sound type 1: Point
2: Spot
3: Ambient
Block 6240
32-bit INT block length -
32-bit FLOAT main volume inside the cone 1.0
Block 6340
32-bit INT block length -
32-bit FLOAT volume outside the cone 0.0
Block 6440
32-bit INT block length -
32-bit FLOAT cone inner range (theta) 1.0472
32-bit FLOAT cone outer range (phi) 1.5708
Block 6840
32-bit INT block length -
32-bit FLOAT near range 2
32-bit FLOAT far range 10
32-bit FLOAT fade near range 0-1 (0=no fade)
32-bit FLOAT fade far range 0-1
Block 6640
32-bit INT block length 0600 0000
loop sound if block present
Block 6740
32-bit INT block length 0600 0000
enable sound if block present
Block 00B8
32-bit INT block length -
32-bit FLOAT pitch 1.0
NxBlock 00B2 for each sector
32-bit INT block length -
STRING sector "Primary sector"
00 End string marker 00

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.