HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

removing ability buttons

01-28-2004, 06:07 PM#1
Reb
Is there any way to remove the buttons of abilities from units like evasion and crit since they are passive and thus dont need to be clicked from a unit. That space could be better spent on spells and the like. TIA

Reb
01-28-2004, 06:14 PM#2
DCDW
I'm not sure... but wouldn't it be possible to set the "researched button art" (not to be confused with "RESEARCH button art") to None?
01-28-2004, 07:19 PM#3
Ligature
I believe... if you put the button in the lower right corner (3,2) it should be overridden by other buttons in that location. Have you tried anything like that?
01-28-2004, 08:29 PM#4
Bulletcatcher
It used to be a good solution, buuut that no longer works.

Since on of the recent patches, the buttons will now take any empty spot they can get hold of, only going off-screen if there are no empty ones. Pushing the right ones off screen probably takes quite a bit of work, requiring that you add the abilities in the right order.
01-28-2004, 08:47 PM#5
Ligature
You could fill up all the empty spots with placeholder abilities, all with black squares for icons, and remove the appropriate ability only if the ability being learned was supposed to be showed... Talk about annoying!
01-28-2004, 09:21 PM#6
Bloodlust
ok here is something that should work even if i didnt test it like this:

lets take critical strike as example:

create 3 new abilities based on critical strike, for every level one, now make them to ITEM ABILITIES (they dont show icons).

Then you create a trigger like:

a unit learn skills critical strike
remove critical strike ability
remove itemability-of-crits 1
remove itemability-of-crits 2
remove itemability-of-crits 3
if learned ability lvl equal to 1 then add itemability-of-crits 1 to unit else do nothing
if learned ability lvl equal to 2 then add itemability-of-crits 2 to unit else do nothing
if learned ability lvl equal to 3 then add itemability-of-crits 3 to unit else do nothing

the only problem could be that removing of the critical strike ability.. maybe you cannot learn new spells then... that would suck. well for you.
01-29-2004, 02:04 AM#7
Reb
Setting the button to None makes a big ugly green square.

If you give a unit an item ability thats based on a non item ability then the button will still show, or at least it has when i've tested it.

Filling up the icons with place holders may have to be the way to go, but it could be buggy and may display the wrong icons on occasion(like on reviving a hero)

Anyways thanx for the help, I'll fiddle around with it some more.

Rebel Scum
01-29-2004, 02:41 AM#8
Scarlet-Russian
just use talisman of evasion... and you can do crit strike thru triggers
01-29-2004, 05:54 AM#9
Danexx
http://www.wc3campaigns.com/forums/s...threadid=45781

You could edit the maps by delelting the "cs" on hero~~
and return to game you'll see you want ~~~:)~~~~~~~