• 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.
  • It's time for the first HD Modeling Contest of 2025. Join the theme discussion for Hive's HD Modeling Contest #7! Click here to post your idea!

[General] Is it possible to define which ability shows Goldmines on minimap?

Status
Not open for further replies.
Level 14
Joined
Jul 27, 2007
Messages
793
I'm working on a campaign, and I've changed many of the gameplay elements. Instead of gold, players gather food from farms they build, and instead of farms, players "conquer" gold mines, which increase the population cap.

So, in my map, goldmines play the role of farms, and farms play the role of goldmines.

It's easy to create an alternative gold mine ability and give it to Farm/Pig Farm/etc. However, this also makes farms appear as gold mines on the map.

On the other hand, I don't want to remove the gold mine ability from Gold Mines, since I want them to be shown on the map as well.

Is there a way to solve this problem?

To summarise:

Gold Mines must not have Gold Mine ability, but they still must show on the map.
Farms must have Gold mine ability, without showing on the minimap.
 
The path for Gold Mine icon is: UI\MiniMap\MiniMapIcon\MinimapIconGold.blp

You can replace it or remove it using the Import Manager.

If you want to remove it:
Import a blank .blp texture and change the path to: UI\MiniMap\MiniMapIcon\MinimapIconGold.blp

If you want to replace it:
Import your new .blp texture and change the path to: UI\MiniMap\MiniMapIcon\MinimapIconGold.blp

I've uploaded a blank 1x1 transparent .blp texture, you can import this and change the path.
 

Attachments

  • Blank.blp
    840 bytes · Views: 50
Thank you, all, but I think I will use the burrow ability and triggers for the farms. Given that it won't be possible to show an icon for the gold mines, but not for other buildings with this ability.

Haunted and Entangled gold mines also have a minimap icon, you could either replace those. Then just create a dummy invisible unit at your location that shows minimap icon.
 
Status
Not open for further replies.
Top