DMV Map Buttons

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,466
Reaction score
3,030
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
323
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,466
Reaction score
3,030
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
323
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,466
Reaction score
3,030
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,185
Reaction score
1,439
First Language
Portuguese
Oh yesssssss!!! Great! This is berry berry good! :D

Thank you.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,466
Reaction score
3,030
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,466
Reaction score
3,030
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
506
Reaction score
421
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,526
Reaction score
1,168
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,466
Reaction score
3,030
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,526
Reaction score
1,168
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,466
Reaction score
3,030
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,526
Reaction score
1,168
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,466
Reaction score
3,030
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,526
Reaction score
1,168
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 2)

Latest Threads

Latest Posts

Latest Profile Posts

The Ace attorney series are so great games... But at the same time such a travesty.
Made a video showcasing a plugin (by Lanza) that adds 5 more weather effects to our MV games. :LZYsmile: Namely:
Ash-dust,
bloodrain,
Cherry Blossom Petals,
Hail,
and bubbles.

I just like this website:
lol

Forum statistics

Threads
103,238
Messages
998,294
Members
134,728
Latest member
ripleydx
Top