Binding a screenresolution change to a key
2 posters
Page 1 of 1
Binding a screenresolution change to a key
Kwakkie asked me f i knew how to bind a screenresolution to a certain key and i did not but after a bit of trying i found this:
Step 1: do the command in console: vid_fullscreen 0
Now that is done we can start making the bind
Step 2: To make the bind you just do: bind key "set vid_width value; set vid_height value; vid_restart"
Change the key into what ever you like and the values in the width and height you want to have your resolution in. Now the dissadvantage of this change is that it has to do a vid_restart. What this does is that it reloads your game in the changed resolution so you will get a loading bar for a few seconds.
vega
Step 1: do the command in console: vid_fullscreen 0
Now that is done we can start making the bind
Step 2: To make the bind you just do: bind key "set vid_width value; set vid_height value; vid_restart"
Change the key into what ever you like and the values in the width and height you want to have your resolution in. Now the dissadvantage of this change is that it has to do a vid_restart. What this does is that it reloads your game in the changed resolution so you will get a loading bar for a few seconds.
vega
Re: Binding a screenresolution change to a key
Sadly after trying some stuff i found out you can't bind a bind in a bind (if that makes any sence..) what i did was this: bind 8 "vid_width 1056; vid_height 600; bind 8 "vid_width 1366; vid_height 768; bind 8 "vid width 1056; vid_height 600"; vid_restart"; vid_restart"
For those who understand what i did it does not work
vega
For those who understand what i did it does not work
vega
Re: Binding a screenresolution change to a key
Veag,
great work. The idea was to toggle the binds in binds. Did u try that?
bind 8 toggle "vid_width 1056; vid_height 600; vid_restart"; "vid_width 1366; vid_height 768; vid_restart"
I did not try it, but this is what I am looking for.
cheers,
kwakkie
great work. The idea was to toggle the binds in binds. Did u try that?
bind 8 toggle "vid_width 1056; vid_height 600; vid_restart"; "vid_width 1366; vid_height 768; vid_restart"
I did not try it, but this is what I am looking for.
cheers,
kwakkie
Kwakkiezalf- eLeMenT Friend
Re: Binding a screenresolution change to a key
Hmm no i did not try a toggle yet i'll try that tomorow what i tried was when you press the key it changes the resolution and then changes the bind to what the other resolution you wish. Sadly a bind in a bind doesn't work but i'll be looking for a toggle
vega
vega
Re: Binding a screenresolution change to a key
I think you can make a small loop (with a new value). I remember I had something like that in doom scripts.
Kwakkie
Kwakkie
Kwakkiezalf- eLeMenT Friend
Re: Binding a screenresolution change to a key
Allright after 3 tries i found how to toggle as well its not as you thought but it looks like it:
bind 8 "toggle vid_width 1056 1366; toggle vid_height 600 768; vid_restart"
And that should work
vega
bind 8 "toggle vid_width 1056 1366; toggle vid_height 600 768; vid_restart"
And that should work
vega
Re: Binding a screenresolution change to a key
cool....i'll give it a try!
ciao
ciao
Kwakkiezalf- eLeMenT Friend
Re: Binding a screenresolution change to a key
Be sure to do vid_fullscreen 0 and a vid_restart before you do it cause otherwise it doesn't do shit
vega
vega
Similar topics
» CLantag change
» Identity change!
» Some things that maybe need to change ;)
» Change Image-Uploader
» Intel's logo sound hasn't change a lot....
» Identity change!
» Some things that maybe need to change ;)
» Change Image-Uploader
» Intel's logo sound hasn't change a lot....
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|