Detecting a clients in-game screen resolution?
Is there a way I can detect a clients in-game screen resolution?
|
Re: Detecting a clients in-game screen resolution?
Pretty sure there's a client CVAR for it. If you figure out what it is I'll tell you how to check it.
|
Re: Detecting a clients in-game screen resolution?
I'm pretty sure there isn't.
HL uses a [0,1] interval to handle screen coordinates. This makes it independent from the actual resolution. Exposing this info to anything other than the core would break the very purpose of this system. |
Re: Detecting a clients in-game screen resolution?
I'm pretty sure there is a command for it that you can put in the launch options.
For some reason I associated that with there being a client CVAR for it. Yeah other than that, I can't imagine a way other than client metamod. |
Re: Detecting a clients in-game screen resolution?
Quote:
+width 800 +height 600 It would be nice to have something that detects the clients screen resolution to align hud messages and such nicely on the screen depending on resolution... |
Re: Detecting a clients in-game screen resolution?
Not possible. This info is sotred clientside in windows system registry.
|
Re: Detecting a clients in-game screen resolution?
bump!.
I am looking for this same issue .... Code:
_setvideomode 1would have no way to use it to get the screen resolution of the client, since this plugin takes the video mode: renderer http://forums.alliedmods.net/showthread.php?p=752203 anyone have any other ideas besides the ven? |
| All times are GMT -4. The time now is 01:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.