Mousie: The Mouse System
#1
MOUSIE
The Mouse System
Version: 3.1


Introduction
With this, you can use Near Fantastica's 'Pathfinding' script to move the character around with the mouse's point-n-click interface. Or you can use it to control menu window functions with some simple edits. Heck, you can even set the system to change the mouse cursor over pre-defined map events.


Features
  • Move your character with a point-n-click interface (Pathfinding required)
  • Control the menu with the mouse (Edits to the menu required... sample supplied)
  • Cursors change over pre-defined map events
  • True Double-click capability
  • True Mouse Continuous Pressing capacity
  • Mouse Press compatibility with Cybersam's Full Keyboard script
  • Map event clicking for sim-like games

Screenshots
Nah... just shows a mouse cursor over the screen... though the cursor can change over some events.


Demo
MOUSIE!


Script
The Script


Instructions
Very little needs to be configured... adding mouse icons into the system, setting a few clicking parameters, pathfinding range. All of which are covered in the script.

To use this with Near Fantastica's pathfinding system, the pathfinding system must be placed ABOVE this system. This system supports both versions 1 and 2 of Pathfinding. It can work with both Pathfinding systems in your project, but this system will work with version 1 (for speed preferences) rather than version 2.

It does not need 'Pathfinding' to operate. However, the character will not move without one.

Any edits to the menu system should be placed BELOW this system, such as the edits by Lambchop below.


Edits
Below, you can see how this system can be used to manipulate the default menu system. The supplied code was created by Lambchop to control nearly every facet of the menu interface by mouse input.
MOUSIE Window Edits by Lambchop


Important Windows Edit Note
The demo does not include the revised copy of the Windows Edits above. The revised version properly handles the default English Name Edit Window, even considering the empty column between capital in non-capital letters in the window. There is a comment within the code which notes and recognizes the bottom most portion of the CHARACTER_TABLE holding empty characters.


Credits and Thanks
First of all, I'd like to credit Lambchop for getting me involved with this mess. ;p Hahaha... just kidding. She helped me to avoid 'Battlesystem Burnout' for all the battlesystem code I've worked on for these past months.

I also have to credit Mr.Mo for portions of the mouse-cursor system, Behemoth for some portions of his mouse input system, Near Fantastica for his Pathfinding system (one of the reasons I got involved), and Corbaque (a French scripter) who was responsible for the double-click system.

I also have to thank Delmaschio of RMVXP.Com and House Slasher for noticing that autorun events did not hinder point-n-click movement... now fixed. Along with that, allow me to thank sixtyandaquarter for bringing up the idea of enabling and disabling menu and movement functions in the system. And thanks to Reives for the idea of changing the entire set of mouse icons in-game. Finally, thanks to sixtyandaquarter for getting me off my butt to add the event-clicking feature.

And insofar as menu edits, please give credit to yamina-chan who noticed that the default windows edits had not considered proper spacing and handling where the Name Edit Window was concerned.


Terms and Conditions
Free for use, even with commercial projects.

Yeah... really. Use it. You just gotta credit all of us involved.
Reply }
#2
Sorry for posting in such an old thread, but... is there any way to modify this so you can click something across the map, and activate it as if it were player touch? Like the girl with the pink hair stuck on the island, if you could click or double click her to make her talk or something.

I am wondering because I am trying to make a visualnovel type game, and it would be very handy.
Reply }
#3
Someone else in the forum (another member) asked me the same question just two weeks ago. At this time, no. Sad

I haven't seen a mouse script with that form of point-n-click capabilities as yet because most 'clicks' perform actions on the motion control of the player character and not towards the events themselves. Not saying it isn't a good idea though. Winking

I'm just unable to get to that... right now.
Reply }
#4
DerVVulfman Wrote:Someone else in the forum (another member) asked me the same question just two weeks ago. At this time, no. Sad

I haven't seen a mouse script with that form of point-n-click capabilities as yet because most 'clicks' perform actions on the motion control of the player character and not towards the events themselves. Not saying it isn't a good idea though. Winking

I'm just unable to get to that... right now.

can you show me how i can set it up so i can add more commands with come pictures for example i have a door i want to open and i want the small icon to come up as a door how could i do that?
Reply }
#5
o.o It should be pretty easy in the script itself. Creating a 'door' icon and adding it into the config section where you insert the 'door' icon like the other graphics. Then adding the 'door comment' in the door event like you would an 'enemy comment' in an enemy event.
Reply }
#6
DerVVulfman Wrote:o.o It should be pretty easy in the script itself. Creating a 'door' icon and adding it into the config section where you insert the 'door' icon like the other graphics. Then adding the 'door comment' in the door event like you would an 'enemy comment' in an enemy event.

