HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Minimap Help

07-22-2008, 11:16 PM#1
zaysite
ok so ive been trying really hard to get this to work im making an aos style map were you have 3 different parts you have the underground the normal ground and high ground so i split my map into 3 parts and made it so the camera bounds would keep the person from looking into the other sections however i cant figure out how to make the minimap just show the area the camera bounds are in for that player can anyone help? i hope this makes sense
07-23-2008, 08:13 AM#2
Pyrogasm
Well, you have to do some trickery to do that, because if you don't it will always show the whole map in the minimap. You can, however, get around this.

The general gist of what you have to do is this: make 3 separate 256x256 images, each of which has the minimap you'd like to show for each area of your map. Then, you import these three files into your map and set the minimap icon for shops, gold mines, and circle of powers to each be one of the three textures you just imported.

Create 3 units, each with no model, and for which a different one of the three textures will be used (for example, you'd base one unit off of a gold mine, one off of a Goblin Laboratory, and on off of a Circle of Power). Upon map initialization, create 1 each of these units at the coordinates (0, 0), and then in your trigger which detects when a player switches between levels, locally show all three units and then hide the two that are not the proper level.

Got it? XD
07-23-2008, 07:15 PM#3
zaysite
ok i think i understand what you mean i will try
07-26-2008, 01:33 AM#4
PenguinEmperor
Okay, I did this, but instead of overlaying the entire map, it constrains the image back to the tiny icon size for the original icon.
07-27-2008, 01:07 AM#5
PenguinEmperor
*Bump'd*
08-01-2008, 03:23 AM#6
zaysite
ok well as you can tell from the guy above it dosnt work the way you explain it....and im jsut wondering if you have done this and now how or just perhaps if you can explain it any further? because i have gotten the same thing it is just this tiny little picture were the goblin merchant or gold mine is...if you could help it would be much appreciated
08-04-2008, 10:46 PM#7
Pyrogasm
I've never done it. XD

I just guessed as to something that might work, though I vaguely remember a post in which this method was described before to some success.
08-04-2008, 10:48 PM#8
Captain Griffen
According to the GUI those images can be only 16 pixels by 16 pixels.
08-05-2008, 02:20 AM#9
PenguinEmperor
So how do we do it?
08-05-2008, 07:09 AM#10
Alexander244
3 Gold Mines, circle of power and 2 neutral shop icons gives you 6 16x16 icons you can use to represent different things by creating dummy units around the map. On a plain background this can be used to make a fairly decent dynamic minimap.