RPGVX.net

  RPG-Maker VX => VX Skripte [Fertiger Code] => Thema gestartet von: woratana am April 13, 2008, 11:02:03

Titel: SMS - Simple Mouse System ~
Beitrag von: woratana am April 13, 2008, 11:02:03
Simple Mouse System
Version 1.5
by Woratana
Release Date: 14/04/2008


Introduction
I scripted SMS because I'm working on other script that will be good if it has mouse function. And I'd like to share this to others after I got permission from Dervvulfman (this script require his script)

I don't have any knowledge about win32api, so I went to find XP mouse script and tried if they work on VX.
Finally, I found Dervvulfman's Mouse Input Module. It works great in VX without any edit.

This script required Mouse Input Module and Near Fantastica's Path Finding
It will allow player to click on menu, choose choice, move on map and talk to NPC by mouse.

It's also included feature to use image for cursor.


Features
- Support to use mouse in many scenes / windows
e.g. Battle Scene, Shop, Name Input Screen
- Click on map to move player using Path Finding
- Click on NPC when player is close to that NPC to talk.


Demo

Download Simple Mouse System Demo (http://www.rpgrevolution.com/users/woratana/script/Wora_Script/mouse_system/)
Download vx_mouse.rar for demo.
or you can get the script in text file from there.

Thanks RRR (http://www.rpgrevolution.com/) for hosting this.  happy.gif\" style=\"vertical-align:middle\" emoid=\"^_^\" border=\"0\" alt=\"happy.gif\" /]


Script
I think it's easier to download demo,
since I've edited some lines in Near Fantastica's Path Finding script. ;)

Screenshot
(http://i32.tinypic.com/2dwc1v5.jpg)


Instruction
This script is Plug 'N Play script,
so just put Dervvulfman's Mouse Input Module, Near Fantastica's Path Finding,
and Simple Mouse System in your game, and enjoy! :)


Plan for next version
- Cursor change when put on other event
- Better event trigger check by click mouse


Compatibility
No report for compatibility issue so far.. ;)


Author's Notes
Free for use in both commercial and non-commercial if credit included.


Credit
DerVVulfman
Near Fantastica
Freak Boy
lambchop
Shun
Cybersam
Astro_mech
Mr.Mo
Fuso
Modern Algebra
Zeriab
Patrick Lester

for the scripts that help me finished this,
Mouse Input Module,
Super Simple Mouse System,
Path Finding.
Titel: SMS - Simple Mouse System ~
Beitrag von: Gamekiller48@gmail.com am April 13, 2008, 14:14:52
GREAT!!!
Titel: SMS - Simple Mouse System ~
Beitrag von: Onkel Hell am April 13, 2008, 16:53:25
didnt thought a mouse script would be so simple ? even the one from wulfman
but pathfinding on the map will be funny,
we had to code a small programm which implemented a very simple pathfinding eninge last year at university, was quite funny

maybe i should post my scripts on your board too since ur providing us with nice scripts ;)
Titel: SMS - Simple Mouse System ~
Beitrag von: Dainreth am April 13, 2008, 17:58:28
Mouse, huh? I have no use for this one, but it works great! I think it will help many other guys, so thanks!
Titel: SMS - Simple Mouse System ~
Beitrag von: Razael am April 13, 2008, 18:33:08
Thanks ^^ So now we can make C&C on the Maker XD
Titel: SMS - Simple Mouse System ~
Beitrag von: woratana am April 14, 2008, 11:44:46
UPDATED TO VERSION 1.5!!
- Mouse Pointer added
- Move player with mouse click on map by using Path Finding.

(http://i32.tinypic.com/2dwc1v5.jpg)

==============================
@Gamekiller
Thanks! XD

@hellMinor
Yeah, it's a little easier than I thought :P

Path Finding in this version (1.5) I got from Near Fantastica.
It stills not really good though, but I use it because it created nearly no lag when finding path. :)

@Deinreth
Thanks for your support in all my scripts! Dainreth

