Page 1 of 3

Widget: Complete Control Camera (v0.19)

Posted: 25 Dec 2009, 05:29
by CarRepairer
Complete Control Camera has five main actions...
  • Zoom..... <Mousewheel>
    ....or <PgUp/PgDn>
  • Altitude..... <Ctrl> + <Mousewheel>
    ....or <Ctrl> + <PgUp/PgDn>
  • Scroll..... <Middlebutton-drag>
    ....or <Arrows>
  • Rotate World..... <Ctrl> + <Middlebutton-drag>
    ....or <Ctrl> + <Arrows>
  • Rotate Camera..... <Alt> + <Middlebutton-drag>
    ....or <Alt> + <Arrows>
Additional actions:
  • Smoothscroll (default) or Spring style scrolling
  • Use <Shift> for faster scroll/zoom/altitude.
  • Options to scroll or rotate by moving mouse to edges of screen.
  • Reset Camera..... <Ctrl> + <Alt> + <Shift> + <Middleclick>
    or /luaui ccc reset
  • Follow the cursors of other players while you spec! Needs the Ally Cursors widget to work.
Image

You can configure CC Cam settings 3 ways:
  • Crudemenu - see the settings under Settings->View->Complete Control Camera
  • IceUI
  • Editing the widget file directly in the options table.
Installation instructions
  • Download Complete Control Camera v0.19 (there's a link at the bottom of the page). Place it in your Spring/Luaui/Widgets/ folder
  • Optional: download these two icons which indicate camera actions. Place them in Spring/Luaui/Images/ccc/
Thanks to trepan for the existing smoothscroll and zoom code, and to all those who provided feedback.

Re: Widget: Complete Control Camera

Posted: 25 Dec 2009, 12:25
by Forboding Angel
Shouldn't altitude be "Altitude & Attitude"?

Nice btw, don't suppose you could be arsed to make it workable with redui?

Re: Widget: Complete Control Camera

Posted: 25 Dec 2009, 12:35
by Beherith
Is there a standalone version?
Also, why is it snowing on geyser plains? Crazy!

Re: Widget: Complete Control Camera

Posted: 25 Dec 2009, 17:09
by MidKnight
Beherith wrote:Is there a standalone version?
Also, why is it snowing on geyser plains? Crazy!
Merry Christmas from CA! :P

Re: Widget: Complete Control Camera

Posted: 25 Dec 2009, 18:24
by CarRepairer
You can use it standalone. You'd just have to change settings by editing the file. In the options table there are "value" fields:

Code: Select all

...
	edgemove = {
		name = 'Scroll Camera At Edge',
		type = 'bool',
		value = true,
		desc = 'Scroll camera when the cursor is at the edge of the screen.'
	},
	speedFactor = {
		name = 'Smooth Scroll Speed',
		desc = 'Smooth Scroll Speed',
		type = 'number',
		min = 10,
		max = 40,
		value = 25,
	},
...
So to disable edge scrolling, change "value=true," to "value=false," . To change smoothscrollspeed change value from 25 to whatever number you want (doesn't matter if it's in the min/max range). And so on.

Re: Widget: Complete Control Camera

Posted: 25 Dec 2009, 22:44
by Regret
The most window mode hostile camera.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 01:25
by luckywaldo7
Regret wrote:The most window mode hostile camera.
How so?

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 01:37
by Regret
luckywaldo7 wrote: How so?
CarRepairer wrote: * Zoom..... <Mousewheel>
* Altitude..... <Ctrl> + <Mousewheel>
* Smooth Scroll..... <Middlebutton-drag>
* Rotate World..... <Ctrl> + <Middlebutton-drag>
* Rotate Camera..... <Ctrl> + <Alt> + <Middlebutton-drag>

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 01:52
by CarRepairer
Try something new. Go against every fiber of your being and be helpful by nicely explaining what you're talking about and what you recommend.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 02:33
by Regret
CarRepairer wrote:Try something new. Go against every fiber of your being and be helpful by nicely explaining what you're talking about and what you recommend.
I recommend not using middle mouse button for anything at all besides scrolling.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 08:36
by Forboding Angel
Regret wrote:
CarRepairer wrote:Try something new. Go against every fiber of your being and be helpful by nicely explaining what you're talking about and what you recommend.
I recommend not using middle mouse button for anything at all besides scrolling.
^^ This man speaketh wise words.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 17:40
by Wartender
why not? how does that interfere in windowed mode?

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 18:58
by JohannesH
Not just windowed mode, it screws up anyone scrolling with middle button.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 19:05
by BrainDamage
Wartender wrote:how does that interfere in windowed mode?
windowed mode users often user crosshair scroll since unless you use /grabinput (which is not exactly common knowledge ) spring is unable to detect edge scrolling, and I guess some do prefer that to "smoothscroll" behaviour ?

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 19:28
by imbaczek
Brain Damage wrote:spring is unable to detect edge scrolling, and I guess some do prefer that to "smoothscroll" behaviour ?
actually, spring is perfectly capable of detecting edge scrolling in windowed mode without input grabbed, which is extremely annoying ;p

smoothscroll is nice because it works so well when edge scrolling is fubar.

Re: Widget: Complete Control Camera

Posted: 26 Dec 2009, 23:27
by CarRepairer
Brain Damage wrote:
Wartender wrote:how does that interfere in windowed mode?
windowed mode users often user crosshair scroll since unless you use /grabinput (which is not exactly common knowledge ) spring is unable to detect edge scrolling, and I guess some do prefer that to "smoothscroll" behaviour ?
Since my widget is designed with the intent of integrating smoothscroll with rotation actions, I still don't see what's the problem.

I added edge (and keyboard) scrolling purely as a secondary optional (on by default) action only because people like it, but it is unnecessary if you get used to the main actions. To me, the only time edge scrolling really comes in handy is if I'm box-selecting some units and I want a few more just outside my vision, then it helps that I can push the screen over a bit while I am selecting.

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 00:30
by Satirik
reset view ?

is there a way to get the file without copy pasting in that track crap ?

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 00:53
by luckywaldo7
I prefer middle button, so I have all my camera actions in one spot. Reset view would be nice.
Satirik wrote:reset view ?

is there a way to get the file without copy pasting in that track crap ?
At the very bottom it has "Download in other formats:"

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 01:19
by CarRepairer
Satirik wrote:reset view ??
Someone else requested it too. I'll add it eventually.

Edit: Added.

Re: Widget: Complete Control Camera

Posted: 27 Dec 2009, 01:27
by Satirik
i really don't like the way it replaces my middleclick scroll by smooth scroll, smooth scroll is another widget and should remain so