How do you add music to a map?

ChickenHunter

L4: Comfortable Member
Feb 12, 2008
163
13
Topic
how do you add music to the map. like how it is done in mario kart or bestinclass. id like to know because I think it be cool to make an underground club/dance area for my duel_street map.
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
pretty sure you have to use soundscapes...but other then that i know nothing...

so...id also like to know this as well, hopefully in more details then anyone would ever need :D
 

ChickenHunter

L4: Comfortable Member
Feb 12, 2008
163
13
now if only i could figure how to do it like in mario kart and bestinclass
we need more prefabs like this

*hinthint*
 

kimangroo

L3: Member
Mar 15, 2008
111
6
If you're interested how a specific map does something, you can always decompile it from bsp to vmf with vmex and then load it in hammer.

Of course you mustn't treat a decompiled map as one big prefab for you to pick and choose bits from, decompiling is for learning purposes only and all brush/entity work must be your own!
 

World Of Frisbee Crisis

L2: Junior Member
Mar 31, 2008
60
8
now if only i could figure how to do it like in mario kart and bestinclass
we need more prefabs like this

*hinthint*

I'd think you could use a func_button brush to trigger it, and tell ambient_generic to play the music every time the func_button brush is damaged with a PlayMusic output activated with OnDamaged as the trigger for the event..
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Topic
how do you add music to the map. like how it is done in mario kart or bestinclass. id like to know because I think it be cool to make an underground club/dance area for my duel_street map.

My answer: you don't.

Purists like myself wont play such maps :p
 

TotalMark

L6: Sharp Member
Feb 13, 2008
331
78
I've thought about music in a map too, it's be a soundscape coming from a radio prop.

I'd stick it in the spawn room, so every time you spawned it's be there. That way you wouldn't be bugged by the music through the whole map.
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
total mark - for me as a game purist thats absolutely the best way, it means the mapper can force himself on the players in a subtle way without being imposing, thats what its all about really, getting what you want into your maps without annoying any players.