Hello! I'm looking to return to War3 mapmaking with Reforged, and I might have bitten off more than I can chew, but here goes!
EDIT: The goal of the map is to be a ~4 player coopertive RPG experience, with a single hero controlled per player. I can scope down to a singleplayer RPG if the solutions to my issues are that much easier to solve with a single player.
I would like to accomplish the following:
1. Disabling the basic unit command hotkeys.
The hero representing the player controlled via a WASD system. Said system is already implemented through an existing example, but I need to find out how to disable the A and S keys doing the respective default unit commands of 'Attack' and 'Stop'.
Removing the default unit commands is optional I think, as long as I can disable those specific keyboard keys doing what they do by default. Though I do suspect that a remapping or unbinding trick would not work, since a map can't enforce user-defined control rules? Please correct me if I'm wrong.
2. Turning off default unit behavior and adjusting mouse button commands.
The idea is to have the hero not attack by default, but 'swing' via left clicks, and defend and/or cast another ability with the right click.
I would greatly appreciate any pointers in the right direction, or even simply confirmation which of the ideas above can work, and which can't (if any)!
EDIT: The goal of the map is to be a ~4 player coopertive RPG experience, with a single hero controlled per player. I can scope down to a singleplayer RPG if the solutions to my issues are that much easier to solve with a single player.
I would like to accomplish the following:
1. Disabling the basic unit command hotkeys.
The hero representing the player controlled via a WASD system. Said system is already implemented through an existing example, but I need to find out how to disable the A and S keys doing the respective default unit commands of 'Attack' and 'Stop'.
Removing the default unit commands is optional I think, as long as I can disable those specific keyboard keys doing what they do by default. Though I do suspect that a remapping or unbinding trick would not work, since a map can't enforce user-defined control rules? Please correct me if I'm wrong.
2. Turning off default unit behavior and adjusting mouse button commands.
The idea is to have the hero not attack by default, but 'swing' via left clicks, and defend and/or cast another ability with the right click.
I would greatly appreciate any pointers in the right direction, or even simply confirmation which of the ideas above can work, and which can't (if any)!
Last edited: