SC2Mapster Forums

Development > Triggers

Map Analyzer - Looking for Help

  • 2 posts
    #1 Feb 09, 2013 at 12:01 UTC - 0 likes

    I have, for the last week or so, been working on a map analyzer specifically for melee mapmaking. The previous analyzer by dimfish is no longer supported, so I decided to create an analyzer myself. I have already come a long way with the analyzer, but am looking for help with some logic. One obstacle that I have hit, is how to detect the natural expansion (the one closest to the main) so that I can return the distance between those. More specifically, I want to get the point where you would place your CC, not the nodes. If anyone has any ideas how to approach this, it is very much appreciated. If you have questions about the analyzer and its functionality, go ahead and ask. Note that my analyzer, unlike the previous one, is done in the editor and not outside the game.

    Here's a screenshot of the current version: EMMA - Extended Melee Map Analyzer

    Last edited Feb 09, 2013 by ScorpSCII
    #2 Feb 09, 2013 at 16:55 UTC - 0 likes

    Of course you can check of course what the next closet batch of mins is. As far as the base location i think you should just use what we know about the footprint with the base buildings having a footprint of 4 or basically a radius of 2. Mins surrounding the base tend to leave a sharp square corner for the base to set. You kinda need something that can use the curve of the min patches to find the center of the circle that the patches would complete; maybe using something like finding an averge by comparing the third point of a isosceles triangle based off of every possible pair of mins and using the distance/radius of the estimated closest distance the center of the base can be to mins with regards to the footprint. Maybe even use the gases as they tend more to be perpendicular to the center of the base if they're side by side gases or other if they're on either side of the base they are almost put the base smack dab in the center between them

    Last edited Feb 09, 2013 by hobbidude

    When I want your opinion...I'll give it to you!

    http://www.sc2pod.com/achievement.php?id=13361

  • 2 posts

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