• 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.

Change control button

Status
Not open for further replies.
Level 6
Joined
Mar 31, 2009
Messages
247
How can I change a control buton for any ability?
Ex: The patrol Buton want to change for a custom skill (for every unit or a single unit)
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
you cant change it for a single unit. deathismyfriend's solution will work for the icon, you have to import a custom data file for the tooltip, and you will never be able to add mana to it
 
Level 6
Joined
Mar 31, 2009
Messages
247
I know how to change an icon in the game interface panel... I'm asking to change the patrol buton funtion for any other skill (aura, Aoe, single target, whatever)...
 
Level 19
Joined
Aug 8, 2007
Messages
2,765
I know how to change an icon in the game interface panel... I'm asking to change the patrol buton funtion for any other skill (aura, Aoe, single target, whatever)...

cant. u can always just catch if patrol was ordered than order ur abil
 
Level 6
Joined
Mar 31, 2009
Messages
247
Hmr maybe thats the way to give a new use to the patrol skill and eny other command buton
 
Level 19
Joined
Feb 25, 2009
Messages
2,004
Open war3.mpq with the War3 Model Editor, and go to "Units"
Search for the files "CommandFunc.txt and CommandStrings.txt", first is to determine the location of the button(s) in the UI and second one is to set the strings of the command (tooltip).

You will need to export those two files, edit them and import them into your map using the same path (Units\Name.txt)

Thats the only thing you could do with them. Other than that, theres no alternative to replace them with an ability.
 
Status
Not open for further replies.
Top