HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Can't change COLON_RANK value?

02-12-2008, 09:28 AM#1
Magentix
Well I implemented COLON_RANK into SkinMetaData.slk, put the .slk in a local UI folder and my World Edit now shows a field in Game interface where I can cange "Rank:" (which it shows by default) to whatever I want.

HOWEVER:
It doesn't work in-game :o
Instead, it shows GLOBALSTR_161 where there used to be "Rank:"

When browsing the map's MPQ, I came across this:
Hidden information:
Code:
//war3mapSkin.txt

[FrameDef]
COLON_SPELLS=TRIGSTR_087
COLON_NAME=TRIGSTR_089
CASTER_UPGRADE_TIP=TRIGSTR_086
UPGRADE_TOOLTIP=TRIGSTR_052
COLON_UPGRADE=TRIGSTR_088
COLON_ARMOR=TRIGSTR_160
ARMOR_NONE=TRIGSTR_102
ARMORTIP_NONE=TRIGSTR_162
COLON_RANK=TRIGSTR_161



And TRIGSTR_161 in war3map.wts is indeed "Stats:" as I want it to be:
Hidden information:
Code:
...

STRING 160
{
Mitigation:
}

STRING 161
{
Stats:
}

...


As you can see, 160 is "Mitigation:", which I used to replace "Armor:" with and which DOES work in-game (Since COLON_ARMOR is a default Game Interface field?)


Now: why does it accept stuff like COLON_ARMOR changes, but doesn't it accept me to change COLON_RANK, even though I enabled Game Interface to show the field and set that field to "Stats:"?



EDIT: Somehow editing the .SLK row of COLON_RANK to set stringExt to 0 made it work