DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Title: Mouse System
Version: 1.2.0
PRO version: 1.5.0
Author: DKPlugins
Description: Allows you to change the mouse cursor, activate events by clicking, hovering, etc.

Compatibility:
  • RPG Maker MV: 1.5+
  • RPG Maker MZ: 1.0+
Features:
  • Use a custom cursor.
  • Show icon when hovering over an event.
  • Change cursor when hovering over an event.
  • Activate the event by clicking or hovering the mouse.
  • [PRO] Display a window, text or image when hovering over an event.
  • Change “Destination sprite”. You can change the appearance of the destination sprite (shape, color, animation). In the [PRO] version, you can also use your own image or text.
Instruction:
Use event comments to customize the display on mouse hover.

1. Show icon when hovering over an event*
<hover_icon: iconIndex>
Replace iconIndex with the icon number or synonym (don't forget to customize them!)
Example: <hover_icon: 4>
Example: <hover_icon: talk>
You can also use the eval function to specify the icon using Javascript!
Example: <hover_icon: eval($gameVariables.value(1))>

2. Start an event by clicking on it
<click_activate>

3. Activate an event on mouse hover
<hover_activate>

4. Replace cursor graphics when hovering over an event*
<custom_cursor: filename>
Replace filename with the name of the cursor file from the "img/system/" folder

5. Display image from "img/pictures/" folder*
<hover_image: filename>
Replace filename with the image filename
Example: <hover_image: Actor1_1>
You can also use the eval function to specify the image using Javascript!
Example: <hover_image: eval($gameVariables.value(1))>

6. Display window with text*
<hover_window: [width|height|text]>
width - Window width
height - Window height
text - text
Example: <hover_window: [120|60|\i[2]Text]>
You can also use the eval function to specify the text using Javascript!
Example: <hover_window: [120|60|eval($gameVariables.value(1))]>

7. Display text*
<hover_text: text>
Example: <hover_text: Test>
You can also use the eval function to specify the text using Javascript!
Example: <hover_text: eval($gameVariables.value(1))>

* Note:
Starting from version 1.3.0, it became possible to set conditions for display using Javascript,
which are checked during mouse hover.

Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.
Example: for icon 10, the condition is set that it will be displayed when switch 1 is on:
<hover_icon: 10>
$gameSwitches.value(1)
</hover_icon>

Example: for a window the condition is set that it will be displayed if the variable 1 is greater than 10:
<hover_window: [100|72|Text]>
$gameVariables.value(1) > 10
</hover_window>

Example: for the image, the condition is set that it will be displayed if the variable 1 is equal to 5:
<hover_image: Actor1_2>
$gameVariables.value(1) === 5
</hover_image>

Example: for the text, the condition is set that it will be displayed if switch 1 is on:
<hover_text: Text>
$gameSwitches.value(1)
</hover_text>

You can combine several of these comments to customize different data for different conditions.
If you specify several of these settings, then the very first one that satisfies the condition will be used!

Preview:
mouse-system.gif

mouse-system-120.gif

Hover window [PRO]:
mouse-system-hover-window.gif

Destination sprite (text and image) [PRO]:
mouse-system-120-pro-1.gif

mouse-system-120-pro-2.gif

"Help" languages: English, Russian

Terms of use
You can:
-To use the plugin for your non-commercial projects
-Change code of the plugin

You cannot:
-Delete or change any information about the plugin
-Distribute the plugin and its modifications

Details on obtaining a commercial license on my website

Plugin page:
https://dk-plugins.ru/mouse-system/
 
Last edited:

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
60
Reaction score
18
First Language
Hungarian
Primarily Uses
RMMZ
Absolutely fantastic plugin! One question: would it be possible to assign words to icons? For example if I often use icon 4 for talking, it would be easier to write <hover_icon: talk> insted of <hover_icon: 4> all the time. Thanks!
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Absolutely fantastic plugin! One question: would it be possible to assign words to icons? For example if I often use icon 4 for talking, it would be easier to write <hover_icon: talk> insted of <hover_icon: 4> all the time. Thanks!
An interesting suggestion. I will consider to include this in the next update :)
 

winkr7

Veteran
Veteran
Joined
Oct 27, 2015
Messages
99
Reaction score
31
First Language
english
Primarily Uses
N/A
Can you make it so we can drag and drop an event? If you could trigger an "on drag" common event then the user could return if the event was dragable. If you could trigger an "on drop" common event then the user (ie programmer) could determine if the map location was acceptable as a drop location for the event. Otherwise, good work.

