This script adds to your client two bindable commands to increase/decrease your volume while playing (avoiding the need of open options).
How do I install it?
It's really simple. You just have to unzip the download at "YourCs2D'sFolder/sys". Then you must open "YourCs2D'sFolder/sys/autoexec.cfg" and add this line at the end:
1
include "sys/volume.dat"
Once you have done that, you will have the both new commands, uv for volume increase and dv to decrease it ready to be binded.
For example:
(autoexec.cfg)
1
2
3
4
2
3
4
include "sys/volume.dat" //includes the script volume 100 //sets the initial volume bind "kp_plus" "uv" //binds uv command to "+" key bind "kp_minus" "dv" //binds dv command to "-" key
Or
1
2
3
2
3
include "sys/volume(5by5).dat" bind "mwheelup" "uv" bind "mwheeldown" "dv"
NOTE 1: There is a BIG difference between the command "volume X" and "uv & dv" commands. With volume you can set an static value for the volume, with these two new ones you can UP and DOWN your volume. I know it's obvius but i want to avoid any missunderstanding.
NOTE 1: Zip comes with two more scripts: volume(5by5).dat and volume(1by1).dat. This is because with the normal script (volume.dat) the volume increases/decreases by 10%, the other two do that with 5% and 1%. I prefer by 10% thats why I put it as the default one.
Good bye and enjoy it
edited 5×, last 06.08.11 04:19:40 am
Approved by GeoB99
Download
2 kb, 438 Downloads