DMV Map Buttons

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV

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,284
Reaction score
322
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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,284
Reaction score
322
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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
900
Reaction score
768
First Language
Portuguese
Oh yesssssss!!! Great! This is berry berry good! :D

Thank you.
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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
470
Reaction score
364
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,466
Reaction score
1,067
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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,466
Reaction score
1,067
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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,466
Reaction score
1,067
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,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
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,466
Reaction score
1,067
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: 1)

Latest Threads

Latest Profile Posts

buinguyenhoangtho wrote on fizzly's profile.
Hello @fizzly, i would like to use your asset/ resource for my project ( is maybe commercial ). May i have your permission? Thanks you !
I have 470+ hours on RMMV but have only made a demo game, is this normal? :kaoswt: (I lose motivation a lot plus I use a 32gb laptop, so..)
I like Iron Maiden.
Benku wrote on Magnus0808's profile.
Hey man you helped me out a long time ago with a plugin i was wondering if you can help me out one more time since its literally the last thing i need help with if not is cool but id figured id ask you one more soild.
Stream will be live shortly with a guest stream! Tonight, a new guest joins~ Feel free to drop by!

Forum statistics

Threads
95,425
Messages
929,070
Members
125,660
Latest member
AphoticAmaranth
Top