Common Events Manager (MV)

Discussion in 'Useful Development Tools' started by mjshi, Jan 14, 2016.

  1. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    Common Events Manager (MV) v1.0
    Get it here! (direct link)​
    Requires Python 3 to run.​
     ​
    Tired of having to manually correct everything when all you want is some space? Well, look no further.
    ​Commissioned by the wonderful Liak and okayed for public use.

    What it does:

    This utility can increase or decrease all common events by a set number, starting from a certain event, essentially "creating a space" or "shifting" all common events after it down (or up, but usually this utility is used to shift things down). Not only that, but when things are shifted around all skills, troop events, map events, events, items, everything that references the ID will automatically update to the new ID, so you don't have to go through all your 100+ events and manually change the common event IDs.

    [​IMG]

    Features:

    - Automatically corrects all references to common events on both maps and in the database!

    - Inserts a space for you, so you don't have to :3

    - Also works in reverse, can remove an empty common event and move everything up.
    - Detailed instructions are fool-resistant

    Usage:
    - Install Python 3
    - Put the .py file in your project's data folder
    - Double click to run and then follow the program's instructions.
    - Once it says "Operation complete", reopen your project and press CTRL + S to make sure that RPG Maker MV doesn't reject the edits.

    Screens:

    [​IMG]
    [​IMG]

    [​IMG]
     
    Last edited by a moderator: Jan 14, 2016
    #1
    Rayhaku808, Archeia, Shaz and 2 others like this.
  2. meowchelle

    meowchelle Veteran

    Messages:
    221
    Likes Received:
    79
    This is really awesome! Do you plan on making the same thing for the other tabs?
     
    #2
  3. Liak

    Liak Veteran Veteran

    Messages:
    1,789
    Likes Received:
    269
    Location:
    Germany
    First Language:
    German
    This tool works like a charm and will save us many hours of frustration! Thanks again for writing it that fast! :)
     
    #3
  4. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    @meowchelle: As of now, nothing has been planned for item/weapon/armor continuity throughout events. It'd be a really large project because I'd need to find out the JavaScript tags for every action possible that is related to items, giving items, conditionals of items... It'd be a large undertaking. Maybe if I can find the time/motivation for it :)

    @Liak: You're welcome ^^
     
    #4
  5. Liak

    Liak Veteran Veteran

    Messages:
    1,789
    Likes Received:
    269
    Location:
    Germany
    First Language:
    German
    We could all commission mjshi for one database tab at a time. Let's make this a community event. :D
     
    #5
  6. Brancliff

    Brancliff Villager Member

    Messages:
    24
    Likes Received:
    0
    First Language:
    English
    Is there any intention to someday add a feature to just move common events (and everything that references them in the database and map) around?
     
    #6
  7. mjshi

    mjshi Jack of Most Trades Veteran

    Messages:
    837
    Likes Received:
    657
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    N/A
    The problem with that is, if you have common events 1 and 2, and you want to swap them:


    Say originally you have:


    1 2 3 1 2 2 4 1


    First you loop through the files, make everything that is 2 into 1.


    1 1 3 1 1 1 4 1


    Now... you loop through them and make everything that is 1 into 2..?


    2 2 3 2 2 2 4 2


    The only way to fix this is to set them to something else like "a" and "b", then make all a's 2 and all b's 1, but this would require significant amounts of reworking of how this utility works. I'd need, again, to find the time/motivation for it xD


    Short answer: Perhaps I'll do it, during the summer months, or sooner if someone commissions it ;P
     
    #7

Share This Page