Some questions about emit_sound
So here's the dealio, I've created a small menu for terrorists in a jailbreak server to "speak", using a couple of sounds and sound_emit so it's not global but rather coming from the player, which is nice.
here's how it works: PHP Code:
Should I use one single channel for transmitting sounds? You have to imagine about 10 of these going on at once, and by what I've noticed (but I'm not sure about this) it sometimes interferes with the regular voicecom, and also causes overflows(not even close to sure about this) What do you think is the best way to make this work? Should I just let it be automatic? Also, is there any kind of limitations, eg sounds at once per channel, channel specific limitations PHP Code:
|
Re: Some questions about emit_sound
- Don't flood client with pointless sound.
- Check if sound should be really emitted (instead of spk) - Use proper channel depending from where sound is played. - When you don't know or there is issue, just use AUTO. |
Re: Some questions about emit_sound
Quote:
- It's not exactly pointless, it's not annoying or anything like that, the only problems it might bring are tehnical - I'm not sure how that check should be done but I'm sure it would take a lot of work. I need all the features of emit sound , direction in space, volume by distance and everything, not only the sound - please explain |
Re: Some questions about emit_sound
- It was just a a short reminder to keep in mind to think about these details, like "is it really necessary o play such sound". The less burden on the client, the better.
- I think you did not understand me. I was saying before emitting a sound, if it's really worth to do that. Sometimes there are sounds you could play directly on the client. Of course if others need to hear this sound, you should emit it. Both points are just general advice/reminder. - Nothing complicated. If sound comes from weapon entity, you use _WEAPON, if from player voice, _VOICE, if from some item, _ITEM, etc. If for some reason you have trouble with some sounds, using _AUTO should help most of time. |
Re: Some questions about emit_sound
Quote:
Also a side question, since you're really experimented you could help, since I can't find this anywhere When people speak on their microphones, their model's mouths actually move up and down like they're talking. I haven't seen this in the default CS before, and I suspect it has something to do with the models? I'm not sure Anyways, do you know how I could make that happen when users emit these sounds? |
Re: Some questions about emit_sound
Quote:
|
Re: Some questions about emit_sound
Yeah, there is a 5th "hidden" controller for mouth, something you can see in .qc "$controller 4 ..."
|
Re: Some questions about emit_sound
could any of you guys please give an amxx example of opening mouth, for example?
It can be done, right? :( |
Re: Some questions about emit_sound
DId you read KliPPy's answer?
|
Re: Some questions about emit_sound
Quote:
sorry, lemme check it out edit:: ok some really funny stuff so it works ... partially. For some sounds it works, for others it doesn't. I suspect it's the format, because by what I've seen it measures something from the sound, pitch or volume or something, and moves the mouth accordingly . I guess I'll have to try different formats, 16bit wav at 16000hz mono won't work |
| All times are GMT -4. The time now is 21:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.