How to add custom soundscape to map?

Discussion in 'Mapping Questions & Discussion' started by Vigilante212, Dec 23, 2008.

  1. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    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?
     
  2. Xi.Cynx

    aa Xi.Cynx Former Alias: †Blade†

    Messages:
    772
    Positive Ratings:
    722
  3. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,466
    You need to include both the soundscapes_manifest.txt and soundscapes_mapname.txt in your BSP using Pakrat. :)
     
  4. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    Thx guys thats exactly what I was looking for.
     
  5. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    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.
     
  6. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
  7. Xi.Cynx

    aa Xi.Cynx Former Alias: †Blade†

    Messages:
    772
    Positive Ratings:
    722
    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. :\
     
  8. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    I cant believe how hard it is to impliment such a simple concept into a map lol I feel dumb.