KingHazeel

Veteran
Veteran
Joined
Jul 5, 2018
Messages
125
Reaction score
5
First Language
English
Primarily Uses
RMVXA
Here's a couple of links I found for his Master Demo if anyone needs help finding it:

http://www.mediafire.com/file/hbd8yrme95495bu/Napoleons_Master_Demo.zip/file
https://mega.nz/#!PctVjAwb!2sUL3px0CSQRIEfajYTbcv34ZTf8soWVnkMZwry5XSg

Basically this issue occurs whenever the minimap is turned off, either by script call or switch. This is the minimap while on:

https://i.imgur.com/XFq17ID.png

And turning it off initially has no issues:

https://i.imgur.com/hdlGNFh.png

However, if you pause at any point after turning the minimap off, the map will remain hidden, but your cursor sprite will pop back up:

https://i.imgur.com/SIRsxu5.png

Does anyone know what might be causing this or how it can be fixed?
 

Roninator2

Gamer
Veteran
Joined
May 22, 2016
Messages
3,141
Reaction score
709
First Language
English
Primarily Uses
RMVXA
I don't how you have it configured in your game. I use the same script and using the @minimap.enabled = true
works and setting a switch works.
 

GGZiron

Veteran
Veteran
Joined
Nov 6, 2016
Messages
94
Reaction score
41
First Language
Bulgarian
Primarily Uses
RMVXA
Try with this snippet:
Code:
#Napoleon Minimap Player_Sprite fix.
#Place Under Napoleon Minimap Scripts.

module Nap
# ======================================================================
#                           Options
# ======================================================================
  RESET_CURSOR_LOCATION = false
  # For what I seen, it works better with that disabled, so the player in
  # minimap doesn't go center first, then real location, but directly to real
  # location. Still, you can set it to true, so it would work as in original
  # Minimap Script.
 
# =========================== End of Options ===========================

  class Minimap
 
    alias_method :refresh_old34, :refresh
    alias_method :reset_cursor_location_old34, :reset_cursor_location
   
    def refresh
      refresh_old34
      @player_sprite.visible = @enabled
    end
   
    #Overwrite method
    def reset_cursor_location
      reset_cursor_location_old34 if RESET_CURSOR_LOCATION
    end

  end

end
You have to put it bellow Napoleon Minimap Scripts, recomended with no other scripts in between.
Also I disable one method from the original script that first center the player on minimap, then put it on
the original position. If that cause problems, just set the value of the option I give to true.

Would like to know if it works for you, if you test it.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

When there's a will, there's a lifehack. :ninja:

Before i mess with battle UI further, does it look decent enough? :hswt:
Free MZ? That's good. I should go try it out then.
Let's see if I can make it in time xD
Knipsel.PNG

Forum statistics

Threads
112,521
Messages
1,068,884
Members
146,198
Latest member
dariuspdf
Top