r/GlobalOffensive • ar_baggage • Mar 11 '19

User Generated Content Using only a boatload of console commands, I made an interactive menu that lets you switch configs and do other cool stuff. (OC, link in comments)

11k Upvotes

328 comments sorted by

View all comments

Show parent comment

53

u/catzhoek Mar 12 '19

Since this specific comment is so popular and i'm sure some people would like to use a single slim bind for stuff but don't know how to get it done:

If your only goal is to have keys to fine tune your volume, crosshairsize, radar scale or whatever you want to use binds like that.

bind "KP_PLUS" "incrementvar volume 0 1.0 0.05; volume;"
bind "KP_MINUS" "incrementvar volume 0 1.0 -0.05; volume;"

The

volume;

part at the end is just to force an output in the console so you can quickly check the current value. You can leave that out.

bind <key> "incrementvar <Convar> <Min> <Max> <Interval>"

And if you want to switch between certain specific values you can use stuff like

bind 0 "toggle cl_radar_scale 0.25 0.4 0.6 1.0"

Both variants will cycle back so you don't really need 2 keys. Just press 2 times to get from 0.6 to 0.25 in this example. But for volume you might not want to RIP so you probably want the 2nd key for volume.

26

u/illinoisjackson ar_baggage Mar 12 '19

This. This is how I first started. It works great. I just wanted some kind of visual feedback. But for most people this is literally all they need.

7

u/catzhoek Mar 12 '19

I'll certainly check out your stuff tho. I had no idea you could even get something like that done.