Difference between revisions of "Playing custom background music"

m
→‎Better Music System (BMS): Spelling correction
imported>Syscrusher
imported>Syscrusher
m (→‎Better Music System (BMS): Spelling correction)
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
This article deals with the issue that arises whenever users have either of the following music extensions installed, because they overrule StreamMusic and thus make its usage unreliable:
This article deals with the issue that arises whenever users have either of the following music extensions installed, because they overrule StreamMusic and thus make its usage unreliable:
*[[:Category:SoundCommands|Sound Commands]] (short: SC) by Scanti
*[[:Category:SoundCommands|Sound Commands]] (short: SC) by Scanti
*[http://www.tesnexus.com/downloads/file.php?id=19772| Enhanced Music and Control] (short: EMC) by HawkleyFox
*[http://www.nexusmods.com/oblivion/mods/19772/ Enhanced Music and Control] (short: EMC) by HawkleyFox
*[http://www.tesnexus.com/downloads/file.php?id=26892| Better Music System] (short: BMS) by side777
*[http://www.nexusmods.com/oblivion/mods/26892/ Better Music System] (short: BMS) by side777


This tutorial summarizes briefly, in the first part, how to play custom tracks with each of these three extensions. This doesn't go deep into the details, because all of this is already documented in other articles (links included).
This tutorial summarizes briefly, in the first part, how to play custom tracks with each of these three extensions. This doesn't go deep into the details, because all of this is already documented in other articles (links included).
Line 46: Line 46:
While it uses core EMC functions to play music, it seems to take precedence over any attempt to play music with EMC code from within other mods!  
While it uses core EMC functions to play music, it seems to take precedence over any attempt to play music with EMC code from within other mods!  


This means, implicitely, that it blocks all of the other methods listed above!
This means, implicitly, that it blocks all of the other methods listed above!


In other words: If you want to start custom background music tracks by simply writing StreamMusic, SC or EMC code, this won't work whenever the user uses BMS!  
In other words: If you want to start custom background music tracks by simply writing StreamMusic, SC or EMC code, this won't work whenever the user uses BMS!  
Line 67: Line 67:
#Your mod defines a cell called ''YourCell'', in which your custom music should automatically be played on entering
#Your mod defines a cell called ''YourCell'', in which your custom music should automatically be played on entering
#All music tracks for this cell-specific playlist are located under ''Data\Music\YourPlaylist''
#All music tracks for this cell-specific playlist are located under ''Data\Music\YourPlaylist''
#There's only 1 track to be playes (''YourTrack.mp3'')
#There's only 1 track to be played (''YourTrack.mp3'')


This script is still quite yomplex, and it already covers some very special situations. A more detailed explanation will follow...
This script is still quite complex, and it already covers some very special situations. A more detailed explanation will follow...


  ScriptName YourModQuestScript
  ScriptName YourModQuestScript
Line 156: Line 156:
   endif
   endif
  end ; end of gameMode block
  end ; end of gameMode block
 
==See also==
==See also==
*[[StreamMusic]]
*[[StreamMusic]]
Anonymous user