DK

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
Title: Mouse System
Version: 1.2.1
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

Regular
Regular
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
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!
An interesting suggestion. I will consider to include this in the next update :)
 

winkr7

Regular
Regular
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
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
Regular
Joined
Oct 8, 2018
Messages
8,206
Reaction score
3,453
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

Regular
Regular
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
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!
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
Regular
Joined
Jan 5, 2015
Messages
413
Reaction score
174
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: 4
Last edited:

DK

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
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
Regular
Joined
Oct 8, 2018
Messages
8,206
Reaction score
3,453
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
@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

Waifumancer
Regular
Joined
Jun 21, 2018
Messages
543
Reaction score
1,668
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

Regular
Regular
Joined
Mar 30, 2016
Messages
467
Reaction score
417
First Language
Russian
Primarily Uses
RMMZ
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 Posts

Latest Profile Posts

Everybody: "Hey, weren't you supposed to be making a game"?

Me. "MUST MAKE MOAR CUTSCENES!!1"
I've been watching videos about the videogame streamer Open Hand charity scandal, and the rabbit hole keeps getting deeper. At first it was just a lot of donated money being grossly neglected for years, and now there's a lot of money unaccounted for, which could turn this into a legitimate IRS crackdown.
Let's have some fun with my advent calendar. What would you like to see for Day 3: land, sea, or air? :rheh:
I've been thinking about doing a jokey submission for the Christmas jam in which, like a cartoon special where all the characters "play" a counterpart in A Christmas Carol, my MagiCats would each play a role from the C.A. Smith story The Coming of the White Worm, with Cyprian as Evagh, Rousalie as Dooni and so forth. But in the end, I figure all my development efforts should go toward the game proper.
In twitter, square phoenix had successfully prompted chatgpt to make the mini game watermelon pangpang.

Forum statistics

Threads
136,704
Messages
1,268,950
Members
180,420
Latest member
vonilt
Top