Loading...
  OR  Zero-K Name:    Password:   

change zoomin/out hotkey

5 posts, 221 views
Post comment
Filter:    Player:  
sort

6 years ago
Hey,

how do I set the keys for replicate zoom like mousewheel.

even with "/bind p moveback" I cannot bind p to moveback command. How do I would set it for zoom? And what is the keybind-name?

thanks
+0 / -0


6 years ago
The keys seems to be moveup and movedown https://github.com/ZeroK-RTS/Zero-K/blob/master/LuaUI/Configs/zk_keys.lua#L141
+0 / -0

6 years ago
thanks for the link
still... bind for example drawinmap with /bind p drawinmap works for me. but not with movedown
+0 / -0

6 years ago
I solved this now.

/bind p moveback

works very good if you have selected the correct camera... default camera works. COFC not as it seems :)
I also added my keys to zk_keys.txt
GF already committed options for menu https://github.com/ZeroK-RTS/Zero-K/commit/c5fa95178c3e8355f8d00c04f47f37ec8a4c4e3c
+0 / -0


6 years ago
I just checked, and yeah...COFC is completely hardcoded in its hotkeys. It's theoretically possible to make it configurable, but that would involve a lot of keycode conversions between the settings files and Lua. Also, right now Tilting, Altitude shifting, and Zooming are all tightly tied to modifier keys.

It's doable, but probably a day's work at least.
+0 / -0