Numpad Unit Commands

If you liked this item, please rate it up on Steam Workshop page.

Author: hominute

Last revision: 17 Dec, 2022 at 04:07 UTC

File size: 39.94 KB

On Steam Workshop

Description:

I didn’t create this mod.
Just for sharing.
Since the old one doesn’t work, I just fix it.

Controls
– "5" centers view on selected unit. Double tapping "5" will skip the unit’s turn (or enter ranged attack selection if available).
– 1, 4, 7, 3, 6, and 9 will move unit one plot at a time in the 6 possible directions.
– "8" and "2" will select the next/previous ready unit, respectively (unless selecting a range attack).
– If no unit is selected, pressing a numpad key will select the next available ready unit.
– Mod will ignore when you hold down a key for more than 2 seconds, it must be pressed and released quickly to register an action.
– Numpad key presses will not queue any movements for the next turn.

Melee / Ranged Attacks
– To melee attack a unit (or range attack an adjacent one), you must double tap the numpad movement key. One press will only show the Unit Panel combat simulation.
– Double tapping "5" will enter ranged attack selection mode if ranged attack is available, otherwise it will skip the selected unit’s turn.

In ranged attack mode:
– The numpad up, down and the east, west keys will scroll through selectable targets.
– To perform the ranged attack, double tap "5" again.
– Press "escape" or the diagonal (1, 7, 9, 3) numpad keys to exit ranged selection mode.

Contributors
sp00n: Original mod on CivFanatics.
MadManCam: Updated input logic/processing, ranged attack commands, next/previous unit selection commands.
Kyl: Updated 2018 version.