• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Changing Hotkey

Status
Not open for further replies.
Hmm, using custom keys will be only change it for your war3. And this for all the maps. (so compability problem with some others maps)

The CustomKeys can be used for :

Change Descriptions
Change Hotkey
Change the ButtonPos

CustomKeys function with the ID of the thing that you change.

For Example, if you want change your Attack hotkey :

Code:
//Basic Attack
[CMDATTACK]
Hotkey=A
Tip= |cffffcc00A|rttack
Code:
//Example of Modification
[CMDATTACK]
Hotkey=K
Tip= Attac|cffffcc00K|r

And this function for Spells, Items (sell), Units (sell).

For more informations on CustomKeys, read the "CustomKeyInfo.txt" into your war3 files.
)
 
Level 7
Joined
Dec 3, 2006
Messages
339
If you have an edited AbilityData.slk inside an Units folder inside your wc3 folder you could literally edit the abilities in world edit like regular other abilities.

Or if you have JNGP you can basically just modify game play constants or whatever. They are in there somewhere i think.
 
Level 13
Joined
Oct 25, 2009
Messages
995
How can i open the war3mpq?lol,i want change the hotkey of my map,not only myself(Mean i give my map to another people play,another people's hotkey of attack(A),stop(S),etc is follow the hotkey of the map,like The Chosen One)
 
Level 26
Joined
Aug 18, 2009
Messages
4,097
Get a MPQ Extractor like Magos (>>>Windows >>MPQ Browser) and do

Extract CommandStrings.txt from War3xLocal.mpq\Units. Search for [CmdMove]. Apparently, it is directly the first one at the top. Change the value of field Hotkey. Save and import the modified file in your map under Units\CommandStrings.txt again. Of course, this will also apply all other data located in this file, along with changing the tooltips and other hotkeys of these standard abilities.

If the player uses custom keys, these will still be prior.
 
Level 5
Joined
Nov 27, 2007
Messages
85
Hint:
By editing this file you can also change positions of icons. For example I moved patrol button to the right upper slot in my map, so that all default wc3 buttons (attack, stop, hold pos, patrol) are on the first line.
 
Status
Not open for further replies.
Top