How do you add music to a map?

Discussion in 'Mapping Questions & Discussion' started by ChickenHunter, Apr 7, 2008.

  1. ChickenHunter

    ChickenHunter L4: Comfortable Member

    Messages:
    163
    Positive Ratings:
    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.
     
  2. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    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
     
  3. World Of Frisbee Crisis

    World Of Frisbee Crisis L2: Junior Member

    Messages:
    60
    Positive Ratings:
    8
    • Thanks Thanks x 1
  4. ChickenHunter

    ChickenHunter L4: Comfortable Member

    Messages:
    163
    Positive Ratings:
    13
    now if only i could figure how to do it like in mario kart and bestinclass
    we need more prefabs like this

    *hinthint*
     
  5. kimangroo

    kimangroo L3: Member

    Messages:
    111
    Positive Ratings:
    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!
     
  6. World Of Frisbee Crisis

    World Of Frisbee Crisis L2: Junior Member

    Messages:
    60
    Positive Ratings:
    8
    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..
     
  7. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    My answer: you don't.

    Purists like myself wont play such maps :p
     
  8. drp

    aa drp

    Messages:
    2,251
    Positive Ratings:
    2,551
    pfft. heresy. if its ozzy, then its fine. add away :p
     
  9. TotalMark

    TotalMark L6: Sharp Member

    Messages:
    331
    Positive Ratings:
    40
    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.
     
  10. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,741
    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.