yours
winkr7
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Version 1.1.0

What's new:

  • Added the ability to create synonyms for icons. Now, instead of the icon number, you can write its synonym in the comment <hover_icon: talk>. Thanks @dyoghenes
  • Removed the indent setting for the icon. The icon is now always centered.
  • Added automatic display of the icon when hovering over an event if it has the Transfer Player command. Can be disabled.

Also, PRO version with the following new features is available on my website:
  • [PRO] Added support for <hover_image: filename> comment to display an image from the "img/pictures/" folder when hovering over an event.
  • [PRO] Added support for <hover_window: [width|height|text]> comment to display a window with text when hovering over an event.
  • [PRO] Added support for <hover_text: text> comment to display text on hover over an event. The font size is specified in the plugin parameters.
Hover window [PRO]:
mouse-system-hover-window.gif

First post updated!
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Can you make it so we can drag and drop an event? If you could trigger an "on drag" common event then the user could return if the event was dragable. If you could trigger an "on drop" common event then the user (ie programmer) could determine if the map location was acceptable as a drop location for the event. Otherwise, good work.

yours
winkr7
No such feature is planned for the near future. I'm sorry :(
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,741
Reaction score
2,266
First Language
Dutch
Primarily Uses
RMMV
while it looks really nice and all (no offense), you can use comment <on mouse click: mine>
so a common event can be run or the event itself.

if the mining image is shown like your give, how do you check if he has equiped or has the
the item in a conditional brance? or can it show mining icon with a red cross if he cant mine (yet)
or a different way?

as well, for checking tiles, like you can hover and talk on distance, but within x range?
else, you are to far away around direction, would this be possible curently?
 

thedx619

Warper
Member
Joined
Nov 12, 2020
Messages
2
Reaction score
0
First Language
china
Primarily Uses
RMMZ
Hello, I am very honored to download your plug-in. But I haven't figured out how to customize iconinde. Do you want to write a script?

I don't know how to write scripts. Can you tell me how to use your plug-in clearly? Thank you very much!
 

dyoghenes

Veteran
Veteran
Joined
Jul 14, 2014
Messages
60
Reaction score
18
First Language
Hungarian
Primarily Uses
RMMZ
Hi! This plugin is still a must have, but recents updates broke it in a way. Now the custom cursor freezes in place when a choice box appears. Could this be fixed?
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Hello, I am very honored to download your plug-in. But I haven't figured out how to customize iconinde. Do you want to write a script?

I don't know how to write scripts. Can you tell me how to use your plug-in clearly? Thank you very much!
I updated the first post, added instructions
You don't need to use scripts to use hover icons. You need to use comments in the event
ShooterScreenshot-107-23-12-20.png
Inside the comment write <hover_icon: iconIndex>
and replace iconIndex with the icon number
Example: <hover_icon: 4>



Hi! This plugin is still a must have, but recents updates broke it in a way. Now the custom cursor freezes in place when a choice box appears. Could this be fixed?
I'll see what i can do
 

thenerdmansion

Graphic Design/Complex Eventer
Veteran
Joined
Jan 5, 2015
Messages
301
Reaction score
108
First Language
Spanish
Primarily Uses
N/A
Just what I was looking for! You’re a hero
 
  • Like
Reactions: DK

LittleLynx

Villager
Member
Joined
May 14, 2017
Messages
7
Reaction score
7
First Language
german
Primarily Uses
RMMV
Hi!
First of all, thank you so much for making this plugin! :3

However, I get the following error message. (see picture)
What exactly could be the reason for this?
 

Attachments

  • unknown2.png
    unknown2.png
    61.7 KB · Views: 2
Last edited:

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Version 1.2.0
  • Added new setting "Destination sprite". Now you can change the appearance of the destination sprite (shape, color, animation). In the PRO version, you can also use your own image or text.
mouse-system-120.gif

mouse-system-120-pro-1.gif

mouse-system-120-pro-2.gif

Hi!
First of all, thank you so much for making this plugin! :3

However, I get the following error message. (see picture)
What exactly could be the reason for this?
Try a new version. Should be ok.
 

LittleLynx

Villager
Member
Joined
May 14, 2017
Messages
7
Reaction score
7
First Language
german
Primarily Uses
RMMV
Wow thank you! OwO
Works fine now. ^v^
 
  • Like
Reactions: DK

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Version 1.4.0 [PRO]
Became possible to set conditions for display text, images using Javascript, which are checked during mouse hover.

Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.

