Jump to content

Recommended Posts

Posted

Download 'CommandFunc.txt' from the Bottom of this post.

 

Open it, and find the Buttons you want to change the positions of. For this tutorial, I'll be changing the position of 'Attack'

It looks like this:

 

[CmdAttack]
Art=CommandAttack
Buttonpos=3,0

 

Buttonpos=3,0 Means that the Icon is in the position (3, 0) (X, Y)

Change that to what you want. If you don't know the positions, use this.

 

I've changed it to (1, 1)

 

[CmdAttack]
Art=CommandAttack
Buttonpos=1,1

 

Save the text document and open World Editor.

In the Import Manager, import the file, and change its path to

 

Units\CommandFunc.txt

 

 

Tut1.jpg

 

And you're done

 

Results :

 

Tut2.jpg

 

 

Changing the Tooltips and the Hotkeys of the command buttons

 

Download CommandStrings.txt from the bottom of this post.

 

When you open it you'll find a list of the commands, tooltips and hotkeys. For this tutorial, I'll be working with move.

 

[CmdMove]
Tip=|cffffcc00M|rove
Ubertip="Orders your units to move to the target area, while 
ignoring enemy units and attacks. Issuing a move order onto a 
target unit will cause your unit to follow the target."
Hotkey=M

 

Tip' is the Name of the command as it appears in Wc3.

'Ubertip' is the Tooltip.

'Hotkey' is.. the hotkey (Difficult to guess isn't it?)

 

Edit this as you wish.

 

[CmdMove]
Tip=|c0050BBFFR|c000080FFun|r
Ubertip="Commands your units to run to the target point as quickly as possible, and avoiding battle."
Hotkey=R

 

Save the text document and open World Editor.

In the Import Manager, import the file, and change its path to

 

Units\CommandStrings.txt

 

tut2-1.jpg

 

Result: (The hotkey works too.)

tut3.jpg

 

 

Questions and Answers:

Q: Can you Remove Icons completely?

A: No. Not as far as I know.

 

Credits : Romek.

 

CommandFunc.txt

CommandStrings.txt

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock