Raised This Month: $ Target: $400
 0% 

Custom songs won't play. Plugin help.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zond
Junior Member
Join Date: Nov 2011
Old 01-07-2014 , 10:00   Re: Custom songs won't play. Plugin help.
Reply With Quote #1

Quote:
Originally Posted by simanovich View Post
Check if the sound files can be readable by the game engine.

To do that you need to be in the main main.

For MP3 file:
Type in console:
Code:
mp3 play "sound/mysoundfile.mp3"
Replace "mysoundfile.mp3" with your sound file path + file name.

For wav files:
Type in console:
Code:
 spk "mysoundfile"
Replace "mysoundfile" with your sound file path (no need for "sound/" part) + file name.
Thanks for response. I dont get what is main main, but I tried command: spk "misc/music1"
In server consule and while in server.
I think you wanet to me code that in main function? I can't do that, just didn't found right forum category where to post this
Zond is offline
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 01-07-2014 , 20:49   Re: Custom songs won't play. Plugin help.
Reply With Quote #2

Quote:
Originally Posted by Zond View Post
Thanks for response. I dont get what is main main, but I tried command: spk "misc/music1"
In server consule and while in server.
I think you wanet to me code that in main function? I can't do that, just didn't found right forum category where to post this
Try again in a client console:
Code:
developer 1
spk "misc/music1"
and see if there have any output.
__________________
youtube:
@holla16
11922911 is offline
Zond
Junior Member
Join Date: Nov 2011
Old 01-08-2014 , 02:27   Re: Custom songs won't play. Plugin help.
Reply With Quote #3

Quote:
Originally Posted by 11922911 View Post
Try again in a client console:
Code:
developer 1
spk "misc/music1"
and see if there have any output.
misc/music1.wav is a stereo sample
Zond is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-08-2014 , 02:30   Re: Custom songs won't play. Plugin help.
Reply With Quote #4

Quote:
Originally Posted by Zond View Post
misc/music1.wav is a stereo sample
You have to convert the format of the wave file as stated by Dwight.
__________________
fysiks is offline
Zond
Junior Member
Join Date: Nov 2011
Old 01-08-2014 , 02:39   Re: Custom songs won't play. Plugin help.
Reply With Quote #5

Quote:
Originally Posted by fysiks View Post
You have to convert the format of the wave file as stated by Dwight.
Do you know with witch program I can do that?
Zond is offline
Reply



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 10:06.


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