Page 2 of 3

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 04:06
by CarRepairer
Thanks for trying it out. But the smoothscroll is one of the main components of it. Why should it belong in a separate widget? Scrolling is a camera action just like rotating and zooming. As seen in this thread, various camera modes/widgets don't play well together so I wanted one that has everything and is consistent by using the middle button and scroll wheel for all the camera's actions.

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 09:30
by manolo_
hi,

uploaded to widget-db, but there were 3 things i didnt liked:
-i want a reset button (/luaui reload works, but it isnt optimal ;) )
-i move the camera a lot with middle mouse button, but i dont like that colored line (i know there is an other widget, that does do the same)
-why couldnt i configure the widget ingame, instead of change lines in the lua

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 15:28
by Satirik
yeah and you can make many camera control widget ... making an all in one widget and forcing people to use smooth scroll is stupid, i just won't use it

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 20:43
by Tribulex
how2increese attitoodx?

Re: Widget: Complete Control Camera

Posted: 28 Dec 2009, 05:00
by CarRepairer
d_b wrote:how2increese attitoodx?
ctrl+alt+middlebutton-drag to rotate the camera.

Re: Widget: Complete Control Camera

Posted: 28 Dec 2009, 17:32
by Tribulex
CarRepairer wrote:
d_b wrote:how2increese attitoodx?
ctrl+alt+middlebutton-drag to rotate the camera.
ur t3h best

Re: Widget: Complete Control Camera

Posted: 29 Dec 2009, 10:41
by manolo_
what lines do i have to delete to free ur widget from smooth controll :mrgreen:

Re: Widget: Complete Control Camera

Posted: 29 Dec 2009, 19:54
by CarRepairer
manolo_ wrote:what lines do i have to delete to free ur widget from smooth controll :mrgreen:
Because of the nature of the widget, the TA-cam middleclick scroll will not work and I assume that's what you want. I'd have to re-implement it myself. I might do so eventually since so many people don't like smoothscroll. :(

Edit: Done, updated first post to v0.07. You can now scroll the old way if you so choose. If you don't have Crudemenu or IceUI, find this code:

Code: Select all

	oldscroll = {
		name = 'Spring Style Scrolling',
		type = 'bool',
		value = false,
change the value = false line to:

Code: Select all

value = true,

Re: Widget: Complete Control Camera (v0.08)

Posted: 02 Jan 2010, 01:59
by Tribulex
well i find the smooth scroll terirble because it messes up my fps camera mode.

Re: Widget: Complete Control Camera (v0.08)

Posted: 02 Jan 2010, 22:52
by Licho
Smooth scroll is awesome, only problem is that terraform often breaks it.

Re: Widget: Complete Control Camera (v0.09)

Posted: 03 Jan 2010, 02:23
by JohannesH
Normal middle button scrolling feels much more accurate than smooth scroll.

Re: Widget: Complete Control Camera (v0.09)

Posted: 03 Jan 2010, 17:34
by Tribulex
i have a feeling that ca players dont really go for the precision sort of thing. They have shiny unat but rubber ball mouse...

Re: Widget: Complete Control Camera (v0.08)

Posted: 04 Jan 2010, 07:21
by CarRepairer
Licho wrote:Smooth scroll is awesome, only problem is that terraform often breaks it.
How so?
JohannesH wrote:Normal middle button scrolling feels much more accurate than smooth scroll.
Once you get used to smoothscroll it's just as accurate. And the benefit is you can scroll to anywhere on the map without having to move your mouse back and forth as with spring scroll.

Re: Widget: Complete Control Camera (v0.09)

Posted: 05 Jan 2010, 06:52
by Tribulex
yeah but with a super sensitive mouse i just move mouse 1 inch and it travels all the way across trenches 64 at full zoom in

Re: Widget: Complete Control Camera (v0.08)

Posted: 05 Jan 2010, 16:52
by JohannesH
CarRepairer wrote:
JohannesH wrote:Normal middle button scrolling feels much more accurate than smooth scroll.
Once you get used to smoothscroll it's just as accurate.
I dont believe it that easily. Normally you just press mid button, thrust quickly into the direction you want, thats it. How much you move your mouse is always in correlation with how much the screen scrolls.
With smooth theres 2 variables, how long you let it scroll and how fast you have chosen it to scroll, I'd think that it makes aiming slower. Also you have to return mouse to center after smooth scrolling.
And the benefit is you can scroll to anywhere on the map without having to move your mouse back and forth as with spring scroll.
I see no benefit there.

Maybe smooth scroll would be a bit more usable if it was few times more sensitive but dunno.

Re: Widget: Complete Control Camera (v0.09)

Posted: 05 Jan 2010, 17:15
by CarRepairer
d_b wrote:yeah but with a super sensitive mouse i just move mouse 1 inch and it travels all the way across trenches 64 at full zoom in
JohannesH wrote:Maybe smooth scroll would be a bit more usable if it was few times more sensitive but dunno.
d_b wants less sensitivity and JohannesH wants more. What to do?
155_ccc.jpg
155_ccc.jpg (21.66 KiB) Viewed 6207 times
OR
speedFactor = {
name = 'Smooth Scroll Speed',
desc = 'Smooth Scroll Speed',
type = 'number',
min = 10,
max = 40,
value = 25,
},
(change the "value")

If you're still not happy, disable smoothscroll and use the old way.

Re: Widget: Complete Control Camera (v0.09)

Posted: 16 Jan 2010, 10:58
by manolo_
thx for adding the invert-zooming version to 0.1, but the settings arent stored somewhere. e.g. luaui reload and my settings for that widget are gone (also happend when a new game started)

Re: Widget: Complete Control Camera (v0.09)

Posted: 17 Jan 2010, 21:37
by srapop
is there an easy way to alter the .lua to achieve a STEPPED rotation of the camera?
e.g. it would rotate 10┬░ and so on.
useful if you want to come back to your old settings,also feels a lot better for me.

Re: Widget: Complete Control Camera (v0.09)

Posted: 17 Jan 2010, 23:50
by CarRepairer
manolo_ wrote:thx for adding the invert-zooming version to 0.1, but the settings arent stored somewhere. e.g. luaui reload and my settings for that widget are gone (also happend when a new game started)
I don't understand. Crudemenu and IceUI will save the settings used by this widget. Otherwise you must have edited the file itself. Reloading a game shouldn't matter. What setting in particular?
srapop wrote:is there an easy way to alter the .lua to achieve a STEPPED rotation of the camera?
e.g. it would rotate 10┬░ and so on.
useful if you want to come back to your old settings,also feels a lot better for me.
I want to eventually add some hotkeys for rotation (and zoom and altitude) but it would take me a bit of time. Once I do, you'll have the stepped rotation you want.

Edit: Done. You can use the keyboard to replicate all mouse actions. Arrows = middle button drag, Pgup/Pgdn = wheel. You can use these keys with ctrl/alt/shift.

Re: Widget: Complete Control Camera (v0.09)

Posted: 18 Jan 2010, 19:23
by manolo_
CarRepairer wrote:
manolo_ wrote:thx for adding the invert-zooming version to 0.1, but the settings arent stored somewhere. e.g. luaui reload and my settings for that widget are gone (also happend when a new game started)
I don't understand. Crudemenu and IceUI will save the settings used by this widget. Otherwise you must have edited the file itself. Reloading a game shouldn't matter. What setting in particular?
i use it with iceui, but it doesnt save any setting (scroolspeed, inverted zooming,...)