HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

How do i do do hide minimap?

11-03-2007, 07:53 PM#1
Orcish Modder
I'm doing a Legend of Zelda Campaign and I was wondering if there is a way you can hide the minimap until you find an item by using triggers, like in the LoZ Games. Person who helps will be given rep now and credit when i release the campaign.
11-04-2007, 04:36 AM#2
inkken
I don't think there are any functions that can touch the mini-map directly with the exception of SetAltMinimapIcon(<string>). However, i have never seen that function in action so i cannot explain how it works.

I have done some testing with it; it didn't do what i thought it should do... switch a minimap file base on the given string.

---
My guess as how zelda accomplish this is using the neutral shop building icon, gold mine icon, circle of power, or any similar to mask the map. In other words, they created (in photoshop) a pure black x by x icon. They then imported the icon and gave it the neutral shop building icon file path.

They likely created a permanent invisible neutral shop.

When a player does not have the desire item, the neutral shop is an ally with vision to the player.
When a player does have the desire item, the neutral shop is an enemy without vision to the player.

Here are the steps to grabbing the neutral shop building icon (and other icon as well):
Using Warcraft 3 viewer or a similar program, locate war3.mpq (it's under your warcraft III program folder). After opening the mpq, locate the file mini-map-neutralbuilding.blp (its under UI/Minimap/mini-map-neutralbuilding.blp).

You might want to try other icon other than neutral shop building icon to get your desire effect.

---
In Blizzard Candy Wars, the pumpkin's eyes is a good example of how this works.

---
Just remember, if they can do it... why can't you?

It's just these crafty, if not ingenious, tricks that modders do to give players the illusion that something is what it really isn't.
It's like my removal patrol system... i really didn't remove patrol... but it appears that way.
11-04-2007, 04:42 AM#3
zen87
Quote:
Originally Posted by PitzerMike
You can import a black minimap picture into your map (war3mapMap.blp)
But you'd also have to get rid of the creep, unit, hero and neutral building icons.
Most can be removed by editing the game interface, some require unit editing to be removed.

USE THE DAMN SEARCH BUTTON

http://wc3campaigns.net/showthread.p...hiding+minimap
11-04-2007, 05:21 AM#4
Ammorth
Except that thread has nothing to do with what the poster was asking (dynamically hiding and showing the mini-map)
11-04-2007, 10:19 AM#5
Orcish Modder
Quote:
Originally Posted by inkken
I don't think there are any functions that can touch the mini-map directly with the exception of SetAltMinimapIcon(<string>). However, i have never seen that function in action so i cannot explain how it works.

I have done some testing with it; it didn't do what i thought it should do... switch a minimap file base on the given string.

---
My guess as how zelda accomplish this is using the neutral shop building icon, gold mine icon, circle of power, or any similar to mask the map. In other words, they created (in photoshop) a pure black x by x icon. They then imported the icon and gave it the neutral shop building icon file path.

They likely created a permanent invisible neutral shop.

When a player does not have the desire item, the neutral shop is an ally with vision to the player.
When a player does have the desire item, the neutral shop is an enemy without vision to the player.

Here are the steps to grabbing the neutral shop building icon (and other icon as well):
Using Warcraft 3 viewer or a similar program, locate war3.mpq (it's under your warcraft III program folder). After opening the mpq, locate the file mini-map-neutralbuilding.blp (its under UI/Minimap/mini-map-neutralbuilding.blp).

You might want to try other icon other than neutral shop building icon to get your desire effect.

---
In Blizzard Candy Wars, the pumpkin's eyes is a good example of how this works.

---
Just remember, if they can do it... why can't you?

It's just these crafty, if not ingenious, tricks that modders do to give players the illusion that something is what it really isn't.
It's like my removal patrol system... i really didn't remove patrol... but it appears that way.

Thanks, I'll try that. +rep