Wirehead Studios

Wirehead Modifications => Generations Arena => Topic started by: Rubilacxe on 2006-01-29, 21:59



Title: Custom Resolutions
Post by: Rubilacxe on 2006-01-29, 21:59
Is there any way to apply a screen resolution of your choice, like say, through the console, rather than in the menus?

I use a wide-screen laptop and am interested in setting the resolution to my perspective (1440X900).


Title: Re: Custom Resolutions
Post by: Lopson on 2006-01-29, 22:09
I have a small idea, but don't know if this will work. Put this in your shortcut:

Code:
+seta r_customwidth "1440"
+seta r_customheight "900"


Title: Re: Custom Resolutions
Post by: Tabun on 2006-01-29, 22:58
I never tested it, but something tells me that's for window-mode only.. let us know if you get it working though.


Title: Re: Custom Resolutions
Post by: Phoenix on 2006-01-30, 03:51
Screen resolution is controlled with the r_mode cvar.  Example, r_mode "3" is 640x480, r_mode "4" is 800x600.  To see all the available video modes, use the "modelist" (mode list, not model list) command at the console.

To enable r_customwidth, r_customheight, and r_customaspect, set "r_mode" to -1.  Keep in mind any custom settings will get mapped into a valid pre-defined window size, so you'll have to do some experimentation.  The default modes work a lot better.

Any changes to any of the above variables requires a vid_restart to take effect.


Title: Re: Custom Resolutions
Post by: Rubilacxe on 2006-02-02, 04:28
I tried out Pho's recomendation and it worked!  I have my screen's resolution now.  The only difference I've noticed is that the gun is cut off slightly at the bottom of the screen.