Needs high costs but not bad.
This custom E2 extension can:
- Return an array that contains a list of sound files (mp3/wav) in the specified directory (relative to hl2/sound/) using array=soundList(Path) e.g. Motors=soundList("vehicles")
- Return 1 or 0 indicating whether the single specified sound exists or not using number=soundExists(PathToFile) e.g. HasHL1=soundExists("HL1/fvox/beep.wav")
I thought it would be useful for making dynamic console-screen based music players as you could check whether the server you were on had Portal music or TF2 sounds, or even get a list of the server's custom sounds (as long as you knew the directory).
Whatcha think?
Needs high costs but not bad.
seriously getting serious
The only problem with this is that it doesn't know which sounds the clients have. Every client on the server could have TF2, while the server does not... But that isn't really a very big deal.
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
SVN Tutorial
My SVN:Get dropbox and get 250 MB extra space: DropboxCode:http://divranspack.googlecode.com/svn/trunk/%20divranspack/
Bookmarks