By default, a Nexus, CC and Hatchery have a permanent text above their heads, displaying how many workers are currently harvesting minerals. (See picture below)
I am aware that the field Status Harvester Data field in the Actor can be modified to make that text appear. I can give that text to Gateways, for example... And it appears perfectly fine ingame.
I am trying to make that text field be displayed above a mineral field... So if one worker is currently harvesting minerals from a mineral field, the text above that mineral field should say something like: "Workers: 1/1" ... It might seem like a strange thing to do, but I have my reasons : )
The issue is that the text field refuses to appear above the mineral field... There has to be something that determines this, but I can not figure out what >.<
I finally managed to figure it out... and of course it was simple... Minerals field are by default neutral... But if a mineral field is controlled by a player, then it displays that message
By default, a Nexus, CC and Hatchery have a permanent text above their heads, displaying how many workers are currently harvesting minerals. (See picture below)
I am aware that the field Status Harvester Data field in the Actor can be modified to make that text appear. I can give that text to Gateways, for example... And it appears perfectly fine ingame.
I am trying to make that text field be displayed above a mineral field... So if one worker is currently harvesting minerals from a mineral field, the text above that mineral field should say something like: "Workers: 1/1" ... It might seem like a strange thing to do, but I have my reasons : )
The issue is that the text field refuses to appear above the mineral field... There has to be something that determines this, but I can not figure out what >.<
Any ideas` what to look for?
I finally managed to figure it out... and of course it was simple... Minerals field are by default neutral... But if a mineral field is controlled by a player, then it displays that message
So you now need to change the ownership of all minerals to whatever player(s) are currently mining them?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg