Please or Register to create posts and topics.

How to get Portal 2 music in your map

Page 1 of 2Next

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.

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.

Also, when browsing for music, make sure to use the music in the RAW folder of the sound browser.

My Maps:
[spoiler][SP] Alternate[/spoiler]

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.

http://www.mediafire.com/?ru5vg7vldrck78x

Vordwann 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.

I think the problem was the "@" symbol in front of the ambient_generic's name. I have fixed it in the attachment.

Thanks for having a look at my .vmf dhavalmistry, but i ran your modified .vmf and it still did not work.

Reinstall the game and the authoring tools?

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.

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.

Page 1 of 2Next