Homeworld Remastered Collection

Homeworld Remastered Collection

Not enough ratings
In-Game Music Player For HWRM
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
498.905 KB
1 Apr, 2015 @ 11:14pm
22 Jul, 2015 @ 3:17pm
5 Change Notes ( view )

Subscribe to download
In-Game Music Player For HWRM

Description
An in-game music player that can play all hw1 and hw2 musics in skirmish mode. Press F1 to use it.
This player is also modder-friendly, you can add it to your mod very easily.
You can get better infomation about this music player here: http://www.moddb.com/mods/homeworld-2-fx/features/in-game-musicplayer-v23
==============
Changelog:
v1.01
Fixed a bug that music only played once in repeat mode.
An known issue: don't add space into the name of musics, that will make your saved games cannot be loaded.
22 Comments
Grey Reaper 4 Dec, 2023 @ 7:26pm 
Hello! Can this mod work correctly now? Or is there a new version? Not the one in the link http://steamproxy.com/sharedfiles/filedetails/?id=955102708 to another similar mod, it doesn’t work well there
Cloaked 29 Dec, 2017 @ 1:49am 
This mod no longer works. A newer music player is available here: http://steamproxy.com/sharedfiles/filedetails/?id=955102708
TiredNeedSleep 10 Jul, 2015 @ 2:13am 
Sadly, I think the latest patch has broken this music player :(
Tao 3 Jul, 2015 @ 3:18pm 
Hi;

Mod crashes when loading, here's log:


stack traceback:
1: function `MP_DataInit' at line 9 [string ""]
2: function `MusicPlayer_Oninit' at line 24 [string ""]
3: function `OnInit' at line 244 [string ""]
SCAR ERROR: could not find OnInit function in rule file (data:LevelData\Multiplayer\DEATHMATCH.LUA) -- FATAL EXIT -- scar/254:! --stack trace--
Restoring video mode
GSLChar 29 Jun, 2015 @ 2:51pm 
How to actually fix this mod:
find deathmatch.lua hw1deathmatch.lua and hw2deathmatch.lua
Find and change this line
MusicPlayer_Oninit(music_data_original, F1KEY)
to this
MusicPlayer_Oninit(music_data_original, F1KEY, 2)
(the 2 tells it to shuffle all)
((Credit to yelow13 for helping me out here!))
GSLChar 29 Jun, 2015 @ 3:17am 
Wait how'd you get it running again? I made the change you suggested and repacked the .big with UNFbig 1.41 then dropped the MusicPlayer.big file into it's folder again and loaded it thru the mod manager and still the same bug :\ am I missing something here?
GSLChar 29 Jun, 2015 @ 1:46am 
Word! Thanks yelow13 I'll give this a shot as well!
Yellow 13 28 Jun, 2015 @ 11:32pm 
Edit: should be "Changed later" "not played later"
Yellow 13 28 Jun, 2015 @ 11:31pm 
I've found the bug GSLChar was mentioning, I was having it too. It seems like there's no default option "RepeatTrack","RepeatSingle", or "RandomPlay"

So this line gives an error in music_player.lua:
[code]UI_SetElementVisible("MusicMenu",MP_Mode[mp_loop],1)[/code] because mp_loop = nil.

I assume mp_loop is set by the last used setting? For me (just downloaded) it was nil. I fixed the issue by permanently setting "RandomPlay" instead of MP_Mode[mp_loop]; and it could just be played later.
GSLChar 27 Jun, 2015 @ 1:35am 
Crashing on "loading SCAR script" when trying to test in a player vs cpu game. tutorial/campaign will load but no music menu on pressing F1