View Full Version : Changing Area Music
09-29-2005, 06:22 PM
Suppose you are creating a new area and want to change the default music for this new area, how would you go about it?
09-29-2005, 06:39 PM
The values you need to set are in the module's .GIT file's AreaProperties structure
The AmbientSnd fields (day and night) are indices into ambientsnd.2da
Here we see that the sound specified for both is "204tel Ambient Bed".
AmbientSndDay Field- Type: int Value: 17
AmbientSndNight Field- Type: int Value: 17
AmbientSndDayVol Field- Type: int Value: 127
AmbientSndNitVol Field- Type: int Value: 127
The EnvAudio field is an index into soundeax.2da. It sets the overall module acoustic model.
Here the default model is specified.
EnvAudio Field- Type: int Value: 0
The music fields are indices into ambientmusic.2da.
Here we see that "Citadel Station" is specified for day and night music, and "Citadel Station Battle" for the battle music.
MusicBattle Field- Type: int Value: 41
MusicDay Field- Type: int Value: 15
MusicNight Field- Type: int Value: 15
09-30-2005, 04:10 AM
09-30-2005, 04:17 PM
BTW, the next version of the Module editor lets you set all of these (and more!) within a nice GUI. You can see what it looks like here:
10-01-2005, 05:06 PM
I look forward to using it :D
vBulletin®, Copyright ©2000-2013, Jelsoft Enterprises Ltd.