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
hybrid overhead camera widget
Moderator: Moderators
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
hybrid overhead camera widget
- Attachments
-
- camera_hybridoverhead2.lua
- (13.35 KiB) Downloaded 33 times
Last edited by BrainDamage on 28 May 2013, 17:55, edited 7 times in total.
Re: hybrid overhead camera widget
wow rotation really feels smooth :D
just wished alt feature would be inverted (by default scroll & only rot with alt)
just wished alt feature would be inverted (by default scroll & only rot with alt)
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: hybrid overhead camera widget
i think you mean with ctrl, but yes, you can do it with:jK wrote:just wished alt feature would be inverted (by default scroll & only rot with alt)
/set HybridOverheadMidClickRotates 1
and reloading the widget
i also updated the widget fixing a bug in map edge clamping
Re: hybrid overhead camera widget
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.
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.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: hybrid overhead camera widget
fixed the locking problem
Re: hybrid overhead camera widget
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
It seems to work right but it just feels quircky
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: hybrid overhead camera widget
In what ways is this better than COFC?