lfnetwork.com mark read register faq members calendar

Thread: Changing Music
Thread Tools Display Modes
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Prev Previous Post   Next Post Next
Old 09-29-2005, 05:39 PM   #1
Fred Tetra
Kotor Tool Guy
 
Fred Tetra's Avatar
 
Join Date: Jan 2004
Location: What a creepy photo, eh? Had to use it!
Posts: 947
Hot Topic Starter LFN Staff Member Helpful! Notable contributor 
Changing Music

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".
Code:
     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.
Code:
    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.
Code:
     MusicBattle           Field- Type: int           Value: 41
     MusicDay              Field- Type: int           Value: 15
     MusicNight            Field- Type: int           Value: 15


Kotor Tool Developer
http://kotortool.starwarsknights.com/

"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."
—Stephen Toub

Visit the Kotor Tool Forum

Last edited by Darth333; 09-30-2005 at 10:49 AM.
Fred Tetra is offline   you may: quote & reply,
Post a new thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > Tutorials: General Tutorials + Tools > Changing Music

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:42 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.