Example: for the image, the condition is set that it will be displayed if the variable 1 is equal to 5:
<hover_image: Actor1_2>
$gameVariables.value(1) === 5
</hover_image>

Example: for the text, the condition is set that it will be displayed if switch 1 is on:
<hover_text: Text>
$gameSwitches.value(1)
</hover_text>


You can combine several of these comments to customize different data for different conditions.

If you specify several of these settings, then the very first one that satisfies the condition will be used!

Version 1.3.0 [PRO]
Became possible to set conditions for display using Javascript, which are checked during mouse hover.

Use an end tag to tell the plugin to check for a condition, which is written between 2 tags.

Example: for icon 10, the condition is set that it will be displayed when switch 1 is on:
<hover_icon: 10>
$gameSwitches.value(1)
</hover_icon>

Example: for a window the condition is set that it will be displayed if the variable 1 is greater than 10:
<hover_window: [100|72|Text]>
$gameVariables.value(1) > 10
</hover_window>
You can combine several of these comments to customize different data for different conditions.

If you specify several of these settings, then the very first one that satisfies the condition will be used!

while it looks really nice and all (no offense), you can use comment <on mouse click: mine>
so a common event can be run or the event itself.

if the mining image is shown like your give, how do you check if he has equiped or has the
the item in a conditional brance? or can it show mining icon with a red cross if he cant mine (yet)
or a different way?

as well, for checking tiles, like you can hover and talk on distance, but within x range?
else, you are to far away around direction, would this be possible curently?
If you're still interested, the pro version adds the ability to specify conditions using Javascript to display icons, text, images or windows.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,741
Reaction score
2,266
First Language
Dutch
Primarily Uses
RMMV
@DK for me, it's hard to get the plugin for pro version, but to clarify,
you can add multiple hover icon?

<hover_icon: 2>
$gameSwitches.value(2) = true;
</hover_icon>
<hover_icon: 4>
$gameSwitches.value(2) = false;
</hover_icon>

(conditional or text here)

and it should work?

currently, my project(s) is onhold during other things, but it looks nice
though, specially with more things available.

but if times allows it and I can make use of it, than I find a way to buy it.
otherwise, keep up the nice work though =)
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
@DK for me, it's hard to get the plugin for pro version, but to clarify,
you can add multiple hover icon?

<hover_icon: 2>
$gameSwitches.value(2) = true;
</hover_icon>
<hover_icon: 4>
$gameSwitches.value(2) = false;
</hover_icon>

(conditional or text here)

and it should work?

currently, my project(s) is onhold during other things, but it looks nice
though, specially with more things available.

but if times allows it and I can make use of it, than I find a way to buy it.
otherwise, keep up the nice work though =)
Yes, you can use multiple tags and the first will be used, the condition of which is met.
As for the icons, this functionality will be available in the public version of the plugin in the next update. Pro version is needed for text, pictures or windows.
 

BK-tdm

Manga Maker
Veteran
Joined
Jun 21, 2018
Messages
407
Reaction score
1,260
First Language
English
Primarily Uses
RMMV
Is there a way to limit the range of the click? i want to open doors while the character is next to/facing them not halfway across the map, unless i missed something in the notetags :kaoswt2:
 

DK

Veteran
Veteran
Joined
Mar 30, 2016
Messages
363
Reaction score
361
First Language
Russian
Primarily Uses
RMMV
Is there a way to limit the range of the click? i want to open doors while the character is next to/facing them not halfway across the map, unless i missed something in the notetags :kaoswt2:
There is currently no built-in functionality for specifying range.
The following solutions are possible:
1. Use the PRO version of the plugin, which has the ability to specify conditions using Javascript for notes. In this case, you will have to write a condition yourself to calculate the distance between the player and the event.
2. Use a plugin that includes a local switch when the player is within the radius of the event and specify the required notes on the desired page.
Example:
or
or analogues
 

Latest Threads

Latest Profile Posts

Happy treason day, Colonial friends <3

I am officially amused. One of the NPCs in my project is basically meant as the guy you check in with to point you where you should go next, including if you’ve been away for a bit and have forgotten.

I can conclusively say he does his job nicely. I was out of town over the weekend. I had forgotten what I was working on, so I checked what I had last done with him for a reminder. ^.^
While talking about anime with a friend got the idea of doing this. :kaopride:
4m6nhlF.jpg

Character: Mirajane Strauss from Fairy Tail.
Dog saliva is an antiseptic.
NghNgE9.gif

Forum statistics

Threads
123,333
Messages
1,155,840
Members
161,755
Latest member
shirouinazuki
Top