Adding custom music?

Discussion in 'Mapping Questions & Discussion' started by ProselyteCanti, Mar 27, 2014.

  1. ProselyteCanti

    ProselyteCanti L2: Junior Member

    Messages:
    91
    Positive Ratings:
    10
    I've searched every nook and cranny of the sdk community and have yet to find any accurate information on how to add custom music into sdk.
    It might be that valve messed with the folders or something but idk, but I put my .wav file into my common/tf2/tf/sound folder, but it isn't showing up in sdk. also there isn't a sound folder, or any type of media or resource folder in my username/teamfortress2 folders. halp plox
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    We dont use sourcesdk anymore, lmao

    Try putting it in another folder, ie: common/team fortress 2/tf/sound/newfolder
     
  3. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    Custom sounds have to be in a subfolder of the sound folder. I don't think it will show up on the sound browser even if it's in a folder though - you have to just reference the file directly (so something like mysound/placeholder.wav).
     
  4. Crash

    aa Crash func_nerd

    Messages:
    3,069
    Positive Ratings:
    4,558
    It'll definitely show up in the folder. Try hitting refresh if you have Hamme open still when you move it into a folder.
     
  5. henke37

    aa henke37

    Messages:
    1,834
    Positive Ratings:
    420
    Audio is one thing that doesn't need to be available until the game loads the map. You can pack it after the rest of the compilation and ignore manually adding it to the game folders.
     
  6. ProselyteCanti

    ProselyteCanti L2: Junior Member

    Messages:
    91
    Positive Ratings:
    10
    how do I reference
     
  7. Shanghai

    Shanghai L6: Sharp Member

    Messages:
    394
    Positive Ratings:
    217
    Well I mean if you're using an entity to play the sound (e.g. an ambient_generic) then in its Sound Name field you have to put in the sound's filepath (myfolder/mysound.wav).