[Solved]rmXP interaction script

Started by scoace13, June 06, 2009, 06:11:53 pm

Previous topic - Next topic

scoace13

June 06, 2009, 06:11:53 pm Last Edit: June 12, 2009, 01:05:41 pm by scoace13
Ok, this is not going to be an easy script.

What I need:
*the player can use the mouse to target object/events/monsters in the world then using a key on the key board the player brings up different interaction menus aka(if there was a computer the player might click on it and press d to bring up a a menu thats has attack skills a player could use)
*the mouse can be used inside the menus to select the different options
* theres more than one menu and the commands inside are customizable via common events.
*it can connect to the original menu (the player opens a menu and selects equip and is taken to the equip menu that comes standard with RMXP)
*uses uses the same window skin as the regular menu
*overrides the regular menu
*menu key are customizable

thank you in advance for this.


K...can someone just at least tell me if this is at all possible as a script.


I now only need the menus that open via hotkey and link to the common events
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Jackolas

June 07, 2009, 09:35:01 am #1 Last Edit: June 07, 2009, 09:40:40 am by Jackolas
Quote*the player can use the mouse to target object/events/monsters in the world then using a key on the key board the player brings up different interaction menus aka(if there was a computer the player might click on it and press d to bring up a a menu thats has attack skills a player could use)

this can be done because I have seem multiple scripts doing this (there hard to find btw)
Quotethe mouse can be used inside the menus to select the different options

seen also scripts control the main menu so should be possible.
Quote* theres more than one menu and the commands inside are customizable via common events.

this is easy possible.
Quote*it can connect to the original menu (the player opens a menu and selects equip and is taken to the equip menu that comes standard with RMXP)

can be done
Quote*uses uses the same window skin as the regular menu

that's a easy 1
Quote*overrides the regular menu
*menu key are customizable

and those 2 are also possible.

the problem you face its probably gone need multiple scripts. and its a really big project to do.
you can say its way to advance for peep to just make it in there free time while they are not using it themselves.
maybe you are lucky and someone here got to much free time on there hands :P

scoace13

let me attempt to explain how this is supposed to work(this is theory) every interactable item on the map is first assigned a number via (how ever it need to get done there are planned to be more that 10 items of such per map in the project im using this for) when clicked on that number is stored as a variable then when an action is selected from the menus it is targeted to the item who's number matches the variable in storage.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

waite you just want to use this for a menu? not interacting with the map, you just want to use to create a menu?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

the click does nothing more than store a number as a variable thats all after that the mouse is only used in the menus to execute common events. so in a way yes.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

I hate to say it but it would be WAY easier to get some one to create a CMS the works with the mouse. they could give you the map as background thing and all too.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

but then how would i use my interaction commands... even if those were set in the menu they are also used in combat meaning the player would have to pause the game to attack and defend and what not.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

June 08, 2009, 05:39:56 pm #7 Last Edit: June 08, 2009, 05:41:35 pm by Ryexander
wait wa? I though you said that you were going to use this to make a menu? do you have a battle system or something? out line EXACTLY what your going to use this for not HOW you want it to work but what the final product will be. then maybe I'll understand. half the time it sounds like you want a CMS the other half it sound like you want a battle system
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

Shadonking

i think he wants it to work with both





Creator Of Music And Games
Spoiler: ShowHide
]

keywords: ShowHide
rmxp rmvx blizz-abs rpg maker xp vx abs cbs cms script tons of addons charsets autotiles HUD


come here if you have a ps3
http://forum.chaos-project.com/index.php?topic=1952.0

scoace13

you know how comercial online RPGs have menus for every thing that what im trying to have made....
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 08, 2009, 10:18:05 pm
you know how commercial online RPGs have menus for every thing that what im trying to have made....

this doesn't answer my question.
your were talking about clicking on enemy events are you using Blizz-abs or something? are you creating an evented battle system? dout you want a CMS theat works with a mouse? are you asking for a script that would allow you t create an evented battle system that works with the mouse? what are you doing give us an out line of your ENTIRE game/ what system it has EVERYTHING! other wise we wont have a clue what your asking for! you being incredibly vague. if it helps make a few diagrams/mockups in paint or some other photo editing program. we need to know what you need before we can help you.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

this probably wont either but im going to try. and there are screenshots coming of kinda what i want from an online game that kinda does the same thing.


