ALT+WASD Camera Panning

Discussion in 'Planetary Annihilation General Discussion' started by amesnih, June 17, 2014.

  1. amesnih

    amesnih New Member

    Messages:
    3
    Likes Received:
    3
    Hey guys its my first post on the forums, I've been lurking around up until this point... exciting stuff I know.

    So currently I use WASD for camera panning and I've adjusted to (and actually now prefer) the new unit/building hotkey system compared to my previous hotbuild setup.

    The great things about WASD camera panning:
    • You can pan/rotate, select units/buildings/actions, and shift queue these without having to move your hand to the other side of the keyboard.
    • Your hand is where its needed for the other hotkeys like unit control groups, camera groups etc.
    • You can keep your camera movement independent from your mouse cursor, allowing you to do separate things with each (which you can't really do with middle click dragging)

    The bad things about WASD camera panning:
    • You need to rebind the default A - attack, S - stop, etc keybindings (unless you enjoy occasionally cancelling your queued up units/orders).
    • You end up panning while trying to queue units and buildings with the new hotkey system.
    • Likewise you can end up queueing units while trying to pan the camera (if you happen to have a factory selected).

    I think all of these issues could be solved if we were able to use ALT+WASD for camera panning instead, this would not conflict with the default hotkeys and the only issues would be having that additional keypress (which is not an issue for me), possibly keyboard ghosting or something and it might not be as comfortable if using the option key on a mac.

    As for the camera rotate / zoom, that would be CTRL+ALT+WASD. It could even actually just remain as CTRL+WASD (though that may require even more independent bindings in the options for rotate left/rotate right/zoom out/zoom in).

    The problem at the moment is that although in the options you can now individually assign keys to the camera movement, which is great... ALT+KEY does not currently work for these.

    So that is basically the reason that I've made this post, if it would be possible to have this as an option at some point that'd be great.... and it would pretty much be my ideal hotkey setup and I would be a very happy man indeed.
  2. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    welcome to the forum

    I don't really know if it would work. Then I tried rebinding the keys to see if it would work. PA doesn't let you do that.:rolleyes: Interesting proposal though.;)
  3. vorell255

    vorell255 Active Member

    Messages:
    492
    Likes Received:
    190
    I just rebound the keys to what I wanted. I love WASD for camera.
  4. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    Unintuitively you have to spell keys you want to use in order to rebind them into key sequences.:confused: Other programs you just press the combination of keys and it works.
  5. metabolical

    metabolical Uber Alumni

    Messages:
    312
    Likes Received:
    1,366
    The built-in hotkey system is supposed to be compatible with WASD camera panning, because we don't override WASD until you've selected a factory button or build category. But I don't WASD, so I haven't tested it personally, is it not working?
  6. nixtempestas

    nixtempestas Post Master General

    Messages:
    1,216
    Likes Received:
    746
    that's the problem, you select a factory or fab and then try to pan with WASD.

    for example, selecting a fab and then panning around some firebases building more AA or something. Can have some really annoying effects, forcing you to deselect, pan, then reselect. This is a serious problem if your camera is no longer in view.

    So for me I just unbound the other stuff assigned to WASD, I can do without them (though losing attack is a bit annoying, I got to assign it elsewhere)
    lokiCML and cptconundrum like this.
  7. amesnih

    amesnih New Member

    Messages:
    3
    Likes Received:
    3
    Yea basically there is some weird stuff that can happen when panning with a factory / fab, plus the fact that you need to rebind the asd keys from the usual bindings common to rts games.

    ALT+WASD would solve this for me, I get to keep all my familiar action hotkeys and it stays out of my way when using the building hotkeys. I can explicitly choose when I want to eg. pan left vs queue a fab.

    The issue is that if I actually go into the options and type 'alt+w', 'alt+a', 'alt+s', 'alt+d' into the boxes provided in the keyboard bindings menu, they don't work.
    Binding other actions like ubercannon to eg 'alt+d' works fine, its the camera panning bindings that are not working for me. They currently have to be single keys with no modifiers.
  8. vorell255

    vorell255 Active Member

    Messages:
    492
    Likes Received:
    190
    I put attack on q and alt fire on e
  9. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    I'm seeing the same behaviour as described above.

    Edit: Reported in the bug tracker. FS#3638
    Last edited: June 18, 2014
  10. istarei

    istarei New Member

    Messages:
    17
    Likes Received:
    3
    Sorry for the question, but how the heck do you bind WASD to camera panning? I tried to find it everywhere but wasnt able to. Used it ever since i play PA and was really frustrated when i couldnt find it now after trying out the new patches.
    I'm sure i'm just friggin blind, maybe someone wants to give me a hint ;)
  11. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    Go to Settings > Keyboard Tab > Camera Controls then revamped them by selecting the appropriate box and typing the key into it that you want to use.;)
  12. istarei

    istarei New Member

    Messages:
    17
    Likes Received:
    3
    -_- as i said i was blind. Scrolled through that at least 20 times and didnt see it. Thanks.
  13. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    I have an issue with it: It isn't keyboard adaptive.

    It's possible for an app to detect system's keyboard language settings no?

    So changing from arrows to "WASD" (or rather "QZSD", in my case) should be adaptive according to what language you keyboard is set to in system settings. (though beware : not system language, I run my OS in English but have an AZERTY keyboard)
    Last edited: June 18, 2014
  14. proeleert

    proeleert Post Master General

    Messages:
    1,681
    Likes Received:
    1,656
    Well you can't detect keyboard layout in javascript so if you want that they need to implement it in lower level layer. PA runs on 3 different OS'es all with different keyboard settings systems, so I don't see this happening soon.
    I'm just happy QZSD already works now cause we can rebind at last.
  15. tatsujb

    tatsujb Post Master General

    Messages:
    12,902
    Likes Received:
    5,385
    yeah but this is a program selling professionally, if they wanna look serious at release, this is gonna have to be a feature.
    Last edited: June 18, 2014
  16. metabolical

    metabolical Uber Alumni

    Messages:
    312
    Likes Received:
    1,366
    This is on our list. I'm a US-Dvorak user incidentally.
    proeleert and tatsujb like this.
  17. lokiCML

    lokiCML Post Master General

    Messages:
    1,973
    Likes Received:
    953
    I've done the same thing.;)

Share This Page