@Razael
Sorry, what is C&C? XD (I'm just bad at game name :P)
Titel: SMS - Simple Mouse System ~
Beitrag von: Dainreth am April 14, 2008, 11:50:42
Oh wora, I think it was a little joke by Razael. Command & Conquer C&C - English wiki article: http://en.wikipedia.org/wiki/Command_&_Conquer (http://en.wikipedia.org/wiki/Command_&_Conquer)
Such a game will be a bit complicated to do on maker I think :P
Titel: SMS - Simple Mouse System ~
Beitrag von: ERZENGEL am April 14, 2008, 14:26:24
Wow, I tested it yesterday and without the pathfinding I didn't like it and now it has pathfinding.. thank you very much ^^
Titel: SMS - Simple Mouse System ~
Beitrag von: woratana am April 14, 2008, 19:40:45
@Dainreth
lol I played Tiberian Sun before >_>~ (when I'm a little~)

If someone can make this kind of game with RPG Maker, I will definitely buy it! XD

@Erzengel
Thanks! :)

I'll be really happy if I can see any game using this. :P
Titel: SMS - Simple Mouse System ~
Beitrag von: Silvanus am April 14, 2008, 22:02:42
Omg, WOW O_O
This Script is...eh..wonderful xDD
Really usefull for Tactic Games i think o.O...or other Games xD

Thanks X3

@German Members
Hat das da oben jetzt einen Sinn ergeben xD""
Titel: SMS - Simple Mouse System ~
Beitrag von: woratana am April 19, 2008, 21:08:29
I'm glad you guys like this script. :)

[NEXT VERSION :: NOTE]
- Using Modern Algebra's Path finding that is faster, and has better algorithm.
- Added setup part, you can add the scene that you don't want to use mouse, configure many things in script.
- You can now click on event, NPC, and player will automatically walk to that event and interact.
- You can put some tags in event's comment, e.g. '[mauto]' to run this event automatically after you click on it.

(http://i26.tinypic.com/1ils3k.jpg)
Titel: SMS - Simple Mouse System ~
Beitrag von: Onkel Hell am April 19, 2008, 22:50:57
hehe sounds nice , i editied the path finding to eventwalk^^ but fine that it´ll be in the next version
$game_player.passable ---> $game_player.map_passable?  , that was my edit to clickwalk to an event
Titel: SMS - Simple Mouse System ~
Beitrag von: Dimidimadmitri am April 23, 2008, 14:59:39
Irgendwie steht bei mir immer:

´SMS - Simple Mouse system´? 39 ??? NameError ????????
uninitialized constand Mouse

kann mir einer beim skript helfen kann die Demo version nähmlich nicht starten und hab nur den skript
Titel: SMS - Simple Mouse System ~
Beitrag von: Dainreth am April 23, 2008, 16:20:52
Das Skript ist ja nicht mehr im ersten Post, nur die Demo, könntest du die Zeilen mal posten. Am besten von 36 - 43, damit die Skripter die Zusammenhänge erkennen können.
Kommt beim Starten der Demo irgendeine Fehlermeldung? Du sagtest ja, es geht nicht.
Titel: SMS - Simple Mouse System ~
Beitrag von: ERZENGEL am April 23, 2008, 17:23:31
Ich denke, dass es an der vermeintlichen Inkompatibilität (fragt mich bitte nicht, wie lang ich brauch das Wort zu schreiben :P) liegt. Öffne die Datei mti den Zahrad-Icon (Endung RVPROJ) und ändere die 2 in 0 um. Steht übrigens auch in der FAQ ^^
Zum eigentlichen Problem: Dir fehlt das Modul Mouse, dass der Demo enthalten ist.
Titel: SMS - Simple Mouse System ~
Beitrag von: Dimidimadmitri am April 23, 2008, 20:33:17
ehmm... bei mir steht wenn ich die Datei öffne...
Die Version ist zu alt und kann nicht geöffnet werden
und mit "2" steht da irgendwie gar nix....
Titel: SMS - Simple Mouse System ~
Beitrag von: ERZENGEL am April 23, 2008, 20:41:40
Tut mir leid hab vergessen das zu schreiben: Mit einem Texteditor öffnen => siehe FAQ
Titel: SMS - Simple Mouse System ~
Beitrag von: Dimidimadmitri am April 23, 2008, 20:48:06
Habs schon anders hingekrigt... hab einfach neues Projekt gemacht und die Skrippt datei vom Mouse System Dort eingefügt...
Hab nur noch eine frage... kann man das so machen das man keine Hauptfigur hat und mit dem klicken auf andere Leute die so betätigt...
Also quasy für strategiespiele..

Edit:
Mit Texteditor funktioniert übrigens auch Thx
2. Edit:
Habs hingekrigt, auch wenns ohne skript ist......
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Coin am Oktober 29, 2008, 13:26:04
-.- ich find den doofen skript auf der seite ned *flenn*
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: tobistyle am Oktober 29, 2008, 14:05:42
seit RRR die seiten neu gemacht haben funktionieren die alten links nicht mehr
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Coin am Oktober 29, 2008, 15:53:38
verdammt :(
 wär nett wenn den skript jemand mal reinstellt der den noch aufm rechner hatt oder auf der seite n account hatt und auf den skript zufreiffen kann ....
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: tobistyle am Oktober 29, 2008, 15:59:22
ich hab dort einen account, das problem ist das die links nicht mehr gehen. im RRR forum ist der selbe link, jemand muss den skript nochmal neu hochladen
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Coin am Oktober 29, 2008, 18:31:16
ohh man :( .... naja falls den jemand noch aufm rechner hatt wär geil wenn der skript nochma hochgeladen werden könnte
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: D.N.S am Oktober 29, 2008, 20:20:52
Hier ne Demo davon.... 
 DEMO  (http://rapidshare.com/files/158766068/Mouse_System.zip.html)

Hatte sie noch irgendwo rumliegen... :)



WS
     D.N.S
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: tobistyle am Oktober 29, 2008, 20:26:13
super, thx
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Coin am Oktober 29, 2008, 20:32:40
oh man ich liebe dich ;D
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Im Not Jesus am Oktober 30, 2008, 16:02:47
oha, das ist mal voll cool ^^
danke fürs erneute hochladen! ist sicher sehr nützlich!
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Eplayer am Oktober 30, 2008, 18:02:16
Wow, danke D.N.S fürs erneut Hochladen der DEMO ^^
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: D.N.S am Oktober 30, 2008, 18:22:55
Kein Problem.. Hab ich doch gern gemacht... :)



WS
     D.N.S
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: woratana am November 14, 2008, 04:17:54
Hi, sorry that I leaved for so long.

I found this demo leaved on my desktop. I think it is the newest version that you can click on NPC to interact~^^

http://www.mediafire.com/?l4nzlj5nokj

Enjoy,
Wora
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: lenni96 am April 16, 2010, 17:52:36
Hallo,

ich habe ein Problem mit dem SMS....
Line 78 NAME ERROR OCCURED:
undefined method update for class modul

kann mir jemand weiter helfen???
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: _D3nn!§_ am April 16, 2010, 18:10:17
Naja, eine Fehlermeldung alleine reicht nicht,
da solltest du wenigstens deine benützte skripts mitschicken damit jemand das Problem lösen kann ...
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: lenni96 am April 16, 2010, 18:21:33
ich hab das sms mit allen drei scripts benutzt.
es handelt sich um das eigentliche sms wo die fehler meldung kommt.
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Master Chain am April 16, 2010, 21:42:52
Wenn der Fehler im Script selber drin ist hasste ein kleines Problem da woratana hier nicht mehr aktiv ist

Probier mal diesen Link
http://rapidshare.com/files/158766068/Mouse_System.zip.html
habs aus D.N.S POst entnommen
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: Emelie Rose am April 17, 2010, 00:15:03
Wäh warum hat uns wortana verlassen??

(hoffe ich bekomme keine verwarnung wegen spam ;-))
Titel: Re: SMS - Simple Mouse System ~
Beitrag von: lenni96 am April 17, 2010, 19:28:11
der downloadlink funktioniert leider nicht :(

Edit: Hat sich geklärt, ich hatte ein script was das sms behindert hat
SimplePortal 2.3.3 © 2008-2010, SimplePortal