why is the default mouse camera control inverted?

why is the default mouse camera control inverted?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

why is the default mouse camera control inverted?

Post by smoth » 21 Aug 2011, 15:06

Seriously why?
0 x

abma
Spring Developer
Posts: 3540
Joined: 01 Jun 2009, 00:08

Re: why is the default mouse camera control inverted?

Post by abma » 21 Aug 2011, 19:43

what is inverted?

mouse wheel up = move camera up
mouse wheel down = move camera down
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: why is the default mouse camera control inverted?

Post by smoth » 21 Aug 2011, 20:02

fps cam,
middle click,

move forward mouse, looks down.
move back mouse, looks up.

inverted.

springsettings.exe.. inverted(checked in)

inverted is default.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: why is the default mouse camera control inverted?

Post by hoijui » 21 Aug 2011, 20:43

i think that is springsettings default, not springs default.
Tobi wrote a new config system for the engine. one effect of that is, that only config values that differ from the default are written to the config file. i guess springsettings was not yet adjusted to that.

what i think does happen:
so when you use springsettings, and you have InvertMouse on its default value (false in the engine), the engine will not have written it to the config file, and springsettings thinks it is missing, and uses its own default, which is true:
https://github.com/springlobby/springlo ... nts.h#L389

if i am right, it means springsettings needs some adjustments, most likely.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: why is the default mouse camera control inverted?

Post by smoth » 21 Aug 2011, 20:52

ah, ok. do let me know when you update that. For now I am rolling back to to the old engine, several tags are turned off and much of my work is graphical so I need to have all my settings.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: why is the default mouse camera control inverted?

Post by hoijui » 22 Aug 2011, 18:00

koshi did invert that particular default in springsettings:
https://github.com/springlobby/springlo ... ce6b8f3ecb

so this particular issue should not be a problem anymore with the next SL release.

spring now supports a new command line switch --list-config-vars,
which outputs key, default-value and type of all possible config entries.
This may be used by tools like springsettings in the future.
0 x

Chamrin
Posts: 33
Joined: 05 Mar 2010, 12:31

Re: why is the default mouse camera control inverted?

Post by Chamrin » 27 Aug 2011, 00:33

Also the mouse wheel zoom was inverted when I first played spring. I don't know if that default was fixed yet either.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14572
Joined: 17 Nov 2005, 02:43

Re: why is the default mouse camera control inverted?

Post by Forboding Angel » 27 Aug 2011, 03:04

Smoth, what you and I consider "Normal" is actually inverted compared to most rts games. So, that said, imo it would be best to stick to common convention.
0 x

User avatar
hoijui
Former Engine Dev
Posts: 4342
Joined: 22 Sep 2007, 09:51

Re: why is the default mouse camera control inverted?

Post by hoijui » 27 Aug 2011, 09:51

koshi changed the springsettings default for that value to be the same as the spring internal one, so it is fixed (in smoths understanding).
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: why is the default mouse camera control inverted?

Post by AF » 27 Aug 2011, 14:05

Forb has a point. It's most frustrating having supreme commander and other games and then going to spring and have to deal with it.

Sure I can flip a switch in settings, but I shouldn't have to if I want standard RTS behaviour.
0 x

User avatar
smoth
Posts: 22295
Joined: 13 Jan 2005, 00:46

Re: why is the default mouse camera control inverted?

Post by smoth » 27 Aug 2011, 15:33

other rts games do not use a fps cam. If I install groundcontrol which does have one, I am pretty damn certain it does not use inverted or flightsim style controls forb/af.
0 x

User avatar
AF
AI Developer
Posts: 20667
Joined: 14 Sep 2004, 11:32

Re: why is the default mouse camera control inverted?

Post by AF » 27 Aug 2011, 16:30

Then in that case the setting should either not affect FPS or be separated out with a brand new default value.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14572
Joined: 17 Nov 2005, 02:43

Re: why is the default mouse camera control inverted?

Post by Forboding Angel » 29 Aug 2011, 04:53

AF wrote:Then in that case the setting should either not affect FPS or be separated out with a brand new default value.
^^ this.
0 x

Post Reply

Return to “Engine”