castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
A straight forward, optimized minimap plugin for RPG Maker MV and MZ, made during development of Knight of the Celestial.

Features:
-Full collision map, adaptable even to randomized terrain.
-Default color control of the background, collision map, player, and border.
-Configurable minimap size, automatically scales any map icons, as well as the minimap to fit the chosen size in pixels, whether its too big or too small.
-Commands to change colors and size during the game.
-Setting icons on events through their notes referencing pictures in the pictures folder.
-Player location and current directional facing..




New features added! This was taken on the advanced version, but to be clear the features work the same way in this version, minus the fog of war and map images!

Instructions for usage:
1- Download and extract straight into your RPG Maker Project folder.

2-Add to the active plugins list of your project, set its parameters as you wish.

If all you need is a collision map, then you are done, otherwise read on.

3-If you wish to show particular events on the minimap, you make a picture of their icon as you wish to show it on the minimap, 32x32 is a good minimum size, and this picture must be in the img/pictures folder.

4-Then you go to the notes of the event or events you wish to be visible on the map and you type:

<KoTC Minimap: PictureNameHere>

Example: <KoTC Minimap: Goblin>

It is case sensitive, use no spaces in your picture name for usage. Like if your picture were named Deadly Dwarf.png, you would rename it to DeadlyDwarf.png, and type in the note of your event:
<KoTC Minimap: DeadlyDwarf>

The script will pick it up automatically and show it on the minimap, scaling its size up or down depending on how big the map is.



Plugin Commands and Script Calls:


* Plugin Command: DisableKoTCMinimap
* Script Call: .KoTCMinimapOff();
*
* -Disables the minimap.
*
*
* Plugin Command: EnableKoTCMinimap
* Script Call: KoTCMinimapOn();
*
* -Enables the minimap.
*
*
* Plugin Command: SetKoTCMinimapWallColor
* Script Call: KoTCMinimapSetWallColor(wallcolor)
*
* -Sets the collision map color of the minimap.
*
* Example Plugin Command: SetKoTCMinimapWallColor red
* Example Plugin Command: SetKoTCMinimapWallColor blue
* Example Plugin Command: SetKoTCMinimapWallColor #FF0000
* Example Script Call: KoTCMinimapSetWallColor("green")
*
*
* Plugin Command: SetKoTCMinimapBackgroundColor
* Script Call: KoTCMinimapSetBackgroundColor(backgroundcolor)
*
* -Sets the background color of the minimap.
*
* Example Plugin Command: SetKoTCMinimapBackgroundColor red
* Example Plugin Command: SetKoTCMinimapBackgroundColor blue
* Example Plugin Command: SetKoTCMinimapBackgroundColor #FF0000
* Example Script Call: KoTCMinimapSetBackgroundColor("yellow")
*
*
* Plugin Command: SetKoTCMinimapBorderColor
* Script Call: KoTCMinimapSetBorderColor(bordercolor)
*
* -Sets the border color of the minimap.
*
* Example Plugin Command: SetKoTCMinimapBorderColor red
* Example Plugin Command: SetKoTCMinimapBorderColor blue
* Example Plugin Command: SetKoTCMinimapBorderColor #FF0000
* Example Script Call: KoTCMinimapSetBorderColor("cyan")
*
*
* Plugin Command: SetKoTCMinimapPlayerColor
* Script Call: KoTCMinimapSetPlayerColor(bordercolor)
*
* !Important! If you ever change the color of other things at the same time
* as this, make sure this plugin command is first in the order.
* -Sets the player color of the minimap.
*
* Example Plugin Command: SetKoTCMinimapPlayerColor red
* Example Plugin Command: SetKoTCMinimapPlayerColor blue
* Example Plugin Command: SetKoTCMinimapPlayerColor #FF0000
* Example Script Call: KoTCMinimapSetPlayerColor("cyan")
*
*


Plugin Command: SetKoTCMinimapSize
Script Call: KoTCMinimapSetSize(size)

-Sets the size of the minimap. 2 = double the set pixel size.





