• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

I would like to seek help on how to modify the building icons of workers in the 1.31 WE

There is no modification of building icons in the object editor

and

1718472799562.png

The jass code for modifying the icon also has no effect
 
You can modify the World Editor settings to make abilities like AUbu show up in object editor, and then change the icon of the ability using the Object Editor's Ability Editor section.

These abilities have a parameter called "hidden" that makes them not show in world editor, but they are otherwise standard abilities. So by making them not be "hidden," then they show and can be modified.

It's possible that BlzsetAbilityIcon would work the same way, but it also might be bugged, I do not know. But I know that in the patch 1.22-1.26 era in my youth, I had custom maps with custom build icons. Using Object Editor with a hacked World Editor where these abilities were no longer hidden was how I achieved these. After you edit these abilities, even if you revert back to the vanilla world editor, your changes to the "hidden" abilities will remain. You will not be able to see them, since the changes are hidden as well. But they will still be present.

Additionally, using the Object Editor is preferable because it allows you to have 6 unique build icons instead of 5. In the Gameplay Interface page, there is one "generic" build structure.

But in the Object Editor's section of Ability Editor, there are six abilities because "Build (Naga)" is a distinct ability from "Build (Neutral)". And for my custom game back in the day, this was very useful. Because you can make a worker have the "Naga" race and then give it an icon that will be unique from the worker if it has the neutral (critters/creeps) race. By default, the Orc, Neutral, and Naga all have the same icon. But functionally in the code, they are distinctly changeable.
 
Top