[TF2] EmitSoundToClient Volume Above 1.0
I'm having a little problem with EmitSound: If I were to set the volume anything above 1.0, it does not play at all, despite it's precached and downloaded
Example: PHP Code:
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Thats because doing said thing isnt possible. Try playing with the level parameter
PHP Code:
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Quote:
Edit: I thought SNDLEVEL is how far it could be heard, and since its origin is the player, would it change anything? |
Re: [TF2] EmitSoundToClient Volume Above 1.0
I ended up calling EmitSoundToClient twice, and it does sound twice as loud. Is there any better solution for this? Say If I want to do 3x the volume
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Call it 3 times :D
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Your best bet would be extracting the sound and manually upping its volume, and then using your custom version of the sound. Keep clipping in mind. You can normalize it to 0db in Audacity which will make it as loud as possible w/o clipping and then work from that. But thinking about it: Why do you even need something that loud?
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Quote:
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Is the sound you're trying to play in the music folder possibly? Because then its played back at the volume the user has set its music volume to.
|
Re: [TF2] EmitSoundToClient Volume Above 1.0
Quote:
|
All times are GMT -4. The time now is 02:44. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.