Terms of Usage:
Free to use for commercial and non commercial use as long as you credit me. If you were to make a game commercially with my script id appreciate it if you messaged me about it. If you are to post this plugin anywhere else, make sure you are linking back to this thread so that others may get the latest update.

Change Log:
V 1.7 Fixed many bugs.
V 1.6 Added Major New Features
V 1.45 Fixed battle issue.
V 1.42 Fixed more minor issues, made more optimizations.
V1.4 Fixed some MZ Issues
V 1.3 Added the ability to use the default system border for the minimap.
V1.2 Made some optimizations, allowed custom coloring of the player indicator, fixed some strange issues, fixed icons being too small on a very large map.
V1.1 Allowed events locations to update if they are moving, and added full plugin command support for RPG Maker MZ
V1: Released



If there are any suggestions, make a comment, I actively check them.Screenshot1.jpg
Weave your way through complicated areas with the help of a birds eye view.Screenshot2.jpg
Choose which pictures you want to show on the minimap, on the events notes you which them to be visible on.
MV3D compatable.
Screenshot3.jpg
Twisty turny cave? No problem!
KoTC Minimap Screenshot.jpg

Download Here:
KoTC Optimized Autoscaling Minimap MV/MZ
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
45,538
Reaction score
16,434
First Language
English
Primarily Uses
RMMV
Can you please add terms of use?

How do you want to be credited?
Can this be shared with others / posted on other sites, or do you want it linked back here?

Please add some explanations on how to use, rather than just a demo.
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
Can you please add terms of use?

How do you want to be credited?
Can this be shared with others / posted on other sites, or do you want it linked back here?

Please add some explanations on how to use, rather than just a demo.
I appreciate your suggestion Shaz, I have updated the original post.
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
V1.2 Made some optimizations, allowed custom coloring of the player indicator, fixed some strange issues, fixed icons being too small on a very large map.
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
V 1.45 Fixed battle issue.

V 1.42 Fixed more minor issues, made more optimizations.


V1.4 Fixed some MZ Issues


V 1.3 Added the ability to use the default system border for the minimap.
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
V1.52 Fixed X Y positioning and other minor issues
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
1.531 Optimizations
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
1.532 Fixed more bugs for those who found them.
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hi I love the minimap! V1.542

I am wondering if anyone else is getting crashed after running the disable command?
Crash occurs after I go to my menu and have DisableKoTCMinimap on plugin command with set trigger to parallel. I have tried turning off all my plugins with no changes.
TypeError
Cannot read property 'ImageDataStorage' of undefined

Besides the crash from disable I really enjoy this minimap it is 1 of the few things I been missing!
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
Hi I love the minimap! V1.542

I am wondering if anyone else is getting crashed after running the disable command?
Crash occurs after I go to my menu and have DisableKoTCMinimap on plugin command with set trigger to parallel. I have tried turning off all my plugins with no changes.
TypeError
Cannot read property 'ImageDataStorage' of undefined

Besides the crash from disable I really enjoy this minimap it is 1 of the few things I been missing!
Hey there! Im glad you are enjoying the minimap.

About the disable minimap issue, the command automatically occurs when the menu is opened so its likely being called twice if you are activating it on menu opening, but if im wrong do give me more details and ill root it out :)
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
I created a new mv project and I added in the plugin to it like normal (picture to picture folder js to js folder). Next I created a new event with plugin command for disable on it and made the event parallel.
With this vanilla project and your plugin turned on it still crashes if I view the menu(right clicking). The error code is same as last post.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,254
Reaction score
2,873
First Language
Dutch
Primarily Uses
RMMV
@NihilFox a parallel runs 60 frames a second, do you have a erase event or
an auto run event with erase event?

because if it calls 60 frames, it mass stack the disable command :p
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
@NihilFox a parallel runs 60 frames a second, do you have a erase event or
an auto run event with erase event?

