Widget: Complete Control Camera (v0.19)
Moderator: Moderators
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera
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
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
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
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
Last edited by Satirik on 27 Dec 2009, 21:32, edited 1 time in total.
Re: Widget: Complete Control Camera
how2increese attitoodx?
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera
ctrl+alt+middlebutton-drag to rotate the camera.d_b wrote:how2increese attitoodx?
Re: Widget: Complete Control Camera
ur t3h bestCarRepairer wrote:ctrl+alt+middlebutton-drag to rotate the camera.d_b wrote:how2increese attitoodx?
Re: Widget: Complete Control Camera
what lines do i have to delete to free ur widget from smooth controll 

- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera
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.manolo_ wrote:what lines do i have to delete to free ur widget from smooth controll

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,
Code: Select all
value = true,
Re: Widget: Complete Control Camera (v0.08)
well i find the smooth scroll terirble because it messes up my fps camera mode.
Re: Widget: Complete Control Camera (v0.08)
Smooth scroll is awesome, only problem is that terraform often breaks it.
Re: Widget: Complete Control Camera (v0.09)
Normal middle button scrolling feels much more accurate than smooth scroll.
Re: Widget: Complete Control Camera (v0.09)
i have a feeling that ca players dont really go for the precision sort of thing. They have shiny unat but rubber ball mouse...
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera (v0.08)
How so?Licho wrote:Smooth scroll is awesome, only problem is that terraform often breaks it.
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.JohannesH wrote:Normal middle button scrolling feels much more accurate than smooth scroll.
Re: Widget: Complete Control Camera (v0.09)
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)
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.CarRepairer wrote:Once you get used to smoothscroll it's just as accurate.JohannesH wrote:Normal middle button scrolling feels much more accurate than smooth scroll.
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.
I see no benefit there.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.
Maybe smooth scroll would be a bit more usable if it was few times more sensitive but dunno.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera (v0.09)
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
d_b wants less sensitivity and JohannesH wants more. What to do?JohannesH wrote:Maybe smooth scroll would be a bit more usable if it was few times more sensitive but dunno.
OR
(change the "value")speedFactor = {
name = 'Smooth Scroll Speed',
desc = 'Smooth Scroll Speed',
type = 'number',
min = 10,
max = 40,
value = 25,
},
If you're still not happy, disable smoothscroll and use the old way.
Re: Widget: Complete Control Camera (v0.09)
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)
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.
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.
- CarRepairer
- Cursed Zero-K Developer
- Posts: 3359
- Joined: 07 Nov 2007, 21:48
Re: Widget: Complete Control Camera (v0.09)
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?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 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.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.
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.
Last edited by CarRepairer on 14 Jul 2010, 18:08, edited 1 time in total.
Re: Widget: Complete Control Camera (v0.09)
i use it with iceui, but it doesnt save any setting (scroolspeed, inverted zooming,...)CarRepairer wrote: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?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)