Setting music tracks for a new area
(original thread for discussion: http://www.lucasforums.com/showthread.php?t=153072
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
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
Kotor Tool Developer
"You want to help everyone who asks for aid, answer all of their questions, write that crucial bit of code for which they're searching, and be the hero who saves the day (and their job), but there comes a point when you realize that sleep is sometimes necessary."
Visit the Kotor Tool Forum