How to get Portal 2 music in your map
Quote from Haggis on June 24, 2011, 6:38 pmHow do you get the Portal 2 music in your map. I have tried an ambient_generic, but the music will not work in game. I can hear it when i browse to find the piece of music i want, but as i said i cannot hear it in game. I know it is not my trigger, as when i use another sound, such as ambient sound or a sound like an alarm it works, please help.
How do you get the Portal 2 music in your map. I have tried an ambient_generic, but the music will not work in game. I can hear it when i browse to find the piece of music i want, but as i said i cannot hear it in game. I know it is not my trigger, as when i use another sound, such as ambient sound or a sound like an alarm it works, please help.
Quote from Darkylight on June 24, 2011, 10:40 pmMake a ambient_generic and search the music that you want to play. Go to flags and uncheck not loop and check plays everywhere.
Now make a logic_auto (for start music at mapspawn) and trigger it, also you can trigger it with other triggers.
Sometimes music at hammer dont work but at ingame yep.
Make a ambient_generic and search the music that you want to play. Go to flags and uncheck not loop and check plays everywhere.
Now make a logic_auto (for start music at mapspawn) and trigger it, also you can trigger it with other triggers.
Sometimes music at hammer dont work but at ingame yep.
Quote from Vordwann on June 24, 2011, 10:58 pmAlso, when browsing for music, make sure to use the music in the RAW folder of the sound browser.
Also, when browsing for music, make sure to use the music in the RAW folder of the sound browser.
[spoiler][SP] Alternate[/spoiler]
Quote from Haggis on June 25, 2011, 4:44 amThis is my .vmf, it is just a box room with the trigger in it to make the sound play, could someone have a look to see where i have gone wrong, as i have followed the steps above but it still does not work, cheers.
This is my .vmf, it is just a box room with the trigger in it to make the sound play, could someone have a look to see where i have gone wrong, as i have followed the steps above but it still does not work, cheers.
Quote from Darkylight on June 25, 2011, 6:55 amVordwann wrote:Also, when browsing for music, make sure to use the music in the RAW folder of the sound browser.Its not necessary to use raw O.o, but for listen inedit you can use raw.
Its not necessary to use raw O.o, but for listen inedit you can use raw.
Quote from dhavalmistry on June 25, 2011, 9:40 pmI think the problem was the "@" symbol in front of the ambient_generic's name. I have fixed it in the attachment.
I think the problem was the "@" symbol in front of the ambient_generic's name. I have fixed it in the attachment.
Quote from Haggis on June 26, 2011, 4:46 amThanks for having a look at my .vmf dhavalmistry, but i ran your modified .vmf and it still did not work.
Thanks for having a look at my .vmf dhavalmistry, but i ran your modified .vmf and it still did not work.
Quote from Darkylight on June 26, 2011, 6:30 amReinstall the game and the authoring tools?
Reinstall the game and the authoring tools?
Quote from Haggis on June 28, 2011, 2:27 amI have reinstalled both the game and authoring tools, but i still do not hear the music, but once again if i just change the music to a sound it works, any other thoughts.
I have reinstalled both the game and authoring tools, but i still do not hear the music, but once again if i just change the music to a sound it works, any other thoughts.
Quote from MrLate on June 28, 2011, 1:48 pmIf it is .wav: You need to pack the sound file to your .bsp with Packrat for example. It should work after it, I don't know why.
If it is .mp3: Right now I don't know a way how you could get it working. You get "Can't create mixer." error to console and AFAIK there is no way to fix it.
If it is .wav: You need to pack the sound file to your .bsp with Packrat for example. It should work after it, I don't know why.
If it is .mp3: Right now I don't know a way how you could get it working. You get "Can't create mixer." error to console and AFAIK there is no way to fix it.