HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

'Move' Tooltip

06-27-2005, 08:45 PM#1
Tim.
Upon looking through the Gameplay Interface options I was unable to find anything to change the Move, Attack, Stop, and Patrol abilities. I could not find how to change thier names or thier tooltips, only thier icons.

I asume therfore that it is hardcoded an un-editable, however, I would like to hope otherwise. Does anyone know how to change thoe abilitie's tooltips/names?

Also: Is it possible to change thier placement on the UI? For example, the Patrol ability is second row far left, is there a way so that it is first row far right?
06-27-2005, 09:36 PM#2
shadow1500
its in war3.mpq, path: Units\CommandFunc.txt and Units\CommandStrings.txt.
06-27-2005, 10:21 PM#3
Tim.
Alright, but if I edit those, can I use them as imported files in-game?
06-28-2005, 07:48 AM#4
PitzerMike
With a trick you can also edit those values in the Game Interface Settings (without having to import any files at all).
I'm willing to write it down if you like.
06-28-2005, 02:47 PM#5
Tim.
It would be greatly apreciated, Mike.
06-28-2005, 04:26 PM#6
shadow1500
I would be interested too.
07-01-2005, 08:55 AM#7
PitzerMike
Ok, you'll only need a modified SkinMetaData.slk in a local UI folder (fex. in F:\Warcraft III\UI\ )
I've attached a sample SLK-File where I've enabled rallypoint and cancel tooltip, ubertip and hotkey for editing in the game interface.

Look at the last 6 lines of the file, those are the ones I've added. Now to add the move tooltip simply make a copy of the rallypoint tooltip line (ral0) then change the id to something unique (fex mov0), change the second column to the name of the Property (as it is named in CommandStrings.txt), in this case you can leave it at Tip.
Then change the 4th column to the move ability name (as it is named in CommandStrings.txt, I've already looked it up and the section is named [CmdMove] in that file, so you'll put CmdMove without the brackets).
Last but not least give it a descriptive string in the 6th column, so you'll find it later in the Game Interface screen.

Now put it in the UI folder and restart the editor - congratulations, there it is.

NOTE: You don't have to import any files to make this work, thanks to the way Warcraft's delta saving interpreter works.
07-01-2005, 07:55 PM#8
Tim.
I get the idea, but wont this only effect my computer and not the map itself?

Edit: Nevermind I understand now.

However when I export my SLK from War3x.mpq its different from yours...
07-01-2005, 09:40 PM#9
PitzerMike
Quote:
Originally Posted by Tim.
However when I export my SLK from War3x.mpq its different from yours...

That's what I'm saying. I've added the last 6 lines and maybe a few more that I needed.
Also check out war3patch.mpq for a more up-to-date file (if there is one).
07-01-2005, 10:20 PM#10
Tim.
No Im aware of your added lines, I mean my entire file is different from yours. Different text in the fields.

Also, war3patch.mpq is all in 'unknown's. Little hard to find the SLK if there is one.
07-01-2005, 10:34 PM#11
PitzerMike
Quote:
Originally Posted by Tim.
Also, war3patch.mpq is all in 'unknown's. Little hard to find the SLK if there is one.

That's what listfiles are used fore. Get the latest war3patch listfile in the editing tools forum or simply create one yourself.

The latest file from war3patch.mpq should look quite similar to mine.
07-02-2005, 11:47 AM#12
Tim.
Okay, I got it now, however after importing the SLK back into war3patch.mpq and opening the WE those 7 new lines still arent there.

EDIT: Okay I found the problem, somehow the SLK didn't save right out of excel and a lot of the lines are missing from the bottem.

Before inputting the 7 lines back into my original 1.18 SLK I tried using your file with the alterations. Here is the effect. The highlighted line is the Move tooltip.

<See Attachment>

Upon editing the Game Interface values shown there, no effect is created, they remain at default. This may be due to the use of your SLK file which is most likely outdated. As such I tried using my original 1.18, this time the file saved correctly and imported all the lines. However there is no change from the effect your file gave.
07-02-2005, 04:09 PM#13
PitzerMike
You have a typo in the 4th column. It's supposed to say CmdMove and not CmdMov

Also why would you want to import the changed file back into the mpq if you can just drop it in a local UI folder?
Changing the MPQ is not so good for bnet compatability and such.
07-03-2005, 02:18 PM#14
Tim.
What do you mean? Simply make a folder UI in my Warcraft III folder?

Hmm, I thought the MPQ was similar to a zipped file and only read its own contents. I will attempt making the UI folder now and get back to you.

Also, is there any way to add the name of the option in the Gameplay Interface? Such as 'Text-Command Move Tooltip'. I notice none of yours display this either.

Edit: Yep that did it. Works fine now. I'm still curious about getting the name of the values to display though.
07-03-2005, 05:06 PM#15
PitzerMike
This only works with WE-string-references.
In the sixth column of the slk you can put WESTRING_COMMANDSTRRAL0 for example.

Then you'll need a copy of the latest UI\WorldEditStrings.txt file in your local UI folder. In this file add the line

WESTRING_COMMANDSTRRAL0="Rallypoint Tip"

for example.

Now Rallypoint Tip will show up in the WE for this field.