Raised This Month: $ Target: $400
 0% 

SV_Startsound problem with emit_sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-14-2006 , 08:51   SV_Startsound problem with emit_sound
Reply With Quote #1

i got a problem with emit sound
this is the error i get in console, compiling is fine
Quote:
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precached (0)
SV_StartSound: ctf/TtakesCTflag.mp3 not precac
some pieces of my code
Code:
new CTcaptureTflag[] = "ctf/CTcaptureTflag.mp3" new TcaptureCTflag[] = "ctf/TcaptureCTflag.mp3" new CTdropTflag[] = "ctf/CTdropTflag.mp3" new TdropCTflag[] = "ctf/TdropCTflag.mp3" new CTflagBase[] = "ctf/CTflagBase.mp3" new TflagBase[] = "ctf/TflagBase.mp3" new CTtakeTflag[] = "ctf/CTtakesTflag.mp3" new TtakeCTflag[] = "ctf/TtakesCTflag.mp3"

Code:
public plugin_precache() {   precache_sound( "ctf/CTcaptureTflag.mp3" )   precache_sound( "ctf/TcaptureCTflag.mp3" )   precache_sound( "ctf/CTdropTflag.mp3" )   precache_sound( "ctf/TdropCTflag.mp3" )   precache_sound( "ctf/CTflagBase.mp3" )   precache_sound( "ctf/TflagBase.mp3" )   precache_sound( "ctf/CTtakeTflag.mp3" )   precache_sound( "ctf/TtakeCTflag.mp3" )   }
Code:
emit_sound(0, CHAN_VOICE, TdropCTflag, 1.0, ATTN_NORM, 1, PITCH_NORM)
i think that's enough you guys need
can you tell me what the problem is
__________________
- Bye bye!
nightscreem is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 05-14-2006 , 10:11  
Reply With Quote #2

new TtakeCTflag[] = "ctf/CTtakesCTflag.mp3"
new CTtakeTflag[] = "ctf/CTtakesTflag.mp3"
[ --<-@ ] Black Rose is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-14-2006 , 11:08  
Reply With Quote #3

that's not my problem
i get it with every sound
but thx
__________________
- Bye bye!
nightscreem is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 05-14-2006 , 12:59  
Reply With Quote #4

I think you cant emit an mp3. I myself tryed before with no luck.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 05-14-2006 , 13:22  
Reply With Quote #5

No, you can't. I remember JGHG saying this.
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-14-2006 , 14:08  
Reply With Quote #6

still the same but just changed the extension
but i noticed i get
Code:
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE chunks
Missing RIFF/WAVE
__________________
- Bye bye!
nightscreem is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 05-14-2006 , 14:58  
Reply With Quote #7

did you just changed the extention or did you convert them to wav?
if you dont convert them i dun think they will work at all...
[ --<-@ ] Black Rose is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 05-14-2006 , 15:15  
Reply With Quote #8

k thx i'll convert them
__________________
- Bye bye!
nightscreem is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 05-15-2006 , 05:04  
Reply With Quote #9

Just to let you know: you can't precache MP3 with precache_sound.
VEN is offline
mahooo60
Senior Member
Join Date: Apr 2005
Old 05-15-2006 , 08:25  
Reply With Quote #10

if the mp3 converted to wave its not the same kb...60kb mp3 will be 600kb wave"biger",is that right?
mahooo60 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 16:34.


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