Pan speed and zooming issues

Pan speed and zooming issues

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
An Rabbit
Posts: 3
Joined: 04 Aug 2010, 01:16

Pan speed and zooming issues

Post by An Rabbit »

I'd like to know if there is some way to lower the speed which the camera pans in-game, as currently it pans way too fast for my liking, also my mouse3 button is now broken and I can't figure out the UIKeys.txt, how would I go about rebinding the actions from mouse3 button to mouse4?
Also, I'm used to being able to zoom out enough to view the entire map, but I notice Spring has a max zoom distance, is there anything I can do about this? (I know pressing Tab has a similar function, but it's just not the same.)
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Pan speed and zooming issues

Post by BrainDamage »

An Rabbit wrote:I'd like to know if there is some way to lower the speed which the camera pans in-game, as currently it pans way too fast for my liking,
open the settings program, you can change panning and zooming speed
An Rabbit wrote: also my mouse3 button is now broken and I can't figure out the UIKeys.txt, how would I go about rebinding the actions from mouse3 button to mouse4?
you cannot using uikeys, you'd have to write a small lua script
An Rabbit wrote:Also, I'm used to being able to zoom out enough to view the entire map, but I notice Spring has a max zoom distance, is there anything I can do about this? (I know pressing Tab has a similar function, but it's just not the same.)
the zoom limit is not in spring, but in the camera you're using, and it's hardcoded
personally, I use a custom camera I made out of another's code, if you want, it's here ( you can easily change the buttons or the speed in the code if you want or remove the zoom limit ):
Attachments
camera_hybridoverhead.lua
(13.11 KiB) Downloaded 117 times
User avatar
An Rabbit
Posts: 3
Joined: 04 Aug 2010, 01:16

Re: Pan speed and zooming issues

Post by An Rabbit »

BrainDamage wrote: open the settings program, you can change panning and zooming speed
Oh, thanks. It hadn't occurred to me to try those sliders before posting, I thought they did something else. Whoops.
BrainDamage wrote:you cannot using uikeys, you'd have to write a small lua script
Well that sucks but I guess it doesn't really affect my gameplay that much.
BrainDamage wrote:the zoom limit is not in spring, but in the camera you're using, and it's hardcoded
personally, I use a custom camera I made out of another's code, if you want, it's here ( you can easily change the buttons or the speed in the code if you want or remove the zoom limit ):
I'll have to try that later.
Thanks for the help.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Pan speed and zooming issues

Post by BrainDamage »

one thing I forgot to mention, while you cannot bind a mouse button to another mouse button in uikeys, you can bind a mouse button to a key

iirc mid click by default is binded to J
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Pan speed and zooming issues

Post by MidKnight »

Writing a lua script to rebind the middle click to a button wouldn't be very difficult. I'd do it for you, but I don't remember the specifics. Minus the widget info (title, author, etc), it'd be wo lines, one sending the command to unbind the mouse3 and another to bind it to mouse4.

On an unrelated note, I really like your user avatar. :P
Post Reply

Return to “Help & Bugs”