non-TF2 soundscapes

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
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)
 

Shmitz

Old Hat
aa
Nov 12, 2007
1,128
746
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.
 

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
how do i identify which sound files are in a soundscape?
or simpler, is there a way to see the actual soundscape .txt file?
 

Shmitz

Old Hat
aa
Nov 12, 2007
1,128
746
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.
 

Ezekel

L11: Posh Member
Dec 16, 2008
818
245
thx shmitz, that worked perfectly