• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Edit Hotkeys and save in Map: Move, Patrol, Build, Select

Status
Not open for further replies.
Level 8
Joined
Sep 30, 2012
Messages
205
Level 15
Joined
Oct 29, 2012
Messages
1,474
Unfortunately you can't make custom keys for the basic actions of warcraft3 (Attack, Move, Patrol, RallyP, Cancel, Hold, Stop...) , you can just change them for only your warcraft (in some file CustomKeys.txt afair, I believe you know since you know how to change actions' icons).
 
Level 25
Joined
May 11, 2007
Messages
4,651
Unfortunately you can't make custom keys for the basic actions of warcraft3 (Attack, Move, Patrol, RallyP, Cancel, Hold, Stop...) , you can just change them for only your warcraft (in some file CustomKeys.txt afair, I believe you know since you know how to change actions' icons).
Import the customkeys.txt into your map, setup the path correctly so it overrides the customkeys file and see if it works?
 
Level 15
Joined
Oct 29, 2012
Messages
1,474
Import the customkeys.txt into your map, setup the path correctly so it overrides the customkeys file and see if it works?

Sadly it cannot be overridden because of how Warcraft's engine deals with some unique files such as the LoadBar, they are by default and will always stay like that. I tried overriding them, still no chance.
Perhaps someone gets a different result or finds an other solution,
 
Level 8
Joined
Sep 30, 2012
Messages
205
CommandFunc.txt imported in map with the path Units\CommandFunc.txt
- still doesn't seem to work..
Icons and Position can be changed though..
but not their Hotkey and Tooltip

[cmdrally]
Art=CommandRally
Tip=(|cffffcc00F|r) Set Rally Point
Hotkey=F
Buttonpos=3,1
PlacementModel=UI\Feedback\RallyPoint\RallyPoint.mdl

[cmdcancelbuild]
Art=CommandCancel
Tip=(|cffffcc00V|r) Cancel
Hotkey=V
Buttonpos=3,2

[cmdcancel]
Art=CommandCancel
Tip=(|cffffcc00V|r) Cancel
Hotkey=V
Buttonpos=3,2

[CmdCancelTrain]
Art=CommandCancel
Tip=(|cffffcc00V|r) Cancel
Hotkey=V
ButtonPos=3,2

[CmdCancelRevive]
Art=CommandCancel
Tip=(|cffffcc00V|r) Cancel
Hotkey=V
ButtonPos=3,2

[cmdselectskill]
Art=CommandNewSkill
Tip=(|cffffcc00F|r) Set Hero Ability
Hotkey=F
Buttonpos=3,1

[cmdmove]
Art=CommandMove
Tip=(|cffffcc00Q|r) Move
Hotkey=Q
Buttonpos=0,0

[cmdstop]
Art=CommandStop
Tip=(|cffffcc00W|r) Stop
Hotkey=W
Buttonpos=1,0

[cmdholdpos]
Art=CommandHoldPosition
Tip=(|cffffcc00E|r) Hold Position
Hotkey=E
Buttonpos=2,0

[cmdattack]
Art=CommandAttack
Tip=(|cffffcc00R|r) Attack
Hotkey=R
Buttonpos=3,0

[cmdpatrol]
Art=CommandPatrol
Tip=(|cffffcc00A|r) Patrol
Hotkey=A
Buttonpos=0,1

[cmdattackground]
Art=CommandAttackGround
Tip=(|cffffcc00F|r) Attack Ground
Hotkey=F
Buttonpos=3,1

[cmdbuildhuman]
Art=CommandBasicStructHuman
Tip=(|cffffcc00Z|r) Build Structure
Hotkey=Z
Buttonpos=0,2

[cmdbuildorc]
Art=CommandBasicStructOrc
Tip=(|cffffcc00Z|r) Build Structure
Hotkey=Z
Buttonpos=0,2

[cmdbuildundead]
Art=CommandBasicStructUndead
Tip=(|cffffcc00Z|r) Summon Building
Hotkey=Z
Buttonpos=0,2

[cmdbuildnightelf]
Art=CommandBasicStructNightElf
Tip=(|cffffcc00Z|r) Create Building
Hotkey=Z
Buttonpos=0,2

[cmdbuildnaga]
Art=CommandBasicStructHuman
Tip=(|cffffcc00Z|r) Build Structure
Hotkey=Z
Buttonpos=0,2

[cmdbuild]
Art=CommandBasicStruct
Tip=(|cffffcc00Z|r) Build Structure
Hotkey=Z
Buttonpos=0,2

[CmdPurchase]
Art=CommandPurchase
Buttonpos=0,0

[anei]
Tip=(|cffffcc00C|r) Select User
Hotkey=C
Buttonpos=2,2
 
Status
Not open for further replies.
Top