[SSG] Map Reference Events

Discussion in 'JS Plugin Releases (RMMV)' started by Heartbreak61, Oct 26, 2015.

  1. Heartbreak61

    Heartbreak61 Veteran Veteran

    Messages:
    182
    Likes Received:
    75
    Location:
    on the street, taking photograph of strangers
    First Language:
    Indonesian
    Primarily Uses:
    RMMV
    [simple Stupid Gaming] Map Reference Events v1.2.1
    by Heartbreak61

    Changelog
    2015.10.26 ver 1.0.0
    - Initial release

    2015.11.06 ver 1.1.0
    - Reference map is declared on event's note
    - Enables the user to set event on the same map as reference

    2015.11.14 ver 1.2.0
    - Fixed event's page not loaded properly after battle scene. (Thanks to Roguedeus for pointing this out)

    2015.11.15 ver 1.2.1
    - Fixed error when trying to load event on map with ID higher than 9

    Introduction
    Based on Tsukihime's Reverence Events for Ace. This plugin will assign an event as a reference for other events. Mostly useful if you have plenty of events which do the same thing (i.e. trigger a battle of same troop ID). Any change you make to the reference event will cause another event to change. This is a better method than copy-paste to overwrite the whole events.

    Features
    - Save your precious time (probably)

    Screenshots
    N/A

    How to Use
    Put inside the plugin folder of your project. Inside the note box of the event, please write:

    <ref_event:EVENT_ID, MAP_ID>where EVENT_ID is your reference event's ID and MAP_ID is the ID of the map of the reference event
    If you don't specify MAP_ID, this plugin will assume that the reference event is on the same map.


    Demo
    N/A

    Older Demos:
    N/A

    Script
    v1.2.1 https://dl.dropboxusercontent.com/u/75708618/RPG%20Maker%20MV%20Plugin/SSG_MapReferenceEvent/1.21/SSG_MapReferenceEvent.js

    FAQ
    Nothing yet

    Credit and Thanks

    - Heartbreak61
    - Tsukihime

    Author's Notes
    My first ever JS script. Took me two days to learn the syntax (started from learning the facts that Java and Javascript are actually different things, lol). I miss VX Ace built-in script editor already. Editing the script on different software is a new thing for me (so as unable to use the mighty ctrl + shift +f).
    Enough blabbering. I hope you could find this simple plugin helpful for your project.
     
    Last edited by a moderator: Dec 15, 2015
    #1
    Tsukihime and Bernkastel like this.
  2. Silent Darkness

    Silent Darkness Robomage Veteran

    Messages:
    2,284
    Likes Received:
    321
    Location:
    Dark Realms
    First Language:
    English
    Is there any chance of getting documentation included inside the .js file? It comes up blank on the plugin manager.
     
    #2
  3. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    515
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    N/A
    I've been bugging Hime to convert Reference Events for MV and this may just be a suitable alternative!

    However, I am curious. Would it be to much to request an option that allows the specification of the map_id & event_id of the copied event? This way we can reference events from multiple maps. (Or just reference same map events for convenience)

    Thanks for your time!
     
    #3
  4. Heartbreak61

    Heartbreak61 Veteran Veteran

    Messages:
    182
    Likes Received:
    75
    Location:
    on the street, taking photograph of strangers
    First Language:
    Indonesian
    Primarily Uses:
    RMMV
    roguedeus: It's possible. I remake this script because on my previous project, I collected all my reference event on a single map. That's why I modified this plugin based on my preference.

    I will update this plugin so the user could also set the map ID for reference map.

    Silent Darkness: what documentation? I think I have written some instruction how to use this script inside the js file.
     
    #4
  5. Silent Darkness

    Silent Darkness Robomage Veteran

    Messages:
    2,284
    Likes Received:
    321
    Location:
    Dark Realms
    First Language:
    English
    Oh. Nevermind.

    That's weird, a previous version of this script I downloaded didn't have functioning help.

    It works fine now.
     
    #5
  6. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    515
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    N/A
    Thanks I appreciate that. That sort of thing would be really helpful.
     
    #6
  7. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    515
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    N/A
    Your latest update does copy an event just fine, but the copied event doesn't appear to retain all the pages of the original.

    This is a visible encounter reference event:

    15_1105_reference_events_issue_a.PNG

    After WIN, the event never triggers its next page. As if it doesn't have one.

    15_1105_reference_events_issue.PNG
     
    #7
  8. Heartbreak61

    Heartbreak61 Veteran Veteran

    Messages:
    182
    Likes Received:
    75
    Location:
    on the street, taking photograph of strangers
    First Language:
    Indonesian
    Primarily Uses:
    RMMV
    @roguedeus

    Weird. I've checked it with multiple pages and worked fine.

    I'll take a look again after my daytime job.
     
    Last edited by a moderator: Nov 6, 2015
    #8
  9. Roguedeus

    Roguedeus It's never too late to procrastinate... Veteran

    Messages:
    515
    Likes Received:
    103
    First Language:
    English
    Primarily Uses:
    N/A
    I'll verify it in a clean demo (and share it) so you'll have to do less legwork.
     
    Last edited by a moderator: Nov 6, 2015
    #9

Share This Page