AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   emit_sound with volume 1.6 gives fatal error (https://forums.alliedmods.net/showthread.php?t=209412)

Owyn 02-25-2013 06:12

emit_sound with volume 1.6 gives fatal error
 
If I set volume to 1.6 it gives Fatal error - SV_StartSound: volume = 408 on play
if I set it back to 1.0 all plays fine,
so how can I make sound play louder and not get the error? :crab:

PHP Code:

emit_soundiVictimCHAN_STATIC"mah_sound.wav"1.6ATTN_NORM0PITCH_NORM ); 


hornet 02-25-2013 07:47

Re: emit_sound with volume 1.6 gives fatal error
 
Not sure you can. You may have to amplify the sound with an audio editing program.

Owyn 02-25-2013 11:09

Re: emit_sound with volume 1.6 gives fatal error
 
So why there is a "volume" parameter in emit_sound function then?

Arkshine 02-25-2013 12:00

Re: emit_sound with volume 1.6 gives fatal error
 
You can't go above 1.0, but you can go below 1.0.

If you want to make the sound lounder consider the use of an audio software which would make the thing better.


All times are GMT -4. The time now is 21:48.

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