Importing Audio?

Discussion in 'Mapping Questions & Discussion' started by Gamemaster1379, Jun 27, 2010.

  1. Gamemaster1379

    Gamemaster1379 L1: Registered

    Messages:
    16
    Positive Ratings:
    8
    I'm thinking about trying something here, but I don't know if it's possible. Anyway, my question is, is it possible to import custom audio into Hammer? My intent is import an actual song. Roughly two minutes--if it is possible and not TOO impractical, how would I go about it?
     
  2. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,767
    Positive Ratings:
    5,508
    Totally. Just need to put it somewhere in the tf\sound directory, make a subfolder of your choosing. It needs to be a wav though, so a song could add quite the filesize.
     
  3. Gamemaster1379

    Gamemaster1379 L1: Registered

    Messages:
    16
    Positive Ratings:
    8
    Awesome! Thanks very much, I appreciate it! :D
     
  4. Prestige

    aa Prestige im not gay anymore

    Messages:
    1,769
    Positive Ratings:
    1,517
    this gave me an idea. sorta inspired by tachyon/lolcano. RED and BLU fighting over a giant jukebox full of songs/song excerpts (as many that it doesn't grow to a huge file size). Everytime you cap it plays a different song, until the next person caps (the song changes again). I'm thinking short cap times too.

    At the end Ode to Joy/All the songs in the jukebox start playing (replacing the audience clapping/cheering).
     
  5. eyefork

    eyefork L3: Member

    Messages:
    130
    Positive Ratings:
    94
    You can use mp3 files too (I did for my map). 3MB is better than 30. Last time I checked Hammer doesn't properly preview mp3 files, so you'll have to run your map to test the sound.