non-TF2 soundscapes

Discussion in 'Mapping Questions & Discussion' started by Ezekel, Feb 14, 2009.

  1. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    can anyone give me any advice on using HL2 soundscapes in TF2?

    when i try to use them the game complains it can't find them.

    i assumed it'd work more akin with sky box textures (where tf2 can load hl2 sky textures without complaint)
     
  2. Shmitz

    aa Shmitz Old Hat

    Messages:
    1,129
    Positive Ratings:
    742
    TF2 knows about the raw HL2 wav files (at least, the ones in the shared source content), but the soundscape names would have to be included in the primary soundscape manifest for TF2 to know what they are. If you want to use those sounds, you'll need to create your own soundscapes and put them in a file in the tf/scripts directory. The file will need to be named "soundscapes_<exact map name here>.txt" so that the game will read them when it loads your map. You can copy the soundscapes from the HL2 soundscripts, but I would recommend renaming them to something more specific to your map.
     
  3. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    how do i identify which sound files are in a soundscape?
    or simpler, is there a way to see the actual soundscape .txt file?
     
  4. Shmitz

    aa Shmitz Old Hat

    Messages:
    1,129
    Positive Ratings:
    742
    You'll need GCFScape to open the source engine resource files in the SteamApps directory, but you can find soundscape files in the <game>/scripts directory of "source engine.gcf", "source 2007 binaries.gcf", and, for the TF2 stuff, "team fortress 2 content.gcf"

    The VDC article on soundscapes is helpful, but I really found looking at all the examples of what Valve did to be the best teacher.
     
  5. Ezekel

    Ezekel L11: Posh Member

    Messages:
    818
    Positive Ratings:
    244
    thx shmitz, that worked perfectly