because if it calls 60 frames, it mass stack the disable command :p
It was doing it even in a clean project with only that plugin and the defaults on. game runs fine if I don't use the disable command. Also tried using with player touch etc but those don't work with the disable and do nothing keeping the minimap still on.
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
This is the new project with the minimap disable setup that is crashing. Nothing but the minimap and default plugins enabled. Still crashes even if I remove the defaults.
 

Attachments

  • NewProjectAndMiniMap.png
    NewProjectAndMiniMap.png
    151.9 KB · Views: 11

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,254
Reaction score
2,873
First Language
Dutch
Primarily Uses
RMMV
try with erase event on bottom or a self switch, and see if that works,
if results stays the same, @castiger might know the cause.
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
try with erase event on bottom or a self switch, and see if that works,
if results stays the same, @castiger might know the cause.
Still crashing when I try opening menu even with the erase event on bottom.
 

Attachments

  • crashwitheraseeventbottom.png
    crashwitheraseeventbottom.png
    327.4 KB · Views: 6

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
7,254
Reaction score
2,873
First Language
Dutch
Primarily Uses
RMMV
get the consoleLog error, because that is more helpfull for him on what line :)
 

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
What is the key to display this? Thank you.
Found it.


rpg_managers.js:1949 TypeError: Cannot read property 'ImageDataStorage' of undefined
at Scene_Map.callMenu (KoTC Advanced Minimap.js:1771)
at Scene_Map.updateCallMenu (rpg_scenes.js:779)
at Scene_Map.updateScene (rpg_scenes.js:719)
at Scene_Map.update (rpg_scenes.js:591)
at Function.SceneManager.updateScene (rpg_managers.js:2024)
at Function.SceneManager.updateMain (rpg_managers.js:1983)
at Function.SceneManager.update (rpg_managers.js:1907)


-------------------------------------------------------------------------------
My actual projects info.


rpg_managers.js:1722 TypeError: Cannot read property 'ImageDataStorage' of undefined
at Scene_Map.callMenu (KoTC Advanced Minimap.js:1771)
at Scene_Map.updateCallMenu (rpg_scenes.js:576)
at Scene_Map.updateScene (rpg_scenes.js:516)
at Scene_Map.update (rpg_scenes.js:400)
at Function.SceneManager.updateScene (rpg_managers.js:1788)
at Function.SceneManager.updateMain (rpg_managers.js:1754)
at Function.SceneManager.update (rpg_managers.js:1680)
 
Last edited:

NihilFox

Villager
Member
Joined
Nov 18, 2021
Messages
12
Reaction score
2
First Language
English
Primarily Uses
RMMV
Hey there! Im glad you are enjoying the minimap.

About the disable minimap issue, the command automatically occurs when the menu is opened so its likely being called twice if you are activating it on menu opening, but if im wrong do give me more details and ill root it out :)
Found out if I set map book to false it stops crashing. So something is wrong with the map book system ?
 

castiger

Veteran
Veteran
Joined
May 4, 2020
Messages
58
Reaction score
64
First Language
english
Primarily Uses
RMMV
Hello again! I have read over all your information, i didn't know you were using my advanced map originally.

But just so you know I recently updated the advanced minimap, and I fixed the commands if you ever need to turn off the map, excuse the inaccurate documentation, the "KoTCMinimapDisable" command wasnt meant to be used, and I have updated the plugins documentation, its actually:

KoTCMinimapOn()
KoTCMinimapOff()

Which are functional in the last released update :)
 

Latest Threads

Latest Profile Posts

Oof. Literally got a "whose code is this, 'cause it sucks" in one of my projects.
Lunesis has started a trend of doing homages to me by putting a trilobite fossil in your game somewhere and I have to say I love this and encourage everyone who wants to credit me to do it too. XD
Made a plugin that allows you to randomly transmute items into other items weeeeeeee
Rebuilding isn't going terribly so far. I caught some things that I was definitely overcomplicating in the original project. Here's to hoping the plugins play nice when testing starts.
Praise be to the making of the games.

Forum statistics

Threads
129,942
Messages
1,206,469
Members
171,148
Latest member
Pptgames
Top