Brightness / Gamma script


(Bltz|Rabbit) #1

Could anybody make a Brightness / Gamma script for me? Id like the brightness on one button and cycle through all the allowed levels on it and gamma on a different button with all the allowed pb levels on it. Im pretty busy and dont really have much time to make one myself + I dont really know how :clap: .


(BondyBoy007) #2

this is what I use for sorting the gamma out in game after alt-tab’ing out

bind k "vstr gammtog"
set gammtog "vstr gamm1"
set gamm1 "set r_gamma 1.000000; set gammtog vstr gamm2"
set gamm2 "set r_gamma 2.000000; set gammtog vstr gamm1"

you can chage this to have more values to cycle through if needed

hope i help :wink:


(Bltz|Rabbit) #3

set gammtog “vstr gamm1”
set gamm1 “set r_gamma 1.000000; set gammtog vstr gamm2”
set gamm2 “set r_gamma 2.000000; set gammtog vstr gamm3”
set gamm3 “set r_gamma 3.000000; set gammtog vstr gamm4”
set gamm4 “set r_gamma 4.000000; set gammtog vstr gamm5”
set gamm5 “set r_gamma 5.000000; set gammtog vstr gamm1”
bind b “vstr gammtog”

ok is that right? Becasue it doesnt seem to be doing anything when I try using it.


(Ifurita) #4

Check your console. Does it tell you that the change will take place upon a vid_restart?


(DarkangelUK) #5

Can’t you just use the cycle command?

Something like bind x “cycle r_gamma 1 5 1”


(BondyBoy007) #6

yours looks ok to me rabbit, or you could just use the cycle command as per Darkangels post


(Bltz|Rabbit) #7

I have no idea how to do the cycle command thingy lol


(Ifurita) #8

the cycle bind just cycles the cvar from A to B in increments of C

try the following bind:

bind x “cycle cg_fov 90 120 5”

-or -

bind x “cycle cg_drawcrosshair 1 9”

  • or -

bind x “cycle cg_crosshairsize 8 128 8”

Have fun


(eRRoLfLyNN) #9

Jus play ET :frowning:


(Nail) #10

:fiesta:


(Bltz|Rabbit) #11

I normally would, but Im a bit visually impared so i have to fix it so I can see better… I do have glasses with the right perscription but its not helping.