vandorssen Posted March 8, 2004 Share Posted March 8, 2004 Here is a relatively simple question (although I am sure the answer is not so)... How would one make a particular music track play in, and only in, a particular cell, and not have the "normal" Morrowind background music play at the same time? I have consulted several different tutorials and have found nothing of use for what I want done. If such a thing can be done, I would presume it would require scripting, which I have not yet even begun to fathom. Any insight would be greatly appreciated. However, if it is too difficult, I have prepared myself to be content with the default Morrowind music. I just think Bach’s Brandenburg Concerto #3 would suit this particular interior cell well. - I have tried combining two different things I read in the forum. The end result is a script that looks as follows (and is set as a “start script”, if that makes any difference): begin hhmusicIf ( Getpccell "Hauptstadt Hall" == 1 )StreamMusic "hhmusic.mp3"EndifEnd hhmusic This script only “kinda” works. When I enter the cell, the normal background music stops playing, but the music I want to use does not play. Now for the really odd part: When I hit ESC to bring up the menu, and hit Exit, and confirmed the exit (hit Yes), the music began playing clearly, until I was back on the Windows desktop. So evidently, on some level, it was working. I checked to make sure the bandwidth was okay (both the default music and the music I want to use play at 128kbs). Even if it were using more bandwidth, my system should be able to more than handle it. That is the extent of my scripting abilities. Again, if someone else knows of another, better way, please tell me. - Now it gets even more strange: The music I want to use will begin playing the moment I exit the cell, and will continue to play until I encounter an enemy (where it then changes to the battle music). After I have dispatched the enemy, the music then returns to the "normal" Morrowind background music unless I reenter and then exit the cell where I want the music to play. :ranting: I have not altered the script above, so the problem must lie in some variable or command, or function I am missing or misusing. The fact that it will only start once I enter and exit the cell where I want it used, and plays everywhere but that cell (if it is playing, and I enter that cell, it abruptly stops) should be telling. Link to comment Share on other sites More sharing options...
vandorssen Posted March 8, 2004 Author Share Posted March 8, 2004 Sorry I double posted there... :whistling: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.