SC2Mapster Forums

Development > Miscellaneous Development

Manipulating Minimap Size in-game

  • 5 posts
    #1 Nov 11, 2012 at 20:26 UTC - 0 likes

    Hey all,
    Is it possible to manipulate the minimap so that it could be viewed at a larger size? and then shrink back down?
    Or create a second minimap that does this?

    Much appreciated

    Looking for a data editor for a tactical shooter. PM for application.

    #2 Nov 12, 2012 at 07:06 UTC - 0 likes

    You could always make a second minimap via dialogs.

    If you have tons of units on your minimap it maaay lag since you would be moving tons of images around on your dialog box.

    The idea is to make your dialog minimap a ratio of the size of the map... You would take the X,Y positions of units on the terrain and get a relative X,Y position on the dialog, then show an image for that unit.

    #3 Nov 12, 2012 at 08:06 UTC - 0 likes

    Yes, here...

    Problem is that you can be trapped in the minimap with the middle mouse button as long as it is in the middle of the screen.

    edit:
    But that bug doesn't appear on HotS.

    Last edited Nov 12, 2012 by Ahli634
    Name Size MD5
    resizeAbleMinimap.SC2Map 10.7 KiB a645591dc425...

    http://img42.imageshack.us/img42/7586/signaturemj.jpg

    #4 Nov 12, 2012 at 17:04 UTC - 0 likes

    Wow Ahli, that's wild. I've never even seen that function.

    Can you manipulate the interface with that function in the same way that you can with .SC2Layout files?

    #5 Nov 12, 2012 at 21:24 UTC - 0 likes

    @Stealthsam: Go Not in the same way. You can do everything you can do to normal dialog items: Move, resize, create new dialog items on them, hiding, showing... per player.

    If you want to read out some data of the hooked dialog item, you need to set it first. For example, the width and height can't be read unless you set it in triggers. Without setting it, it could be different for every player which would desync the game.

    This function has been added in patch 1.5.

    Last edited Nov 12, 2012 by Ahli634
  • 5 posts

You must login to post a comment. Don't have an account? Register to get one!