How can I change buttonpos forcibly?

Level 10
Joined
Aug 4, 2017
Messages
90
Hello everyone! Is there other ways to change upgrade button position?

I have installed QWER custom keys binding, but it has different X/Y positions from default buttonpos. If default in-game upgrade/ability buttonpos doesn't match custom binding buttonpos, I can't change it. Because the data is not highlighted in purple.

For example, the default position of War Drums Upgrade is 1,2. In QWER binding it is 2,2. If I want to change it back to 1,2, I can't, because it's match the default position. So, the users who have QWER binding will see wrong buttonpos, that looks not so well.

I found a solution, but it doesn't work properly. I opened War3.mpq and War3x.mpq files and changed Upgrade Strings and Ability Strings from 1,1 to 10,10 form in Unit folder to rewrite them back to 1,1 in WE to highlight them in purple to show good looking in-game buttonpos for QWER users...

But my map is still showing me wrong data in Upgrades tab.

Here is how buttonpos look like in emty map/new map:

1.jpg


And how it looks in my map:

2.jpg


Somehow, the old information was written into my map, or has links to some other string files that I don't know. So, are there other ways to change default buttonpos? How do you resolve it in your maps?
 
Last edited:
Top