e-varmint
08-05-2007, 11:49 PM
I want to change the music track in m01aa to mus_bat_slehey, which is line 44 in ambientmusic.2da.
I changed the .git file as suggested in one of the tutorials, but the music remains unchanged. I looked at the on-enter script (k_pend_area01), and can't find any apparent references to music (as shown in some other turorials). The last paragraph reads:
void main() {
if (GetIsPC(GetEnteringObject())) {
if (sub1()) {
SetGlobalFadeOut(0.0, 0.0, 0.0, 0.0, 0.0);
PlayMovie("01A");
SetReturnStrref(0, 32228, 0);
SetGlobalNumber("K_CURRENT_PLANET", 5);
sub4();
SetGlobalFadeOut(0.0, 0.0, 0.0, 0.0, 0.0);
SetGlobalFadeIn(3.0, 1.5, 0.0, 0.0, 0.0);
DelayCommand(0.1, AssignCommand(sub5(), ActionStartConversation(GetFirstPC(), "m01aa_c01", 0, 0, 1, "", "", "", "", "", "", 0)));
SetMinOneHP(GetFirstPC(), 1);
}
Any suggestions? Is there some other script that could be controlling the music?
I changed the .git file as suggested in one of the tutorials, but the music remains unchanged. I looked at the on-enter script (k_pend_area01), and can't find any apparent references to music (as shown in some other turorials). The last paragraph reads:
void main() {
if (GetIsPC(GetEnteringObject())) {
if (sub1()) {
SetGlobalFadeOut(0.0, 0.0, 0.0, 0.0, 0.0);
PlayMovie("01A");
SetReturnStrref(0, 32228, 0);
SetGlobalNumber("K_CURRENT_PLANET", 5);
sub4();
SetGlobalFadeOut(0.0, 0.0, 0.0, 0.0, 0.0);
SetGlobalFadeIn(3.0, 1.5, 0.0, 0.0, 0.0);
DelayCommand(0.1, AssignCommand(sub5(), ActionStartConversation(GetFirstPC(), "m01aa_c01", 0, 0, 1, "", "", "", "", "", "", 0)));
SetMinOneHP(GetFirstPC(), 1);
}
Any suggestions? Is there some other script that could be controlling the music?