Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: LoneKnight on December 07, 2010, 12:43:30 am
-
Hey guys, I'm experimenting with adding custom music and I am running into a few problems. Firstly, I read that creating a .vp that adds music and table changes in music.tbl will be overridden by the mv_music-mus.tbm that comes standard with FSO.
My question is, in order to add custom music, should I simply add my tracks to the mv_music-mus.tbm and export those (and the .ogg's of course) as a .vp, and not even bother making any changes to the music.tbl?
Thanks in advance!
-
I would guess you would add additional music using your own -mus.tbm file in your mod directory. That should then be the highest load priority overriding/adding to the mediavps and retail.
-
or, you could just name it mv_music-mus.tbm and overwrite the one from the mediavps :P
-
You don't have to use tabled tracks, also; you can play music directly with play-sound-from-file. Can sometimes be more useful, sometimes less so.
-
You're limited to one sound being played from file (unless you do the hack to make it a weapon sound or something, but they you can't stop the sound) though.
-
You're limited to one sound being played from file (unless you do the hack to make it a weapon sound or something, but they you can't stop the sound) though.
Yeah but you rarely need to use play-sound-from-file for anything else. Vassago's Dirge used PSFF for everything.
Also you can play a second sound from file by using empty training messages. :nervous: That was used a lot in Ken. It used to break the engine before a bug report got it fixed.
-
Can you stop the second sound from file though? :P
Obviously, if you don't need that much control its absolutely fine.
I can't think of a scenario where I would want to be able to close two different sounds from files but hey, it could come up XD
-
Can you stop the second sound from file though? :P
Yep, very easily.
Obviously, if you don't need that much control its absolutely fine.
I can't think of a scenario where I would want to be able to close two different sounds from files but hey, it could come up XD
Not an issue because it can be done.
-
Oh right yes I get how now.