How to add custom soundscape to map?

Vigilante212

L420: High Member
Dec 21, 2008
481
33
OK I got my custom soundscape working. It works great when I compile my map, but it wont play for anyone who downloads my map it also wont play for me when im playing it on a server. How do I compile the soundscape with the map?
 

RavenStryker

Former Alias: †Blade†/Xi.Cynx
aa
Nov 25, 2008
782
845

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
You need to include both the soundscapes_manifest.txt and soundscapes_mapname.txt in your BSP using Pakrat. :)
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
I think im doing something wrong I got bothe the soundscape and the manifest in the .bsp file now, but my sounds still dont work unless I play them from hammer or if I make a custom server. they dont work for anyone else. I tested this by changing the name of the file in my scripts folder and nothing loaded.


This is my manifest
soundscapes_manifest.txt
Code:
soundscapes_manifest
{
   "file"      "scripts/soundscapes.txt"
   "file"      "scripts/soundscapes_ctf_switchfoot_b3.txt"
}

and this is my soundscape
soundscapes_ctf_switchfoot_b3
Code:
"Computer.playlooping"
{ 
         "dsp"   "1" 
         "playlooping" 
	{ 
                "volume" "0.5" 
                "pitch"  "100" 
                "wave"   "ambientcomputer_working.wav" 
		}
         "playlooping" 
	{ 
                "volume" "0.3" 
                "pitch"  "100" 
		"wave"   "ambientcomputer_tape.wav" 
	}
 	"playlooping"
 		{
  		"volume"       "0.6"
 		"pitch"        "100"
  		"wave"  "ambientprinter.wav"
	}
}
"switchfoot.outdoor"
{ 
         "dsp"   "1" 
         "playlooping"
	{ 
	        "volume" "0.3" 
                "pitch"  "100" 
                "wave"   "ambientdesert_rustle.wav" 
		}
	"playrandom"
	{	
  		"time"         "15.0,25.0"
 		"volume"       "0.7"
		"pitch"        "100"
		"rndwave"
 		 {
		"wave"  "ambientwindwind_hit1.wav"
  		"wave"  "ambientcrow3.wav"
  		"wave"  "ambientcrow4.wav"
  		"wave"  "ambienthawk.wav"
		}
 	}
} 
"switchfoot.flies"
{
	"dsp"   "1"
	"playrandom"
	{
  		"time"         "10.0,15.0"
 		"volume"       "0.7"
		"pitch"        "100"
		"rndwave"
		{
		"wave"  "ambientcreaturesflies1.wav"
		"wave"  "ambientcreaturesflies2.wav"
		"wave"  "ambientcreaturesflies3.wav"
		"wave"  "ambientcreaturesflies4.wav"
		"wave"  "ambientcreaturesflies5.wav"
		}
	}
}
"switchfoot.pit"
{
	"dsp"  "1"
        "playlooping"
	{ 
	        "volume" "0.4" 
                "pitch"  "100" 
                "wave"   "ambientatmospherecave_outdoor1.wav" 
		}
	"playrandom"
	{
  		"time"         "4.0,8.0"
 		"volume"       "0.7"
		"pitch"        "100"
		"rndwave"
		{
                "wave"   "ambientmaterialsrock1.wav" 
		"wave"   "ambientmaterialsrock2.wav" 
                "wave"   "ambientmaterialsrock3.wav" 
                "wave"   "ambientmaterialsrock4.wav" 
                "wave"   "ambientmaterialsrock5.wav" 
		}
	}
}
"switchfoot.ambience"
{
	"dsp"  "1"
	"playlooping"
	{
                "volume" "0.3" 
                "pitch"  "100" 
                "wave"   "ambientatmosphereambience5.wav" 
	}
}
"switchfoot.launch"
{
	"dsp"  "1"
	"playlooping"
	{
                "volume" "0.5" 
                "pitch"  "100" 
                "wave"   "ambientatmosphereengine_room.wav" 
	}
	"playlooping"
	{
                "volume" "0.2" 
                "pitch"  "100" 
                "wave"   "ambientatmosphereindoor2.wav" 
	}
}
"switchfoot.control"
{
	"dsp"  "1"
	"playlooping"
	{
                "volume" "0.3" 
                "pitch"  "100" 
                "wave"   "ambient/command_center.wav" 
	}
}
"map.stopsound" 
{ 
 "dsp" "0" 
}

Now obviously im doing something wrong because its not working after i pakrat it.
 

RavenStryker

Former Alias: †Blade†/Xi.Cynx
aa
Nov 25, 2008
782
845
Shrugs, I can't help you past telling you how to put them into your .BSP file, I have yet to add soundscapes to my map. :\
 

Vigilante212

L420: High Member
Dec 21, 2008
481
33
I cant believe how hard it is to impliment such a simple concept into a map lol I feel dumb.