Tutorials

Soundscapes Part 4 - The Manifest



After having read the last three tutorials You will be pretty familiar with the soundscape format.

Now previously you have been putting all your soundscapes in the soundscapes.txt document.

The reason for this is the engin is already defined to look in a doccy with that name, but as you can imagin it is gunna get pretty cluttered in there.

Never fear there is a way to organise your custom soundscapes so you dnt have a billion in one file. How you ask?

Using the soundscapes_manifest.txt document.

Start of by creating a blank "soundscapes_manifest" document and placing it in your scripts folder, in exactly the same way you have done previosuly with the "soundscapes.txt" docy.

Now open up the manifest in notepad.

My soundscapes namifest looks like this:

soundscapes_manifest
{
	"file"		"scripts/soundscapes.txt"
        "file"          "scripts/tutorialmap_soundscapes.txt"
}



Now let me explain the code.

soundscapes_manifest



This is simply the name of the manifest, you dnt need it but i like to have it there anyway.

"file"		"scripts/soundscapes.txt"



"file" is defining that a txt document should be looked at.

"scripts/soundscapes.txt" And this is simply the name of the txt document.

And thats all there is to the manifest document, its as easy as that to use. This means that instead of putting all you soundscapes in the soundscapes.txt doccument you can put it in somthing like this "tutorialmap_soundscapes.txt" so you can split up your soundscapes into maps. Just make sure you define your custom files name in the manifest.

In short, the manifest is just a way to organise the clutter.

I have tested the manifest in hl2dm and hl2, unfortunatly for some reason hl2 does not read the manifest , and at this point in times its impossible to get custom soundscapes working in sp. So for the mean time you will have to make do with the pre defined ones hl2 use's. Me and Blink have shot a mail of to valve so fingers crossed they will fix it.

I hvnt tested it for cs:s but in theory it should work, wouldnt mind if some one who had cs:s could confirm.

Sigs

View comments ( 14 )

Back to top