Forums » General

Aspect Ratio?

Jan 13, 2006 tumblemonster link
How do I set a correct screen aspect ratio for a widescreen? Im at 1920x1200 on a widescreen 23inch cinema display, but the oval shaped radar and the ships getting wider on the edges bothers me. I remember reading about how to fix this, but I cannot find it.

Thanks
Jan 13, 2006 roguelazer link
/set rHUDxscale x
/set rHUDyscale y

Where x and y are numbers in the correct ratio. If you set it to 1900 and 1200 (respectively), the HUD will be very small. I would reccommend trying 950x600 first, then other values if necessary.
Jan 13, 2006 tumblemonster link
I don't think I understand what you mean. Do I put in an aspect value or an actual pixel number? It seems there's no logic to the number, I only succeeded in making everything unreadable, and no matter what value I set, things keep getting flatter and wider. Could you give me a deeper explaination?

thanks
Jan 14, 2006 wylfing link
I believe they are pixel values.
Jan 14, 2006 roguelazer link
They're not explicit pixel values, but rather kinda scale values. Take the HUD. It might be 15 units wide by 15 units high. What one unit is equal for vertical would be calculated by Y resolution/rHUDyscale. What one horizontal unit is equal to would be X resolution/rHUDxscale. So if you're at 1900x1200 and you set rHUDxscale and rHUDyscale to 1900 and 1200, "one unit" will be one px, and everything will be really small. By default, it's something like 640x480. This is all conjecture, though. Ask a dev...
Jan 14, 2006 tumblemonster link
Asked a dev, and he helped me out. If anyone is curious, a default, changing the xscale to 920 makes the radar round again. Good to know.

Thanks
Jan 14, 2006 CrippledPidgeon link
well we can only hope that with the new UI comes the ability for Vendetta to change the locations of objects on the HUD to match with a new screen aspect ratio, rather than scaling it.
Jan 16, 2006 a1k0n link
roguelazer has it pretty much right: they are the "resolution" the HUD is rendered in, so you should make it some even multiple of your screen resolution if you have square pixels, and compensate if not (i.e. if you're using a standard 4:3 monitor but your resolution is 1900x1200 anyway, meaning your pixels are narrow rectangles, then the default works fine)

The new client basically assumes you have square pixels (in fact I think the radar might be forced to 4:3 regardless right now); there's no aspect ratio adjustment yet. When we're ready for Lua modifications to the interface you'll be able to fix this (but we're not releasing the Lua stuff just yet, I guess)
Jan 16, 2006 tumblemonster link
Thanks a1k0n. It appears to default at 800x600 as Rogue says, which on a widescreen, is nonsquare. I adjusted it down so the radar is round again, 920x600. Interestingly, there is a default in there somewhere that overrides if you accidentally hit f5, so, for example, if you want to switch HUD sizes for combat versus regular flight, you have to retype them manually (or make a bind?). Is there a place somewhere to change the default HUD size? It'll be cool to actually see in widescreen eventually, but in the meantime, this solution works. Thanks for the help.
Jan 16, 2006 Morner link
there's a set of aliases used to adjust the scale from 640x480 to 800x600 and back. you have to change the alias for those to reflect your aspect ratio

like for me I have a 5:4 so I have one set for 800x600 and changed the 640x480 to 1024x819.2