Post tutorial RSS Changing Music

If you wish to change the music in this mod, or your own mod, this is the info you need.

Posted by on - Basic Music



For the MP3s
I am trying to keep this compatible for stacking, but mods can add tracks to the GameInfo\SoundMusic.sounddata which will error when they are accessed.
I will do some testing 1st to see if modding the SoundMusic.sounddata causes multi-player conflicts. If it strictly single player, you can save your choice of songs to the mod or a new mod stack-on and modify the SoundMusic.sounddata to access the new track.

original
music
name "MUSIC_BATTLE_1"
fileName "Battle 1.ogg"
isLooping FALSE
actionLevel 0.75
actionRange 0.35
emotionLevel 0.0
emotionRange 1.0

example change
music
name "MUSIC_BATTLE_1"
fileName "Homeworld 2 - 07 - Assault on Chimera.mp3"
isLooping FALSE
actionLevel 0.75
actionRange 0.35
emotionLevel 0.0
emotionRange 1.0









For using with your favorite mod, I recommend creating a stack on mod tha goes on top of other mods. Create a folder in the mod dir called HW-Music or something like that. Inside that create 2 folders, GameInfo and Sound. Copy the SoundMusic.sounddata from the mods GameInfo folder to the HW-Music GameInfo folder. Right click, "Save-as" the tracks above to the HW-Music Sound folder. Edit the SoundMusic.sounddata like above to link your new songs.
You dont need to link them all. Whatever songs you did not edit and are not in the HW-Music\Sound folder, they will then be looked for in the mod below, then the games install sound folder.





SoaSE Modder's
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.