can you brake that down into sections lol i have no knowledge of scripts by the way dont you have a tutorial on creating scrips?
Reply }
#7
While this is a plug-n-play system, allowing you to enter the new 'comments' into an event so you can bring up popup icons for some events. Let me restate that it is covered in the script itself. I practically FILL my scripts nowadays with the instructions. It may not be a 'beginners' level script however. For a new person, there are many 'intermediate' or 'advanced' systems that could confuse a new RGSS(2) user.

As to a tutorial on creating scripts? We all learned the hard way... by screwing around. Tongue sticking out But you did come up with an idea... "A beginner's guide to using submitted scripts" (a topic for a later date).
Reply }
#8
DerVVulfman Wrote:While this is a plug-n-play system, allowing you to enter the new 'comments' into an event so you can bring up popup icons for some events. Let me restate that it is covered in the script itself. I practically FILL my scripts nowadays with the instructions. It may not be a 'beginners' level script however. For a new person, there are many 'intermediate' or 'advanced' systems that could confuse a new RGSS(2) user.

As to a tutorial on creating scripts? We all learned the hard way... by screwing around. Tongue sticking out But you did come up with an idea... "A beginner's guide to using submitted scripts" (a topic for a later date).

:) glad to know i sparked an idea up

ok so as for the editing part of the script iam going to try and find out how it works if i can't would you mind guiding me and showing me were everything is well not everything just the parts that i need to create the new icon and make it work
i am a genius lmao!! just kidding well after looking threw it i found it :) how cool well thanks i basically only found it because if the tip you gave me

thanks :)
Reply }
#9
DerVVulfman Wrote:Someone else in the forum (another member) asked me the same question just two weeks ago. At this time, no. Sad

I haven't seen a mouse script with that form of point-n-click capabilities as yet because most 'clicks' perform actions on the motion control of the player character and not towards the events themselves. Not saying it isn't a good idea though. Winking

I'm just unable to get to that... right now.

I found a temporary way to do that... and it's to make the player graphic and event graphics transparent, set an autorun event to make the player speed 'fastest' and then click things, while they are player touch. It works pretty well, but when you have a group of 6 boxes layout out like this:
[][][]
[][][]
It causes glitches when you click elsewhere in the map if the player must pass over them.

I saw on another site that someone had invented a 'Mouse Interaction script' and it sent me to a dead link on what Im guessing is your old site, so thats why I came here.Winking

EDIT:: By this sense, if I set the events to action button instead of player touch, it would be possible to make it work right, no? All I need for that is to know what to edit so the click is also the A button. I mean, I have it working right now but its odd to hit space and click, thats not too user friendly.

(I'm making a Time Hollow fan game. If needed, I can provide screenshots or a download demo :D
Reply }
#10
I dont mean to pump an old post But I need help.
I get this error when going in to a battle.

Contains error messages
Reply }


Possibly Related Threads…
Thread Author Replies Views Last Post
   The Wanderers: The Customizable Encounters System DerVVulfman 0 264 08-24-2024, 07:12 PM
Last Post: DerVVulfman
   Aleworks Input Mouse Sprite Add-On DerVVulfman 2 1,793 09-21-2023, 02:56 PM
Last Post: DerVVulfman
   MKXP Compatible Mouse Add-on DerVVulfman 1 1,400 08-30-2023, 08:54 PM
Last Post: kyonides
   Super Simple Vehicle System - Enhanced DerVVulfman 65 94,878 06-02-2023, 06:16 PM
Last Post: Sujabes467
   Zenith Tactical Battle System Plus (ZTBS+) DerVVulfman 0 2,852 05-10-2022, 10:42 PM
Last Post: DerVVulfman
   Commercial System Package DerVVulfman 11 14,333 01-04-2020, 12:37 AM
Last Post: Pelip
   ACBS - Atoa Custom Battle System 3.2 Victor Sant 150 256,115 03-02-2019, 04:47 AM
Last Post: dragonprincess44
   DerVV's Simple Popup System DerVVulfman 4 12,248 10-08-2017, 04:53 PM
Last Post: DerVVulfman
   Melly-Mel's Calendar System DerVVulfman 23 43,661 12-02-2016, 04:31 AM
Last Post: DerVVulfman
   The Magey Mage's Spellbook System DerVVulfman 3 9,992 10-31-2016, 01:45 AM
Last Post: Noctis



Users browsing this thread: 4 Guest(s)