Page 1 of 1

hybrid overhead camera widget

Posted: 23 May 2013, 14:45
by BrainDamage
this is a retake on hybrid overhead camera, with muuuch better code and more functionality, while I am aware stuff like complete control camera exists, I wanted something simpler, currently supports:

zoom to mouse cursor
instant zoom in/out with alt
camera reset with alt & ctrl & backscroll
3d rotation
optional unbound to map view
configurable speeds for errything
holding ctrl brings out alternate functions, so if by default mid mouse pans the view, it'll make it rotate and viceversa
can make mid mouse button, edge move, keyboard arrows either pan or rotate by default

activate with ctrl f5 ingame ( free camera ), and make sure you don't use other camera widgets like smooth scroll

Re: hybrid overhead camera widget

Posted: 25 May 2013, 21:16
by jK
wow rotation really feels smooth :D

just wished alt feature would be inverted (by default scroll & only rot with alt)

Re: hybrid overhead camera widget

Posted: 27 May 2013, 14:55
by BrainDamage
jK wrote:just wished alt feature would be inverted (by default scroll & only rot with alt)
i think you mean with ctrl, but yes, you can do it with:
/set HybridOverheadMidClickRotates 1
and reloading the widget

i also updated the widget fixing a bug in map edge clamping

Re: hybrid overhead camera widget

Posted: 27 May 2013, 19:45
by jK
another problem:
When you rotate camera and terrain occludes the rotation center pos, the rotation takes the collision point as new rot center. It should save the rot center pos on start instead.

Re: hybrid overhead camera widget

Posted: 28 May 2013, 17:54
by BrainDamage
fixed the locking problem

Re: hybrid overhead camera widget

Posted: 28 May 2013, 18:02
by Floris
when you tilt the camera... the edge detection limits your vision in one direction more than another.


It seems to work right but it just feels quircky

Re: hybrid overhead camera widget

Posted: 03 Jun 2013, 06:58
by Forboding Angel
In what ways is this better than COFC?