DMV Map Buttons

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ

DMV Map Buttons


By Dekita


 


Introduction:


This plugin creates upto 25 map buttons that can be used to run almost any code you desire. By default, 7 of these buttons trigger the main menu scenes, and the others are left unused to allow for expansion with custom plugins that create a new scene.


Each button consists of two states - hot, and cold. Cold state means that the button is not being pressed, hot means that it is. Each state also has its own image, in this case, an icon. This means that each map button is designated two icon id's, one for hot, and one for cold.


Screenshots:





Plugin:


Link


FAQ:


None yet


Credits:


Dekita / DekitaRPG
 
Last edited by a moderator:

Silent Darkness

Robomage
Veteran
Joined
Nov 28, 2013
Messages
2,283
Reaction score
324
First Language
English
Map...menu buttons? I don't quite understand what this plugin does.
 

Halrawk

Veteran
Veteran
Joined
Dec 14, 2012
Messages
97
Reaction score
24
First Language
English
Primarily Uses
It's like a hotbar, so you can click the icon and open certain menus, or scenes. Instead of having to open the main menu to get to everything else.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
It creates buttons on the map scene that trigger the game menu options, such as status, items, custom code... :)
 

Silent Darkness

Robomage
Veteran
Joined
Nov 28, 2013
Messages
2,283
Reaction score
324
First Language
English
...............I'm having a little bit of trouble figuring this one out. Could you make a demo, please?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
All you have to do is put the plugin in the project, make sure its loaded up and switched on, and hit play... I really dont see how a demo could help. :)
 

JosephSeraph

White Mage
Restaff
Joined
Mar 7, 2014
Messages
1,189
Reaction score
1,451
First Language
Portuguese
Oh yesssssss!!! Great! This is berry berry good! :D

Thank you.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
you seem berry appreciative, so you are welcome ^_^
 

Halrawk

Veteran
Veteran
Joined
Dec 14, 2012
Messages
97
Reaction score
24
First Language
English
Primarily Uses
This requires MVCommons and your DMV_Core, correct?

Edit: Without those 2 scripts the icons don't show, I'm guessing that's where Silent Darkness' confusion is coming from.
 
Last edited by a moderator:

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
As long as the MVCommons, DMV Core, and this plugin are in your game (in that order), and switched on, this plugin will create 'buttons' on the game map that can be clicked via mouse or touchpad (on mobiles). When the buttons are clicked, they will run some custom code - by default, the code opens the regular menu scenes.

Sorry, but i am way to busy atm to make up a demo. I probably will be doing that sometime in the future though. :)
 

Prescott

argggghhh
Veteran
Joined
Aug 28, 2014
Messages
507
Reaction score
426
First Language
English
Primarily Uses
RMMV
Seems very good for mobile/touch users, will definitely use this when exporting to those interfaces :) thanks dektia!
 

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,535
Reaction score
1,179
First Language
English
Primarily Uses
N/A
Sorry to be annoying, but do you happen to know a way to a button call a common event? (IE. I'm trying to work on a party chat feature.)
 
Last edited by a moderator:

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
I havent checked the Game_Temp default class yet, but I suspect is would be something like;

$gameTemp.reserveCommonEvent( ID );- also link...
 

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,535
Reaction score
1,179
First Language
English
Primarily Uses
N/A
Sorry to bother you again but I've done everything you've said and I still don't see the icons. What plugins are you aware of that stop this from working?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
Just got a friend to try it out on his end, here is what he done:

First, included the three plugins..



Then he hit play, and went onto the map, aannnndddd...



Voila!

If you still need more help, I have just uploaded a plugins.js file to my github. You can install the plugins.js file in place of the one in the project already and it will run fine - providing you also have MVCommons along with ALL my other plugins. <link>
 

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,535
Reaction score
1,179
First Language
English
Primarily Uses
N/A
Got it up, but I still haven't been able to call the common event. At least I found a use beyond the main menu.
 

Logan C.

Veteran
Veteran
Joined
Oct 25, 2015
Messages
73
Reaction score
20
First Language
English
Pretty neat plugin! Is there a way to hide/reveal specific icons during gameplay? Or it's permanent?
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,548
Reaction score
3,297
First Language
Binary
Primarily Uses
RMMZ
Ok, I just tested with button nine, and common events work fine.

For the button funk, use:

$gameTemp.reserveCommonEvent(1)And make sure the button has x and y co-ordinates other than the default -1, and that it has hot and cold icons setup too. (the button data setting)
 

BloodletterQ

Chaotic Neutral Assassin
Veteran
Joined
Aug 15, 2012
Messages
1,535
Reaction score
1,179
First Language
English
Primarily Uses
N/A
Got it working almost for the party chat. The only problem I have at the moment right now is that if I press the same icon twice, the dialogue comes up again the moment I hit the confirm key.
 

Latest Threads

Latest Posts

Latest Profile Posts

I finally got the ships and water to flow like I wanted to~ the canals are a success. Now to loop the animation for the kites. So many kites.
Bendyizzt wrote on staggqueen's profile.
Hello Newcomer...
I haven't make anything new yet, but I'm back addicted to writing some MZ plugins. Man, I wish I have more free time like I did 5 years ago.
Holy cow... work is demanding and I'm back in college. I'm kind of scared of my dad right now after the incident, but at least I don't live with him all the time. Anyway, working on Fandom Scouts and my FNAF character set. The FNAF sprites are actually going to be used in the game... unfortunately the enemy sprites are FNAF World traces, so no sharing those.

Forum statistics

Threads
107,691
Messages
1,031,477
Members
139,814
Latest member
af2390
Top