Raised This Month: $ Target: $400
 0% 

Some questions about emit_sound


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 06-14-2014 , 09:20   Re: Some questions about emit_sound
Reply With Quote #1

Quote:
Originally Posted by Arkshine View Post
- 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.
well since it's supposed to be the players talk, I should use voice right?

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?
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 06-14-2014 , 13:12   Re: Some questions about emit_sound
Reply With Quote #2

Quote:
Originally Posted by aron9forever View Post
well since it's supposed to be the players talk, I should use voice right?

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?
The mouth is a model controller, it can have up to 4 i think. Well, controller says how much player's mouth should be opened. I may be wrong here, but i think if you emit a sound using a CHAN_VOICE channel(maybe not that one, but one of them) it will automatically open player's mouth.
klippy 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 21:14.


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