Raised This Month: $ Target: $400
 0% 

Solved [BHOP] ProKreedz Plugin How to change pro 1 sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
grkmkprl
Junior Member
Join Date: Sep 2017
Old 06-06-2019 , 01:57   [BHOP] ProKreedz Plugin How to change pro 1 sound
Reply With Quote #1

Hello, I need a little help. We have a bhop server and we use a prokreedz menu. But we want to change the sound of the pro 1 sound. (default woop sound) I made some changes first as .wav but did not play sound because the server host uploaded .wav sound to the panel in stereo. The problem persisted even if we load it as mono. Anyway, we want to change as mp3. I tried something but I failed, there is such an error on the console after reaching in pro 1.
"warning: MP3_InitStream(30, dialgkz\rekor.mp3) failed"

I'm copying the lines containing the audio commands here.

Code:
precache_generic("sound/dialgkz/rekor.mp3");
client_cmd(0, "mp3 play dialgkz/rekor.mp3");

If you need the entire script, I can place it on the subject but it is too long. Where am i making a mistake?

Last edited by grkmkprl; 06-08-2019 at 05:05.
grkmkprl is offline
JocAnis
Veteran Member
Join Date: Jun 2010
Old 06-06-2019 , 07:11   Re: [BHOP] ProKreedz Plugin How to change pro 1 sound
Reply With Quote #2

idk about mp3 but about wav you must do mono (like you did) but also to set properly sample rate of the audio...dont know what exacyly should it be but im sure it wont work with 44khz and 22 (so less sample rate of 22 is needed)
__________________
KZ Public Autocup - PrimeKZ

My blog: http://primekz.xyz (in progress...) - not active (dec 2022)
JocAnis is offline
grkmkprl
Junior Member
Join Date: Sep 2017
Old 06-06-2019 , 08:10   Re: [BHOP] ProKreedz Plugin How to change pro 1 sound
Reply With Quote #3

Quote:
Originally Posted by JocAnis View Post
idk about mp3 but about wav you must do mono (like you did) but also to set properly sample rate of the audio...dont know what exacyly should it be but im sure it wont work with 44khz and 22 (so less sample rate of 22 is needed)
The plugin works seamlessly in .wav but cs 1.6 stereo sound does not play. I know it and did the audio file mono and did 22050 khz. Full settings like this.

Running smoothly on my dedicated server so there is no problem with script. But I am uploading the file to the online server by doing ftp connection. But .wav sound is automatically changed stereo from mono. So I get the error in "this is a stereo sample" on the console and the sound does not worked. When I copy the sound manually to the game, it sounds already worked.
So I wanted to change the script to mp3.
grkmkprl is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode