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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...