![]() |
![]() |
Lyran |
![]()
Post
#1
|
Advanced Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 27-April 04 Member No.: 295 ![]() |
What's up guys.
I played a good number of Natural-Selection games where a few players would sometimes play a custom music, but it usually never lasts long. For example, the icon that shows they're talking...well, it shows up, but it's a song playing, not the player talking. Some of you here surely saw that. Some with poor quality, others with great quality. It's never the same, I'd like to know... How is it possible to "play" either a part of a track or the whole length, while playing a game ? Do I need to be the host of my own server (dedicated or not) ? I'm not sure, but I think some of the cases when I saw that were just unknown players, playing for fun of course, and they were not hosts or anything important to the server. Just a normal player. And I've seen cases where the host would play (with usually very good quality) many songs in a row. There's even one time where a random guy in the Marines team started to play The Imperial March (the famous Darth Vader theme from Star Wars) during the assault on a last Hive...and the Aliens could also hear it ! ![]() Everyone liked it, it created some kind of a adrenaline rush for us (Marines), and they didn't last longer than expected. I would like to play some decent songs, or just some funny ones. Like, the infamous Banana Phone ! ![]() But I don't know how. Would I need to change the format to something specific ? Do I need to put it/them (the track(s)) in a specific folder ? Etc... I would like to know. Thanks guys. |
![]() ![]() |
LordSkitch |
![]()
Post
#2
|
||||||||
![]() I cuddle with my bots. ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 980 Joined: 16-April 04 From: Alvin, Texas Member No.: 291 ![]() |
It's not really designed for a listen server, I dunno what kinda consequences it'd take on that, but what can cause hangs is if you're telling the cache thing to send the wrong file, I had my upload file formatted wrong and it made it so nobody could join. Anyhow, the SMA files are the source code for the AMX thing, if you drop them in the \amx\examples folder, you can run compile.bat to compile them all... My sounds.cfg, minus a few, looks like this
and the \config\master_sound_dl_list.cfg looks like this
heres my modules.ini
and my plugins.ini
I pulled out the commented ones for brevity's sake HLSS (if I remember correctly, which is pretty unlikely) drives sound through the in-game audio system. Most server administrators worth their salt use the speex audio codec now, because even at the highest bitrate its still like 1/2 of the miles codec. But the codec is very specifically designed for human speech frequencies, so when you try to pipe music in through it, it's gonna sound like a transformer singing with his head up his butt. Anyone whos wanting to know how to enable speex rather than miles, put this in your server.cfg sv_voicecodec voice_speex sv_voicequality 5 For a chart for people who dont believe me.. sv_voicequality 1 - 2.4kbps - 7.5% of Miles sv_voicequality 2 - 6.0kbps - 18.75% of Miles sv_voicequality 3 - 8.0kbps - 25% of Miles sv_voicequality 4 - 11.2kbps - 35% of Miles sv_voicequality 5 - 15.2kbps - 47.5% of Miles I'd only suggest using 4 or 5 for the voice quality, anything lower than that can get pretty funky.. But even on very low powered CPUs (500mhz), the conversion cost in CPU cycles is so negligable it's pretty much unnoticable. And before you go try, sv_voicequality is a setting for speex, not miles, so they don't work under miles. |
||||||||
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 20th July 2025 - 02:02 PM |