Professional Documents
Culture Documents
Custom Key Infojyujyh
Custom Key Infojyujyh
all, data for the following keyboard shortcut entries can be customized:
Hotkey
Unhotkey
Researchhotkey
The entry for a custom key must be uppercase. A sample entry in "CustomKeysSampl
e.txt" to customize the keyboard shortcut to train an Orc Grunt as 'T' would loo
k like:
[ogru]
Hotkey=T
Certain actions have a series of hotkeys associated with the action. (For exampl
e, a melee weapon upgrade might have 3 levels of upgrade, thus facilities for 3
unique hotkeys for each level.) A sample entry to customize the keys to 'X', 'Y'
, and 'Z' respectively for each level of the Human melee weapon upgrade would lo
ok like:
[Rhme]
Hotkey=X,Y,Z
Other actions have distinct hotkeys for activation and deactivation. (For exampl
e, the footman ability Defend.) A sample entry to change the activate/deactivate
hotkeys to 'A' and 'B' respectively for the footman's defend ability would look
like:
[Adef]
Hotkey=A
Unhotkey=B
The hotkey for a hero to learn an ability is indicated in an entry called "Resea
rchhotkey". A sample entry to change the hotkey to 'U' for learning the Paladin
ability resurrection would look like:
[AHre]
Researchhotkey=U
Note that if the same key is assigned to multiple actions on a single unit, whil
e Warcraft III will still run fine, the result of using that key is not defined,
and only one of the actions will work. Also note that many abilities are used w
ith multiple units, so while a key conflict may not exist with one unit, it may
on another.
CUSTOMIZATION OF BUTTON POSITIONS
--------------------------------The following button position entries can be customized:
- Buttonpos
- Unbuttonpos
- Researchbuttonpos
The locations of buttons in a unit's command card can be customized as well. The
position is define by an x,y where x=0 is the leftmost button column, x=3 is th
e rightmost button column, y=0 is the topmost button row, and y=2 is the bottomm
ost button row. A sample entry to position the button to train a grunt in the mi
ddle row in the rightmost column would look like:
[ogru]
Buttonpos=3,1
Note that if more than one button is placed at the same location on a single uni
t that Warcraft III will attempt to reposition one of the conflicting buttons, b
ut the priority for repositioning is undefined. Also not that if Warcraft III is
unable to reposition a button that button will not appear in the command panel,
rendering that ability unusable. Also note that many abilities are used with mu
ltiple units, so while a position conflict may not exist with one unit, it may o
n another. Change button positions at your own risk.
CUSTOMIZATION OF TOOL TIPS
-------------------------If desired, tooltips can be customized to match customized keyboard shortcuts. I
n all, tooltip data for the following tip entries can be customized:
- Tip
- Untip
- Researchtip
- Revivetip (tip for reviving heroes at altars)
- Awakentip (tip for reviving heroes at the tavern)
Additional tooltip entries to match the above keyboard entries would look like t
he following:
[ogru]
Hotkey=T
Tip=Train Orc Grunt (T)
[Rhme]
Hotkey=X,Y,Z
Tip=Upgrade to Iron Forged swords (X),Upgrade to Steel Forged Swords (Y),Upgrade
to Mithril Forged Swords (Z)
[Adef]
Hotkey=A
Unhotkey=B
Tip=Defend (A)
Untip=Stop Defend (B)
[AHre]
Researchhotkey=U
Researchtip=Learn Resurrection (U)
COLOR CODING OF CHARACTERS IN A TOOLTIP
--------------------------------------Individual characters or blocks of characters can be customized to display in co
ntrasting colors. This is accomplished via "escape sequences" embedded into the
text. The escape sequence format is "|cARGB" where ARGB are hexadecimal values f
or alpha, red, green, and blue. The escape sequence to revert to the previous co
lor is "|r". So to highlight the hotkey in yellow for one of the above tooltips,
the entry would look like:
[ogru]
Hotkey=T
Tip=Train Orc Grunt (|cffffcc00T|r)
Have fun tailoring the hotkeys and tooltips of Warcraft III to your style of pla
y!