I was binding a record toggle together when I found out I wanted to make volume and gamma toggles the same way as in ETQW
So I might aswell share it with you guys, just replace the buttons to your likings.
Then put the hole thing into a autoexec.cfg in your main folder: Path.....\Activision\Call of Duty 4 - Modern Warfare\main
* Gamma script, start very lov and go way up to very bright, default on my system is r_gamma 1.0
* Volume script, incudes mute at the lowest and pretty high on full, default on my system is snd_volume 0.2
* Toggle demo ON/OFF, wich means whenever you stop a demorecord it will generate a new demo file, demo0000.dm_1, demo0001.dm_1, demo0002.dm_1, demo0003.dm_1 etc.
CODE
// gamma script - hugin 2007
set gamma1 "r_gamma .5; bind PGUP vstr gamma2; bind PGDN vstr gamma1"
set gamma2 "r_gamma .75; bind PGUP vstr gamma3; bind PGDN vstr gamma1"
set gamma3 "r_gamma 1.0; bind PGUP vstr gamma4; bind PGDN vstr gamma2"
set gamma4 "r_gamma 1.25; bind PGUP vstr gamma5; bind PGDN vstr gamma3"
set gamma5 "r_gamma 1.5; bind PGUP vstr gamma6; bind PGDN vstr gamma4"
set gamma6 "r_gamma 1.75; bind PGUP vstr gamma7; bind PGDN vstr gamma5"
set gamma7 "r_gamma 2.0; bind PGUP vstr gamma8; bind PGDN vstr gamma6"
set gamma8 "r_gamma 2.25; bind PGUP vstr gamma9; bind PGDN vstr gamma7"
set gamma9 "r_gamma 2.5; bind PGUP vstr gamma10; bind PGDN vstr gamma8"
set gamma10 "r_gamma 2.75; bind PGUP vstr gamma11; bind PGDN vstr gamma9"
set gamma11 "r_gamma 3.0; bind PGUP vstr gamma11; bind PGDN vstr gamma10"
bind PGUP "vstr gamma3"
bind PGDN "vstr gamma3"
// volume script - hugin 2007
set volume1 "snd_volume 0; bind KP_PLUS vstr volume2; bind KP_MINUS vstr volume1"
set volume2 "snd_volume 0.1; bind KP_PLUS vstr volume3; bind KP_MINUS vstr volume1"
set volume3 "snd_volume 0.2; bind KP_PLUS vstr volume4; bind KP_MINUS vstr volume2"
set volume4 "snd_volume 0.3; bind KP_PLUS vstr volume5; bind KP_MINUS vstr volume3"
set volume5 "snd_volume 0.4; bind KP_PLUS vstr volume6; bind KP_MINUS vstr volume4"
set volume6 "snd_volume 0.5; bind KP_PLUS vstr volume7; bind KP_MINUS vstr volume5"
set volume7 "snd_volume 0.6; bind KP_PLUS vstr volume8; bind KP_MINUS vstr volume6"
set volume8 "snd_volume 0.7; bind KP_PLUS vstr volume9; bind KP_MINUS vstr volume7"
set volume9 "snd_volume 0.8; bind KP_PLUS vstr volume10; bind KP_MINUS vstr volume8"
set volume10 "snd_volume 0.9; bind KP_PLUS vstr volume11; bind KP_MINUS vstr volume9"
set volume11 "snd_volume 1.0; bind KP_PLUS vstr volume11; bind KP_MINUS vstr volume10"
bind KP_PLUS "vstr volume4"
bind KP_MINUS "vstr volume4"
bind HOME "r_gamma 1.0; snd_volume 0.3" // restores gamma and volume to default settings
// demo script toggle - hugin 2007
seta demo1 "record; set next vstr demo2"
seta demo2 "stoprecord; set next vstr demo1"
seta next "vstr demo1"
bind F11 "vstr next"
Traktortom2 Out....
So I might aswell share it with you guys, just replace the buttons to your likings.
Then put the hole thing into a autoexec.cfg in your main folder: Path.....\Activision\Call of Duty 4 - Modern Warfare\main
* Gamma script, start very lov and go way up to very bright, default on my system is r_gamma 1.0
* Volume script, incudes mute at the lowest and pretty high on full, default on my system is snd_volume 0.2
* Toggle demo ON/OFF, wich means whenever you stop a demorecord it will generate a new demo file, demo0000.dm_1, demo0001.dm_1, demo0002.dm_1, demo0003.dm_1 etc.
CODE
// gamma script - hugin 2007
set gamma1 "r_gamma .5; bind PGUP vstr gamma2; bind PGDN vstr gamma1"
set gamma2 "r_gamma .75; bind PGUP vstr gamma3; bind PGDN vstr gamma1"
set gamma3 "r_gamma 1.0; bind PGUP vstr gamma4; bind PGDN vstr gamma2"
set gamma4 "r_gamma 1.25; bind PGUP vstr gamma5; bind PGDN vstr gamma3"
set gamma5 "r_gamma 1.5; bind PGUP vstr gamma6; bind PGDN vstr gamma4"
set gamma6 "r_gamma 1.75; bind PGUP vstr gamma7; bind PGDN vstr gamma5"
set gamma7 "r_gamma 2.0; bind PGUP vstr gamma8; bind PGDN vstr gamma6"
set gamma8 "r_gamma 2.25; bind PGUP vstr gamma9; bind PGDN vstr gamma7"
set gamma9 "r_gamma 2.5; bind PGUP vstr gamma10; bind PGDN vstr gamma8"
set gamma10 "r_gamma 2.75; bind PGUP vstr gamma11; bind PGDN vstr gamma9"
set gamma11 "r_gamma 3.0; bind PGUP vstr gamma11; bind PGDN vstr gamma10"
bind PGUP "vstr gamma3"
bind PGDN "vstr gamma3"
// volume script - hugin 2007
set volume1 "snd_volume 0; bind KP_PLUS vstr volume2; bind KP_MINUS vstr volume1"
set volume2 "snd_volume 0.1; bind KP_PLUS vstr volume3; bind KP_MINUS vstr volume1"
set volume3 "snd_volume 0.2; bind KP_PLUS vstr volume4; bind KP_MINUS vstr volume2"
set volume4 "snd_volume 0.3; bind KP_PLUS vstr volume5; bind KP_MINUS vstr volume3"
set volume5 "snd_volume 0.4; bind KP_PLUS vstr volume6; bind KP_MINUS vstr volume4"
set volume6 "snd_volume 0.5; bind KP_PLUS vstr volume7; bind KP_MINUS vstr volume5"
set volume7 "snd_volume 0.6; bind KP_PLUS vstr volume8; bind KP_MINUS vstr volume6"
set volume8 "snd_volume 0.7; bind KP_PLUS vstr volume9; bind KP_MINUS vstr volume7"
set volume9 "snd_volume 0.8; bind KP_PLUS vstr volume10; bind KP_MINUS vstr volume8"
set volume10 "snd_volume 0.9; bind KP_PLUS vstr volume11; bind KP_MINUS vstr volume9"
set volume11 "snd_volume 1.0; bind KP_PLUS vstr volume11; bind KP_MINUS vstr volume10"
bind KP_PLUS "vstr volume4"
bind KP_MINUS "vstr volume4"
bind HOME "r_gamma 1.0; snd_volume 0.3" // restores gamma and volume to default settings
// demo script toggle - hugin 2007
seta demo1 "record; set next vstr demo2"
seta demo2 "stoprecord; set next vstr demo1"
seta next "vstr demo1"
bind F11 "vstr next"
Traktortom2 Out....