think games and stuff like WoW or Last Chaos where you click on something the select and action from a menu called up by hot keys...like i said probably doesn't help much. But thats exactly what i want the system to do. screen shots to come later cause i gotta finish downloading and installing the game then i ll be able to get them.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Aqua

You still didn't answer the question...

What battle system are you using?

scoace13

none...this is the only system every thing else minus the other script request i'm about to post is evented
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

if you don't have a battle system  then why are you talking about enemies?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

i meant there is not script that handles the battles im event every fight the player gets into...there are still  enemies and stuff basically i want my game to work like an online game minus the online.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

so you want an ABS that works wiht the mouse for targeting?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

June 09, 2009, 11:25:51 am #17 Last Edit: June 09, 2009, 11:49:23 am by scoace13
um kinda but not really. this system is supposed to use the mouse to target objects from eneimies to doors and etc. then via a hot key a menu is opened and commands are selected for that target. the commands themselves are actually common events that are called. and then proceed to execute an action at the slected target wheather it be attacking or talking or opening a door or chest.
I hope i explaind this better if not im working on the screens shots for what im talking about... i think this key diagram should help some i found it on the site fro the game i getting my screenshots from.

http://megaten.aeriagames.com/guide/interface
hope this helps some.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 09, 2009, 11:25:51 am
hope this helps some.

um not really and i think you should have this topic and the other topic merged...
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

what else am i missing that would definitaly get this explained
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

give us a BIG PICTURE explanation I've said this many times before but unless you lay out your entire plan for your game insted of giving us bits and pices of your systems we won;t know what it is you need or want from us.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

ok  big picture. at the moment the game im working on is planned to have the feel of a large scale mmorpg so im trying to write/request system that allow me to do just that. this script would handle the menus and the targeting. the other script i requested would handle the shortcut bar. (am i explaining this better)
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 09, 2009, 03:33:52 pm
ok  big picture. at the moment the game im working on is planned to have the feel of a large scale mmorpg so im trying to write/request system that allow me to do just that. this script would handle the menus and the targeting. the other script i requested would handle the shortcut bar. (am i explaining this better)

and then all 'battle' processing would be handed through common events right?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

common event and mapped events yes.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

well good luck now that i know what your trying to do is sounds like a hell of a lot of work. I've seen an evented ABS before and the level of eventing used was insane and what you doing is just as hard if not harder. I hope it works out
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

...it not really hard(unless i don't get this script) just long and repetitive
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

scoace13

June 10, 2009, 09:40:20 pm #26 Last Edit: June 10, 2009, 09:41:46 pm by scoace13
ok the time has come and i think i got this worked out this is supposed to work :


mouse click =action button on event
event store a number as a variable
press a key on the keyboard for a menu
use mouse to select an option from the menu
option calls common event which checks varible number
then sets a switch bassed on the events id
the switch triggers the event.

example:\

player clicks on a door and the opens the interact menu selects open
the open option calls common event open
common event open sees that the doors event id is 006 because of the variable value
and turns on switch 6 to activate the doors parell process which then opens then door and the player can proceed through

scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

June 11, 2009, 12:26:46 am #27 Last Edit: June 11, 2009, 12:34:08 am by Ryexander
what makes this script really hard is the fact that you want to click on events if not for that it would be fairly easy. also I or any one else who did this would need a mouse input script.

I suppose you could check for a mouse click, record the position of the mouse, translate the mouse x any y in to the 32 x 32 grid or rmxp and then check if there was an even at said position. that said I have a script the checks events that i could use as a base...

tell you what if you can beg Blizz and get him to release his mouse input script I'll see what i can do I'll probably only have time to do part of the system for you (the part that records event clicks) so don't get upset when i can't finish it for you.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

stupid question a mouse move script would work would it cause i have one or two of those  otherwise i will work on begging blizz.
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

Quote from: scoace13 on June 11, 2009, 12:41:11 am
stupid question a mouse move script would work would it cause i have one or two of those  otherwise i will work on begging blizz.

I would rather have Blizz's as it is sure to be cleaner and work better and lag less and... *rambles on about how Blizz's script is sure to be better*
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...

Ryex

check your pm's i gave you an add for the second script you sent me that will store the ID of the last event you clicked on (if the event had a graphic) in $game_system.last_click_event_id. $game_system.last_click_event_id wil be nil if the last click didn't have an event under it.
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />

scoace13

ok that means that with the hard part out of the way thanks to Ryexander :V I still need the menus
scoace13, Eventman extrodnaire...so anybody seen any good movies recently <br />...whys is this here..........random fate...same reason im here...