Command: Change Equip

This script allows you to add a “change equip” command using the Command Manager for your actors in battle. This allows you to change equips during battle.

You can specify a cooldown in between equip changing, as well as specify states that will disable equip changing.

command_changeEquip

Download

Script: download here
Required: Command Manager

Installation

Place this script below Command Manager and above main.

Usage

Tag actors with the following note-tag to give them the change equip command:

<cmd: change_equip cooldown>

Where the cooldown is an integer that indicates how many turns you must
wait before you can change equips again in battle. If it is not specified,
then it is 0.

There are several configuration options. You can set the text to display for this command.

You can specify that an actor will pass the current turn if the actor decides to change equips.

You can specify states that will disable equip changing while the state is applied.

You may also like...

19 Responses

  1. Wow, incredible blog format! How lengthy have you been blogging for?
    you made blogging look easy. The total glance of your site is
    great, let alone the content material! You can see
    similar here ecommerce

  2. hello there and thank you for your info – I
    have definitely picked up anything new from right here. I
    did however expertise several technical points using this web
    site, since I experienced to reload the site many times previous to I could get it to load properly.
    I had been wondering if your hosting is OK? Not that I’m complaining, but slow loading instances times will
    sometimes affect your placement in google and could damage your quality
    score if ads and marketing with Adwords. Well I’m adding this RSS to my email and can look out for a lot
    more of your respective exciting content. Ensure that you update this again very soon.

  3. Ray009 says:

    I’m having a problem when I want to change equipment, it gives me an error with:
    Script “Window_EquipItem’ line 73: TypeError occured.
    no marshal_dump is defined for class SpriteHUD_Main

    It did the same with yanflys battle equipment script so I’m guessing it’s a compatibility issue (with maybe luna engine…?)
    Is there any way it can be fixed or is there something I can do ?

    • Hime says:

      Do you have the same problem when you go to the equip screen outside of battle? It may be a different script that’s causing issues since all this script does is call the equip scene.

      • Ray009 says:

        No, only when I try it in battle :c

        • Hime says:

          It probably is a compatibility issue with luna engine then. I don’t know what it could be though.

          • Ray009 says:

            The sad thing is that all scripts that allow for battle equip change give me the same error, the one i copied.

          • Hime says:

            Does it occur without the luna engine?

          • Ray009 says:

            No, I deleted luna engine to try it out and it works completely fine
            without it.

          • Hime says:

            Then it is a compatibility issue with luna engine. You can either upload a new project with just luna engine and the command scripts, or request someone that is familiar with luna engine to write a patch in case you are not allowed to share projects with the engine freely.

          • Ray009 says:

            Alright, I’ll do that, thanks for your help though and thanks for bearing with me 😀

  4. xallever says:

    Is it possible to add the tag on a class rather than on an actor?

  5. soapSalesman says:

    I'm having a problem. If the last character in the group uses the equip command while in battle, the info viewport only moves back into place a fraction of the way (then the battle turn is processed), leaving the "Fight" and "Escape" command window in the bottom left to be nearly completely off-screen. Is there a way to fix this or have I done something wrong?

  6. Gems says:

    I was wondering.
    Is there a way to make it so you can only equip a certain item in battle?
    In my game, the main character can equip Cards that hav different effects on him.
    Later on he can switch them in battle.
    How do I make to where its just the cards that can be reequipped?

  7. Kazuki says:

    This is Kazuki Takamura, this script does useful. However I am curious is there a way to use a script call to enable the equip command in battle? One more question, is there any scripts compatible with this script that allows equipping a certain weapon change a character’s class?

    • Tsukihime says:

      To add conditions to your commands, you would need to modify the script. If you look in the script you will find a class called Command_ChangeEquip, which defines a usable? method. You can change this condition to anything you want, such as checking for a switch or a variable in addition to the default conditions. You can then use script calls to operate on the condition as required. Don’t know about your second question.

Leave a Reply to Tsukihime Cancel reply

Your email address will not be published. Required fields are marked *