I tried putting a line of
grabinput=1
in springsettings, but no such luck. And I struck out on the wiki.
What is the proper "flag"?
WHat is the correct flag in springsettings.cfg for grabinput
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: WHat is the correct flag in springsettings.cfg for grabi
I cant find anything in spring.exe/edit settings, what exactly is this supposed to do?
Re: WHat is the correct flag in springsettings.cfg for grabi
It seems there is no setting, only /grabinput in the console. It captures the mouse in the window.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: WHat is the correct flag in springsettings.cfg for grabi
Crap. So I'm stuck sending /grabinput 1 every game?
Perhaps grabinput could be added as a springsettings options so that windowed fullscreen could become an actual menu setting?
Perhaps grabinput could be added as a springsettings options so that windowed fullscreen could become an actual menu setting?
Re: WHat is the correct flag in springsettings.cfg for grabi
This would be a good thing but you could also make a oneliner widget that executes the command at the start of the game.Forboding Angel wrote:Perhaps grabinput could be added as a springsettings options so that windowed fullscreen could become an actual menu setting?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: WHat is the correct flag in springsettings.cfg for grabi
I understand that peet, but it makes a lot more sense for it to Be done via springsettings.cfg
Atm, windowed fullscreen as a settings option would fail hardcore on a setup with 2 monitors.
Atm, windowed fullscreen as a settings option would fail hardcore on a setup with 2 monitors.
Re: WHat is the correct flag in springsettings.cfg for grabi
hm, not sure if engine support is required, the widget that does it is a two-liner...
- Attachments
-
- grabinput.lua
- (342 Bytes) Downloaded 23 times
Last edited by abma on 12 Aug 2012, 02:12, edited 1 time in total.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: WHat is the correct flag in springsettings.cfg for grabi
Thanks Abma. I still advocate it being settable in springsettings.cfg. It is very strange for it not to be in springsettings.cfg
Re: WHat is the correct flag in springsettings.cfg for grabi
Make a widget that reads a custom Spring config tag before setting it!
Edit: Oh wait. That is exactly what Abma did.
Edit: Oh wait. That is exactly what Abma did.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: WHat is the correct flag in springsettings.cfg for grabi
The ENGINE should read it. Not the game. This is a neat little workaround, but it's just a hack all things considered. The engine is the one that should be looking by default.