Switch views...
Moderator: Moderators
Switch views...
Ok, maybe I'm going mad but I just updated to latest spring and... weridly I now cant switch views with ctrl + middle click. Or ctrl J. Has this been changed for some inexplicable reason? (Bear in mind... I havn't updated for about 6 months so it may have changed ages ago and I never noticed... wiki saus ctrl J/middle mouse is correct though, so I'm wondering if its just buggered up.)
Re: Switch views...
it has been changed to another key binding.
Re: Switch views...
Not a good change.
Re: Switch views...
Ahh, so, does anyone know what that key binding is?
Re: Switch views...
uikeys.txt
//
// bind Ctrl+f1 viewfps
// bind Ctrl+f2 viewta
// bind Ctrl+f3 viewtw
// bind Ctrl+f4 viewrot
//
//
// bind Ctrl+f1 viewfps
// bind Ctrl+f2 viewta
// bind Ctrl+f3 viewtw
// bind Ctrl+f4 viewrot
//
Re: Switch views...
The annoying thing being that middle mouse button not being bindabe, you can't edit your uikeys.txt to revert to the old way.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Switch views...
It was a good change, it just wasn't a good change from a gamedev standpoint (because we're rather set in our waysneddiedrow wrote:Not a good change.

Re: Switch views...
I LOVE this change, since I scroll by pressing middle mouse, and I hold shift alot and I tended to get cam switches alot from it.
-
- Spring Developer
- Posts: 1254
- Joined: 24 Jun 2007, 08:34
Re: Switch views...
Code: Select all
function widget:GetInfo()
return {
name = "MiddleClickCameraSwitcher",
desc = "^^^^^^^^^^^^^^^^^^^^^^^^^",
author = "Auswaschbar",
version = "v1.0",
date = "Dec, 2009",
license = "GNU GPL, v3 or later",
layer = 9000,
enabled = true,
}
end
-- FPSController // 0
-- OverheadController // 1
-- TWController // 2
-- RotOverheadController // 3
-- FreeController // 4
-- SmoothController // 5
-- OrbitController // 6
-- OverviewController // 7
function widget:MousePress(mx, my, button)
local alt,ctrl,meta,shift = Spring.GetModKeyState()
if (button == 2 and (shift or ctrl)) then
local oldcamstate = Spring.GetCameraState()
local newcamstate =
{
mode = (oldcamstate.mode + 1) % 6, -- exclude overview and orbit
px = oldcamstate.px,
py = oldcamstate.py,
pz = oldcamstate.pz,
}
Spring.SetCameraState(newcamstate, 1)
return true
end
return false
end
Re: Switch views...
thisBeherith wrote:I LOVE this change, since I scroll by pressing middle mouse, and I hold shift alot and I tended to get cam switches alot from it.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Switch views...
Yeah, that's why I agree that it was a good change. It jsut drives me nuts tho when I'm testing cause I'm springloaded to the ctrl+middleclick position.smoth wrote:thisBeherith wrote:I LOVE this change, since I scroll by pressing middle mouse, and I hold shift alot and I tended to get cam switches alot from it.
- KingRaptor
- Zero-K Developer
- Posts: 838
- Joined: 14 Mar 2007, 03:44
Re: Switch views...
Ctrl + Backspace also cycles between the camera modes.
Re: Switch views...
Thanks... finaly I can check out my tank from more than top down view... (Now I just need to figure out how to script, but thats a whole new thread)
aGorm
aGorm
Re: Switch views...
Thanks for the widget!
Re: Switch views...
Agree on good change, and that we need bind-access tot he mouse buttons. Have we got Capture and Rez in teh default keybinds yet?
Re: Switch views...
Nope they dont default to anything. I use q for both.Pxtl wrote:Have we got Capture and Rez in teh default keybinds yet?
Re: Switch views...
well every real spring players love this change, changing camera mode is fuckin useless for playersBeherith wrote:I LOVE this change, since I scroll by pressing middle mouse, and I hold shift alot and I tended to get cam switches alot from it.
-
- Posts: 834
- Joined: 19 May 2009, 21:10
Re: Switch views...
There wouldn't be any complain if the widget would have been provided at the time the change was made. :)Auswaschbar wrote:That lua widget has only slightly more characters than the sum of the posts complaining about the removal.
Re: Switch views...
Do you honestly believe that?SirMaverick wrote:There wouldn't be any complain if the widget would have been provided at the time the change was made. :)Auswaschbar wrote:That lua widget has only slightly more characters than the sum of the posts complaining about the removal.
Re: Switch views...
Why would people have complained about the change if they were handed a widget that fixed everything back tot he old way on a silver platter?
Its like complaining you want compensation for your broken leg AFTER winning a major court settlement into the millions, or complaining you want cake while holding a plate full of it.....
Its like complaining you want compensation for your broken leg AFTER winning a major court settlement into the millions, or complaining you want cake while holding a plate full of it.....