rabbitMap - A minimap plugin for MZ (and MV) (Discontinued)

● ARCHIVED · READ-ONLY
Started by poorrabbit 97 posts Page 2 of 5 View original ↗
  1. poorrabbit said:
    Oh wow. That is in fact a bug in both versions. I'll get a fix for that in this weekend.

    As for the other...I'm thinking of tweaking the if statement that you commented out in testing:
    code
    JavaScript:
    Spriteset_Base.prototype.createSceneMapPictures = function() {
        var width = Graphics.boxWidth;
        var height = Graphics.boxHeight;
        var x = (Graphics.width - width) / 2;
        var y = (Graphics.height - height) / 2;
        this._pictureContainer = new Sprite();
        this._pictureContainer.setFrame(x, y, width, height);
        for (var i = 1; i <= $gameScreen.maxPictures(); i++) {    //<---Line 3540
          var picture = new Sprite_Picture(i);
          if (picture.isRelatedPictureCommonEvent() && i > 92 && i < 89) {   //try this?
            SceneManager._scene.addPictureCommonEvent(picture);
          } else {
            this._pictureContainer.addChild(picture);
          }
        }
        this.addChild(this._pictureContainer);
    };
    try changing the line where I mark "try this?"

    This should basically take the four images used in the minimap out of consideration for yanfly.

    Let me know if that works and I'll check back in tomorrow.
    IT WORKED! Thank you so much for this, I am definitely going to implement this into my project immediately! I had been recently wanting a minimap and was looking for a round one like this, I am so grateful that I found this when I did and that you were able to help me figure this out. Thanks again!
  2. xDRAGOONx said:
    IT WORKED! Thank you so much for this, I am definitely going to implement this into my project immediately! I had been recently wanting a minimap and was looking for a round one like this, I am so grateful that I found this when I did and that you were able to help me figure this out. Thanks again!

    I'm really glad that worked out for you. Remember to update the conditional if you update the plugin or change the PictureIDs for your minimap images.

    Also, thanks for finding the bug with the map enable switch, so new version:

    1.04 Fix for situation when map is turned off and then back on without moving to another map.
  3. Wow I had to donate! you even get a bonus movement plugin!! Really clean work!
  4. RicachetX said:
    Wow I had to donate! you even get a bonus movement plugin!! Really clean work!

    Hey, thanks a bundle, RicachetX. Please be advised, that the OcRam movement plugin (while totally awesome. In fact their plugins are ALL awesome) does have different terms of use than rabbitMap when it comes to commerical.
  5. poorrabbit said:
    Hey, thanks a bundle, RicachetX. Please be advised, that the OcRam movement plugin (while totally awesome. In fact their plugins are ALL awesome) does have different terms of use than rabbitMap when it comes to commerical.
    Understood!
  6. FYI, there's a conflict with SRDude's Camera Core. I placed your plugin before and then after his, and it works in neither scenario. No error message, just nothing happens, like it's not turned on. It may also have a conflict with SRDude's Smooth Camera, but I can't tell because Smooth Camera requires Camera Core.

    Oh, and VERY cool plugin!

    EDIT: I should have mentioned, I'm referring to the MV version.
  7. JDevain said:
    FYI, there's a conflict with SRDude's Camera Core. I placed your plugin before and then after his, and it works in neither scenario. No error message, just nothing happens, like it's not turned on. It may also have a conflict with SRDude's Smooth Camera, but I can't tell because Smooth Camera requires Camera Core.

    Oh, and VERY cool plugin!

    EDIT: I should have mentioned, I'm referring to the MV version.
    Hey JDevain - Thanks for the report.

    Have you verified that you've got it working without SREDude's camera core?

    I'll take a look at the issue later this week when I have time.
  8. poorrabbit said:
    Have you verified that you've got it working without SREDude's camera core?
    Yes, it works perfectly without SRDude's Camera Core.
  9. Thanks, I'll definitely take a look, though I might not be able to before the weekend.

    Can you link the version of SRDudes Camera Core that you're using?

    One thing I've noticed is that some plugins break it (or they break) due to messing about with max pictureIDs. One thing to try would be to set the pictureIDs for the minimap so that they're all below 100, but make sure they're in the same order.

    In any case, I'll definitely take a look.
  10. @poorrabbit
    The SRD plugin is here.

    As for the maxPictureID thing, I tried it, and it's a little complicated. I set the IDs to under 100, and the behavior definitely changed. Now I'm getting a solid black circle, but the actual map image is "below" it. Here's a screenshot if that helps:

    forumuhdsfbvsahj.jpg

    Also, once this image is drawn, it doesn't then update when I move around. It's a static, unchanging image.
  11. Can you post a screen cap of your plugin config for rabbitmap?
  12. Ok - you've got your picture IDs in the wrong order. They need to be increasing in order, as the pictureID determines which piece is "on top". Higher IDs are above lower IDs.

    So, instead of 99,98,97,96 they should be in the opposite order:

    MapBackgroundPictureID: 96
    MinMapPictureID: 97
    MapMaskPictureID: 97
    PLayDotPictureID: 99

    That should get everything displaying correctly.
  13. Not so fast, rabbit (haha). Here's what I have:

    rabbitscreenie98564.jpg

    Looks like the wrong image is on top. I'll play around with the order a bit.
  14. oh, whoops, there was a typo in my list. It should be:
    MapBackgroundPictureID: 96
    MinMapPictureID: 97
    MapMaskPictureID: 98
    PLayDotPictureID: 99
  15. I perceived the typo and adjusted accordingly. Something's still not working.
  16. I took a look at the SRD Camera core real quick, between meetings :), you might try turning off the Zoom Pictures Created by ShowPicture option in that plugin.

    Also, based on the screenshot, the MapMap (the while circle) is below the MiniMapPicture.
    It should be above it. All your IDs are in ascending order?
  17. rabbit78987833.jpg

    The good news: The Zoom Pictures thing worked.
    The bad news: There's now a problem with Yanfly's Picture Common Events.

    I'm going to bed now, but I'm happy to pick this back up tomorrow.
  18. Yes, there is a known issue with YEP Picture common events. Most plugins that mess with how pictures are displayed will have some sort of issue with rabbitMap.

    I helped someone else fix it here:
    rabbitMap - A minimap plugin for MZ (and MV) (Discontinued)
    Basically you need to open up the YEP plugin, find the lines mentioned and update the line
    where i note "try this". In your case the numbers would be 99 and 96 instead of 92 and 89. As in < 99 and > 96.
  19. This looks really good. Will this work with Olivia’s Proximity Compass?