Common Equip Events
This script allows you to assign common events to weapons/armors that will be run when you equip or dequip (un-equip) them. The common events are assigned separately, so you might have one equip event, and another dequip event.
Download
Script: download here
If you would like the common event to run in the scene, you will need to use something like the Scene Interpreter
Installation
Place this below Materials and above Main.
Usage
Tag your equips with
<equip event: x> <dequip event: x>
For some common event ID x.
I visited multiple sites but the audio quality for
audio songs present at this web site is genuinely marvelous.
Wow that was strange. I just wrote an really long comment but after I clicked submit my comment
didn’t appear. Grrrr… well I’m not writing all that over again. Regardless,
just wanted to say wonderful blog!
Highly descriptive article, I loved that bit. Will there be a part 2?
Hey, I think your blog might be having browser compatibility issues.
When I look at your website in Chrome, it looks fine but when opening in Internet Explorer,
it has some overlapping. I just wanted to give you a quick heads up!
Other then that, great blog!
Hey! I know this is kinda off topic but I was wondering which blog platform are
you using for this site? I’m getting fed up of WordPress because I’ve had issues with hackers and
I’m looking at alternatives for another platform. I would be awesome if
you could point me in the direction of a good platform.
My partner and I absolutely love your blog and find most
of your post’s to be exactly I’m looking for. can you
offer guest writers to write content in your
case? I wouldn’t mind publishing a post or elaborating on most
of the subjects you write about here. Again, awesome blog!
No matter if some one searches for his necessary
thing, therefore he/she wishes to be available that in detail,
thus that thing is maintained over here.
I believe that is among the so much important information for me.
And i’m satisfied reading your article. But want to observation on few general things, The website style
is wonderful, the articles is in point of fact nice : D.
Excellent process, cheers
Hi there mates, how is everything, and what you desire
to say concerning this paragraph, in my view its in fact
remarkable for me.
I truly love your blog.. Great colors & theme. Did
you make this site yourself? Please reply back as I’m attempting to create my own personal
blog and would love to know where you got this from or exactly what the theme is called.
Kudos!
It’s going to be finish of mine day, but before finish I am
reading this great article to improve my experience.
Hey! I know this is kind of off topic but I was wondering which blog platform are you using for this website?
I’m getting tired of WordPress because I’ve had problems with hackers and I’m looking at alternatives for another platform.
I would be great if you could point me in the direction of a good platform.
certainly like your web site however you need to test the spelling on several of your posts.
Several of them are rife with spelling issues and I in finding it very troublesome to tell the reality
on the other hand I will certainly come back again.
Pretty! This has been an extremely wonderful post.
Thanks for supplying these details.
Heya are using WordPress for your site platform?
I’m new to the blog world but I’m trying to get
started and create my own. Do you require any coding expertise to make your
own blog? Any help would be really appreciated!
I take pleasure in, cause I found exactly what I was having
a look for. You’ve ended my four day lengthy hunt! God Bless
you man. Have a great day. Bye
I am curious to find out what blog system you’re using? I’m experiencing
some small security issues with my latest blog and I would like to find something more risk-free.
Do you have any recommendations?
Your style is so unique compared to other folks I have read stuff from.
Thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this page.
Hi! I know this is kind of off-topic but I had to ask.
Does managing a well-established website like yours require a large amount of work?
I am completely new to blogging however I do write in my diary everyday.
I’d like to start a blog so I can easily share my own experience and thoughts online.
Please let me know if you have any recommendations or tips for new aspiring bloggers.
Appreciate it!
I am truly delighted to read this webpage posts which includes tons of valuable data, thanks for providing these information.
I believe what you published was very logical.
However, think about this, suppose you added a little information? I am not suggesting
your information isn’t good, but what if you added a title to
maybe grab folk’s attention? I mean Common Equip Events – 姫HimeWorks is
kinda boring. You could glance at Yahoo’s home page and see
how they create article titles to grab people to click.
You might add a related video or a related picture or two to grab people excited
about everything’ve got to say. Just my opinion, it could bring
your posts a little bit more interesting.
Nice blog! Is your theme custom made or did you download
it from somewhere? A theme like yours with a few simple adjustements would
really make my blog stand out. Please let me
know where you got your design. Many thanks
Having read this I thought it was very informative. I appreciate you finding the time
and energy to put this information together. I once again find
myself personally spending a lot of time both reading and posting comments.
But so what, it was still worthwhile!
I absolutely love your site.. Great colors & theme. Did you make this amazing site yourself?
Please reply back as I’m attempting to create my own personal site
and would like to learn where you got this from or exactly what the theme
is called. Kudos!
Amazing blog! Is your theme custom made or did you
download it from somewhere? A design like yours with a few
simple tweeks would really make my blog jump out.
Please let me know where you got your design. Thanks a lot
Fantastic goods from you, man. I’ve understand your stuff previous to and you are just extremely great.
I really like what you have acquired here, really like what you’re stating
and the way in which you say it. You make it enjoyable and you still take care of to keep it
smart. I can not wait to read far more from you.
This is really a tremendous site.
Oh my goodness! Awesome article dude! Thank you so much, However I am having issues with your
RSS. I don’t understand why I am unable to subscribe to it.
Is there anybody getting identical RSS problems? Anybody who knows the answer can you kindly respond?
Thanks!!
Spot on with this write-up, I really think this amazing site needs a lot more attention.
I’ll probably be back again to read through more, thanks for the advice!
What’s up to every , for the reason that I am really eager of reading this blog’s post to be updated regularly.
It contains good data.
Very nice post. I just stumbled upon your weblog and wanted to say that
I have really enjoyed browsing your weblog posts. In any case I’ll be subscribing for
your rss feed and I am hoping you write once more soon!
What a information of un-ambiguity and preserveness of precious experience regarding unexpected emotions.
Greetings! I know this is kinda off topic but I was wondering if you knew
where I could find a captcha plugin for my comment form?
I’m using the same blog platform as yours and I’m having trouble
finding one? Thanks a lot!
I was wondering if you ever thought of changing
the layout of your blog? Its very well written; I love what youve got to say.
But maybe you could a little more in the way of content so people could connect
with it better. Youve got an awful lot of text for only having
1 or 2 images. Maybe you could space it out better?
I read this piece of writing fully regarding the
resemblance of newest and preceding technologies, it’s amazing article.
Do you have a spam problem on this blog; I also am a blogger,
and I was wanting to know your situation; we have created some nice methods
and we are looking to exchange strategies with other folks,
be sure to shoot me an e-mail if interested.
Thanks very interesting blog!
Thanks in favor of sharing such a pleasant thinking, paragraph
is fastidious, thats why i have read it entirely
Just wish to say your article is as amazing. The clarity in your post is just spectacular and i can assume you’re knowledgeable on this subject.
Well along with your permission let me to take hold of your feed to keep
up to date with drawing close post. Thank you 1,000,000
and please keep up the enjoyable work.
Thanks for sharing your thoughts on website. Regards
Very nice post. I just stumbled upon your blog and wished to say that
I’ve really enjoyed surfing around your blog posts.
In any case I will be subscribing to your rss
feed and I hope you write again soon!
Hi! I simply wish to give you a huge thumbs up for the excellent info you
have got here on this post. I am returning to your website for more
soon.
Hello, just wanted to say, I loved this post.
It was practical. Keep on posting!
It’s remarkable to pay a quick visit this website and reading the views of all mates on the topic of this post, while
I am also eager of getting experience.
Hi just wanted to give you a quick heads up and let you know a few of the images aren’t loading properly.
I’m not sure why but I think its a linking issue.
I’ve tried it in two different browsers and
both show the same results.
I’ve learn a few just right stuff here. Certainly worth bookmarking for revisiting.
I wonder how a lot attempt you put to make such a
great informative site.
What’s up, everything is going fine here and ofcourse every one is sharing data,
that’s genuinely excellent, keep up writing.
Very good post. I’m going through many of these issues as well..
Have you ever considered publishing an ebook or guest authoring on other sites?
I have a blog centered on the same subjects you discuss and would love to
have you share some stories/information. I know my readers would appreciate your work.
If you are even remotely interested, feel free to shoot me an e-mail.
Right now it looks like BlogEngine is the best blogging platform available right now.
(from what I’ve read) Is that what you are using on your blog?
What’s Going down i am new to this, I stumbled upon this
I’ve discovered It positively useful and it has helped me out loads.
I hope to contribute & aid different customers like its
aided me. Good job.
Wow, this piece of writing is pleasant, my younger sister is analyzing
these things, so I am going to let know her.
Hello there! I know this is somewhat off topic but I was wondering which blog platform are
you using for this site? I’m getting tired of WordPress because I’ve had problems
with hackers and I’m looking at alternatives for another platform.
I would be fantastic if you could point me in the direction of a good platform.
I want to to thank you for this fantastic read!! I definitely enjoyed every bit of it.
I’ve got you book-marked to check out new stuff you post…
Amazing things here. I am very glad to look your article.
Thanks a lot and I am having a look forward to contact you.
Will you please drop me a e-mail?
I always emailed this webpage post page to all my friends,
since if like to read it after that my friends will too.
It’s an awesome piece of writing for all the web users;
they will get benefit from it I am sure.
Hmm is anyone else having problems with the pictures on this blog loading?
I’m trying to find out if its a problem on my end
or if it’s the blog. Any feed-back would be greatly appreciated.
I like the helpful information you provide in your articles.
I will bookmark your weblog and take a look at again right here frequently.
I am slightly sure I will be told lots of new stuff proper here!
Best of luck for the next!
Excellent goods from you, man. I’ve understand your stuff previous to and you are
just extremely excellent. I actually like what you’ve acquired
here, really like what you are saying and the way in which you
say it. You make it entertaining and you still take care of to keep it
sensible. I cant wait to read much more from you.
This is really a terrific site.
When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment
is added I get three e-mails with the same comment.
Is there any way you can remove me from that service?
Cheers!
Wow that was strange. I just wrote an very long comment but after I clicked submit my comment didn’t appear.
Grrrr… well I’m not writing all that over again. Anyway, just wanted to say fantastic blog!
Hi there! Quick question that’s entirely off topic. Do you know how to
make your site mobile friendly? My blog looks weird when viewing from
my iphone4. I’m trying to find a template or plugin that might be able to
resolve this issue. If you have any suggestions, please share.
Cheers!
Fantastic blog you have here but I was curious about if you
knew of any message boards that cover the same topics talked about in this article?
I’d really like to be a part of group where I can get responses from other knowledgeable individuals that share the same interest.
If you have any suggestions, please let me know. Many thanks!
Have you ever considered writing an e-book or
guest authoring on other sites? I have a blog based upon on the same ideas you discuss and would love to have you share some stories/information.
I know my visitors would appreciate your work.
If you’re even remotely interested, feel free to shoot me an e mail.
I like the helpful information you provide in your articles.
I will bookmark your blog and check again here frequently.
I’m quite certain I’ll learn plenty of new stuff right here!
Best of luck for the next!
What’s Taking place i’m new to this, I stumbled upon this
I’ve found It absolutely useful and it has aided me out loads.
I am hoping to give a contribution & assist other customers like its helped me.
Great job.
Excellent beat ! I would like to apprentice while you amend your site, how could i subscribe for a blog web site?
The account helped me a acceptable deal. I had been tiny bit acquainted of
this your broadcast offered bright clear concept
Hi! This post could not be written any better! Reading through this post reminds
me of my previous room mate! He always kept chatting about this.
I will forward this write-up to him. Pretty sure he will have a good
read. Many thanks for sharing!
Hey There. I discovered your blog using msn. That
is a very neatly written article. I will be
sure to bookmark it and return to learn extra
of your helpful information. Thanks for the post. I’ll definitely return.
I might be a huge noob but how do I download the script?
Correct me if I am wrong about this but…
I am looking for weapons + common-event, like this…
I got an unusual “attack” that would be more like a heart of this game project (like, “Materia” system for FF7, you know?) but it’s actually full of Common Event (combined with the Skill itself)… When I was going to equip Common Event in each weapon, I found myself to not able find “Common Event” option anywhere. I would like to have the weapons including Common Events and let hero attack which will unleash this “unusual attack” each time hero attack…
Is this the one? Or wrong one?
123
is any plugin like this for rpg maker mv
This script might be just what I needed, but I can’t seem to get past one thing.
From what I’ve read, it seems like I would need to create a different pair of common events for every equip in the game. If I have to do that, then so be it, but I would really like to be able to have one equip and one unequip common events, each with a series of conditionals to do something based on the particular equip.
Every armor and weapon is going to have a weight, which I want to add or subtract from a total_weight variable upon equip/unequip.
I guess the issue with that would be if I changed armor several times before exiting the menu, and it wouldn’t know what to do.
I’d really appreciate it if you have any suggestions.
Thank you for your time.
hello! this script is absolutely perfect, but i was wondering if there was a way to get the event to play only once, such as having a conversation play only the first time you equip the weapon/armor? i apologize if this is a simple oversight on my part or just something that can’t be done, but thanks in advance anyway!
You can use a switch to keep track of whether the event has been played or not, and wrap everything inside a conditional branch on that switch.
it was a little confusing but i think i got it working. thanks so much for the fast response and for your time!!
Using this together with Smithing by Richter_h and TheoAllen. I have this oddity where if I quit the game to meny and try to start a new game i get this error: “undefined method ‘equip_event_id=’ for#<RPG::UpgradeWeapon:0x8e3x3x8”
I’m trying to draw some conclusion as to what is going on but so far I’m drawing blanks. It’s referencing line 254 of the Smithing script which is the last “end” within the quotation marks:
cloned = RPG::UpgradedWeapon.new
self.instance_variables.each do |varsym|
ivar_name = varsym.to_s.gsub(/@/) {""}
eval("
if cloned.respond_to?(\"#{ivar_name}\")
begin
cloned.#{ivar_name} = original.#{ivar_name}.clone
rescue
cloned.#{ivar_name} = original.#{ivar_name}
end
end")
Any ideas? Thanks in advance!
equip_event_id
is not publicly accessible. You can only read the value.Easiest way to get around this would be to add the following
attr_accessor :equip_event_id
Inside of
class RPG::EquipItem
Worked wonders! Thank you amigo <3 I had to add :dequip_event_id as well into the class. Awesome!
Yup, that’s about it. I didn’t consider that someone might actually try to clone objects that way.
How would you go about requiring two of the same weapon needed to be equip for the event to run?
This script does not support conditions. You can add the check to the common event with a conditional branch, but then this script doesn’t tell you which actor called the common event. For the most part there isn’t an obvious way that I can see how this would be done without modifying the script.
Thanks for the fast response. In my game you get to choose between sword and sword or sword and shield (same set-up for war axes and other weapons) but i want them to be equipped before you can progress in the game. If you know of how i can do this or another script that does the same please let me know.
If you just need to check a specific actor, you can call a common event and then inside the common event you would check whether the specific actor has two of the same equip.
This can be done using a script call in your conditional branch
Which will be true only if actor 2 is holding two of the same weapon (based on ID)
So for the actor i would place his/her ID between [] after actors?
I think so, yes.
Hi Tsukihime,
Would it be possible to use the Scene Interpreter script together with this one, so a dequip common event is run right when I try to remove an equip, instead of when I press esc and leave the equip menu scene?
Thanks!
It should work the same as using items in the item menu.
Regarding the example, right now if I use an item from the item menu (with effect manager + effect common event) it quickly goes to the map and then runs the common event. With the dequip event, it only runs after I exit the equip scene and the menu scene. It’s the expected behavior?
Yes. For equip events I didn’t explicitly tell it to exit the scene and run a common event.
Hi Tsukihime,
Would be possible to pass arguments to the common event, so it would know which equip called it, the actor, etc?
Thanks!
This script does not support arguments, but you can modify the script to set some variables as needed. Common events in general do not support arguments. You can use <a href="http://www.himeworks.com/2013/04/25/common-event-variables/" title="Common Event Variables" target="_blank">this</a> as reference.
Well, I'm not exactly good at scripting (if that's not evident already), but I did followed the instructions of both scripts.
I tagged a equipment to asign it a common event, and in the common event I placed the comment that make the event run in the current scene. The event itself was the class change.
So, what happened is that the actor changed it's class without having to exit to the map, but not before exiting the equipment window.
What I would like is the change of class to occur when still in the equipment window.
If the class change is supposed to change the equip slots, that won't occur until you refresh the window (which by default means you need to leave and re-enter).
Hello, Hime. Thanks for this excelent script. It works perfectly, although I'm having some sort of an issue (but I don't think it's because there's something wrong with the script, it's just that it doesn't do exactly what I want… which is to be expected).
Anyway. Using your script, I made an armor that change the class of the actor when equipped. And it does change the class. The problem is that it doesn't do it 'immediately', as in that when the armor is equipped, nothing happens (the class remain the same) until you exit the equipment window. So, this is sort of an issue, because I would like that the class changed when still being in the equipment window, so the player could change the equipment of the actor now that it have a different class.
¿Something can be done about this? I hope so. Sorry for bad english and too much text. Thanks again for your awesome scripts.
Also, I tried to use the Scene Interpreter script, but it didn't do much.
The problem you're having is that common events only run on the map or during battle and nowhere else. This means that even if you reserve a common event in the equip scene, it won't be run until you go to the map.
The scene interpreter allows you to run common events in every scene, but you need to tell the engine that you actually want the common event to run in the current scene.
And… how could I do that? >.<
What have you tried? You said you "tried to use" the scene interpreter but you don't explain how you used it.
I ended up placing this in the Common Event (after everything), to 'refresh' it. I am sure there is a better way, but…works for me.
SceneManager.call(Scene_Equip)
The link is down 🙁
The link has been updated.
Hi, I know this goes beyond the script of your scope. I was wondering what I could do to use this with Victor's Materia Equip. For example, I want to make a materia that enables you to Equip Guns. Once you take off the materia any gun that is equipped to the character should come off.
The materias are set up as armor, so I thought that I could use this equip/deequip script with it, but nothing happens; If you could give me some guidance it would be great. thanks for the script 🙂
You need to get someone to update victor's script to automatically remove equips that cannot be equipped. This script should detect un-equipping automatically if done correctly.
Thanks for the Script! But I seem to have a problem when the actor changes equipment to equipment. For example if actor equips dragon armor (common event ID: 001) then while wearing the dragon armor, changes to Leather armor (common event ID: 001 – I use conditional branch to keep the common event list clean) it goes to dequip sprite instead of the leather armor sprite, but if the actor removes ANY armor in general and re-equip whatever armor It chooses it works just fine. Am I doing something wrong in the common event?
When you change armors, you would first un-equip your dragon armor and then equip the leather armor. You would expect the dequip event to run first, followed by the equip event. It is possible that the order is wrong.
I looked at the script and found that the equip event is queued up before the dequip event, so that may be why.
I’ve re-ordered them based on the logic above since order of execution actually matters.
Update the script and see if that solves the problem.
works now! thanks for the quick reply! 🙂
Sry to bother you, but is this how i do it?: I create a common event that is named “song” and it will play a song when i put on armor. Then i go to my armor and write “song” in the notes box. Is that how you do it?
You copy exactly what the instructions say to tag your armor with, using the ID of the common event. If your song event ID is 2 then you write 2, not “song”
Thank you! It works! Awesome script. 🙂
How do i “tag equips” I don’t really understand the explanation on how to use… Please tell! (I’m not too familiar with scripts…)
In your database select your equip and you should see a notes box where you add tags.
Thank you!
Do I do “equip event: >common event name<"?
No, just the ID of the common event.
What are the usage conditions on this script?
Free to use
For some reason, this script seems to be incompatible with the Scene Interpreter script.
This error comes up on a clean project with only the “Scene Interpreter” script above the “Common Equip Events” script whenever I utilize a usable item with a common event attached:
http://d.pictureupload.us/152536972251b253b00d22c.png
Without this script, it runs as it should:
http://d.pictureupload.us/187816143951b25490cadf6.png
I’ve updated the script to address the issue.