Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
Make a bat file and drop mp3, wavs, almost anything onto it to produce a compatible mp3 for use in source. NOTICE you will have to edit the path to your ffmpeg installation, the file will appear in the same folder as the original, we change the name to prevent overwrite with "converted" near the end. Change the mp3 name to anything you like but simple is better with no spaces.
Otherwise its a samplerate of 44100 or below i beleive.
Since hourers i try to get my sounds...
I am new to this all, so that is my first server on CSS.
try this in dev console on your client:
could be the parans too (), what sourcemod plugin are you using the play the sounds?
i get this error, if i try it:
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Counter-Strike Source\cstrike\sound\ ...<here on the server>
-or-
Counter-Strike Source\cstrike\download\sound\ ...<automatically downloads here for clients>
-or-
Counter-Strike Source\cstrike\custom\custom_stuff_here\sound\ ...<and here on the server>
To get custom sounds working on my Source Dedicated for hl2dm i had to have them in both the first and the last folders and run this plugin to handle the downloads and triggers:
https://forums.alliedmods.net/showthread.php?p=729788
On the fastdl server just /sound/ in the root . If the web addy is:
sv_downloadurl "http://redacted use your own.com/server"
then they go in server/sound/, but it depends on how you have your web server setup as to which folder.
here is my output:
the sound will throw an error the first time it is played, just to show you it made a tiny bit of lag rendering the sound.
i hope this helps
Installed now this plugin, in your link.
But all other´s, i dont understand it.
You asked me, if i can play any sound with sound command.
But in my soundfolder i just have the sounds of this plugin "[CSS/CSGO/ANY?] SLAYER Custom MVP Anthem (v1.5"
i can not play any sounds, everytime i get:
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
And when i add another sound like "kill1.mp3" and i do play than comes error:
MP3 initialized with no sound cache, this may cause janking. []
MP3 initialized with no sound cache, this may cause janking. []
Failed to create decoder for MP3 []
Failed to create decoder for MP3 []
*** Invalid sample rate (0) for sound 'kill1.mp3'.
And i try this saysound plugin.
I write in .cfg my sound name "ctwinnar2.wav" as join sound.
This dont work too...
if you wanna test, if you hear my sounds, you can join server: 178.63.12.252:27016
I will check back later....
Now can join. :)
http://seniorslayers.site.nfoservers.com/server/sound/seniorslayed/vert.mp3
I put the sound in "cstrike\sound\slayer\mvp\vert.mp3" and played it with this command:
NOTE I was NOT connected to a server at the time it worked.
I played a few of your sounds successfully with simplified names (i took out the "spaces" and "-" and "&").
renaming em all IS going to be a hassle but theres only 24,
test a few before renaming them all.
But when I create the file in sound on the Linux server where the CSS server is running, it doesn't play it and the error occurs again.
I need the sound on the server so that all players can hear the round music.
I just don't understand why it doesn't work...
I changed all sounds to simple names (like: Lied1, Lied2...) but still get this error:
MP3 initialized with no sound cache, this may cause janking. []
Failed to create decoder for MP3 []
MP3 initialized with no sound cache, this may cause janking. []
Failed to create decoder for MP3 []
*** Invalid sample rate (0) for sound 'slayer\mvp\lied9.mp3'.
"cstrike\sound\" AND "cstrike\custom\custom_content\sound\" . Im not confident you have the folder structure right. Yes the server needs the sound but its not that file that plays on the client, the clients play the sounds server, only tells client to when to play it (and where to download it.) So we have to get the clients playing the sounds first hence the play command, youve got the server plugins right, just the clients arent finding the mp3 files. I think. If you want to continue this feel free to add me to steam freinds and I can show you working examples of saysounds in css and hl2dm. Don't worry we had to figure all this out when valve switched from gcf to vpk virtual file systems, its a mess..
I just seem to miss the logic behind it so I don't understand it.
It's also my first server.