- Joined
- Jun 30, 2009
- Messages
- 622
yeah i guess it would.. i never mess with any of those class-specific files personally.. but the incrementvar command can be used in conjunction with any other console command, with the following format
incrementvar "command x y z"
replace command with whatever console command you wish to bind multiple values for, set the x y z values as follows:
x= start value
y= end value
z= increment value
So, let's say you wanted to cycle through 4 different volumes for that dingaling sound at 25% increments, you would bind the key like this:
bind J "incrementvar tf_dingalingaling 0 1 0.25"
It will then cycle through the values in order: 0 > 0.25 > 0.5 > 0.75 > 1 > 0 > ..... and so on, repeating
incrementvar "command x y z"
replace command with whatever console command you wish to bind multiple values for, set the x y z values as follows:
x= start value
y= end value
z= increment value
So, let's say you wanted to cycle through 4 different volumes for that dingaling sound at 25% increments, you would bind the key like this:
bind J "incrementvar tf_dingalingaling 0 1 0.25"
It will then cycle through the values in order: 0 > 0.25 > 0.5 > 0.75 > 1 > 0 > ..... and so on, repeating
Last edited:













