EST - EVENT SIZE AND TRIGGER

● ARCHIVED · READ-ONLY
Started by estriole 20 posts View original ↗
  1. ■ Information ╒══════════════════════════╛
    EST - Event Size And Trigger
    Version: 1.2
    By Estriole
    File name: EST_Event_Size_And_Trigger.js

    ■ Introduction ╒══════════════════════════╛
    This script can give Size to event. Event size is not passable by player. the size adding method
    also have lots of freedom. for example we can add 2 tiles up, 1 tiles left, 1 tiles right.
    There's also extra trigger feature. which add another coordinate where we can activate that event.
    you could also make every event size can activate the event.

    ■ Features ╒══════════════════════════╛
    - Event Size (LARGE EVENT !!!)
    - Extra Fix Size => fixed coordinate on map where you want to become size
    - Extra Dynamic Size => dynamic coordinate on map based on event xy where you want to become size
    - Extra Fix Trigger => fixed coordinate on map where you can activate the event.
    - Extra Dynamic Trigger => dynamic coordinate on map based on event xy where you can activate the event.

    ■ Changelog ╒══════════════════════════╛

    older changelog in spoiler

    Spoiler
    v1.0 2015.11.02 Initial Release
    v1.1 2015.11.09 - more code tweak...
    - added temporary compatibility patch with Galenmereth MouseSystem Ex
    hopefully in his next update he add the feature i requested so i don't
    need overwrite and just use alias.
    - improved code to make it flow with EST - BUILD AND DECOR EX plugin
    v1.3 2015.11.10 - fix compatibility patch for Galenmereth MouseSystem Ex.
    which will crash if that script not installed.
    - fix dependency to Yanfly Core.
    (i create the plugins with Yanfly Core active. and didn't realize it fix MV bugs)
    now it should be ok without yanfly core. (i advise still using his core though
    it have many other bugfixes)

    ■ Plugin Download ╒══════════════════════════╛
    Dropbox (update the dead dropbox link)
    warning: this plugin created using earlier MV version. this might not work in updated MV.
    you can ask other scripter to create compatibility patch since i already retired.
    i only update the link for people who want to make the patch.

    demo
    Dropbox (update the dead dropbox link)
    warning: this plugin created using earlier MV version. this might not work in updated MV.
    you can ask other scripter to create compatibility patch since i already retired.
    i only update the link for people who want to make the patch.


    ■ How to use ╒══════════════════════════╛
    1) Give Event Size:

    Spoiler
    place COMMENT tag on event page: <event_size: top left right down> example

    <event_size: 2 2 2 0> will add size 2 tiles up, 2 tiles left, 2 tiles right.
    XXXXX
    XXXXX
    XXOXX X = size, O = event position
    2) beside above method you can Add Extra Size in case you have different shape of event graphic beside
    rectangular... there's two method. first is FIXED coordinate. second is DYNAMIC coordinate;
    Spoiler
    -> Fixed Coordinate (static coordinate):
    give comment tag <extra_fix_size: [x1,y1]; [x2,y2]; [x3,y3]; [x4,y4];.......> every coordinate (array) MUST be separated by ; (semicolon)
    example:

    <extra_fix_size: [10,4]; [3,5]; [2,1]; [3,4]> will add extra size on coordinate above.

    -> Dynamic Coordinate (array) (based on event position. example event x +10, etc):
    give comment tag

    <extra_dynamic_size: [x1,y1]; [x2,y2]; [x3,y3]; [x4,y4];.......> every coordinate (array) MUST be separated by ; (semicolon)
    example:

    <extra_dynamic_size: [1,3]; [-1,4]; [1,2]; [3,4]> will add extra sizes in coordinate event x + dynamic size above...
    3) we can make every event SIZE can also trigger the event...
    give comment tag<size_trigger> 4) number 3 not enough... ??? you can also add Extra Fix Trigger and Extra Dynamic Trigger

    Spoiler
    -> Fixed Coordinate (static coordinate):
    give comment tag <extra_fix_trigger: [x1,y1]; [x2,y2]; [x3,y3]; [x4,y4];.......> every coordinate (array) MUST be separated by ; (semicolon)
    example:

    <extra_fix_trigger: [10,4]; [3,5]; [2,1]; [3,4]> will make we can trigger that event in 10, 4 coordinate, etc.

    -> Dynamic Coordinate (array) (based on event position. example event x +10, etc):
    give comment tag

    <extra_dynamic_trigger: [x1,y1]; [x2,y2]; [x3,y3]; [x4,y4];.......>
    every coordinate (array) MUST be separated by ; (semicolon)
    example:

    <extra_dynamic_trigger: [1,3]; [-1,4]; [1,2]; [3,4]> will make we can trigger that event in EVENT x & y position + coordinate above.
    Both Dynamic size and Dynamic Trigger coordinate will updated WHEN THE EVENT change places (moving, jump, etc)

    while fix size and trigger will remain static in that coordinate.

    ■ Dependencies ╒══════════════════════════╛
    None

    ■ Compatibility ╒══════════════════════════╛
    I'm new in JS... and MV is new engine... so i cannot say for sure.
    but it should be compatible with most things.

    ■ Parameters ╒══════════════════════════╛
    None

    ■ License ╒══════════════════════════╛
    Free to use in all project (except the one containing pornography)
    as long as i credited (ESTRIOLE).

    ■ Support ╒══════════════════════════╛
    While I'm flattered and I'm glad that people have been sharing and
    asking support for scripts in other RPG Maker communities, I would
    like to ask that you please avoid posting my scripts outside of where
    I frequent because it would make finding support and fixing bugs
    difficult for both of you and me.

    If you're ever looking for support, I can be reached at the following:
    [ http://forums.rpgmakerweb.com/ ]
    pm me : estriole


    ■ Author's Notes ╒══════════════════════════╛
    This is part of the EST - DECOR AND BUILD SERIES.

    EST - SAVE MAP EVENTS

    EST - CLONE TRANSFORM DELETE EVENT

    EST - EVENT GRAPHIC SHIFT

    EST - EVENT SIZE AND TRIGGER

    EST - BUILD AND DECOR EX

    EST - REGIONMAPLOADER
  2. So with this plug-in I could make a giant lake with one event, and then the player could click ANYWHERE on the lake and it would trigger? Is that right? And I could have a giant monster walking around, and the player wouldn't be able to walk "through" the sides of it?
  3. Tommy Gun said:
    So with this plug-in I could make a giant lake with one event, and then the player could click ANYWHERE on the lake and it would trigger? Is that right? And I could have a giant monster walking around, and the player wouldn't be able to walk "through" the sides of it?
    for clicking... you need to move the player to that coordinate though... i will try to make

    http://forums.rpgmakerweb.com/index.php?/topic/46511-mouse-system-ex/

    compatible... so we can click on trigger from a far to activate the trigger.

    for large monster... yes... this is one of the purpose of this plugin. i use it for buildings though... i create charset containing buildings... so i can animate it using move route... see the demo's pokemon center is animated... also house with chimney smoke... etc. but the problem is without this plugin... we can walk through wall :D .
  4. Thank you, estriole! This is really helpful for large charsets. 

     
  5. estriole said:
    for clicking... you need to move the player to that coordinate though...
    Sorry, that's what I meant -- click with the keyboard by walking to it. Very cool!
  6. Tommy Gun said:
    Sorry, that's what I meant -- click with the keyboard by walking to it. Very cool!
    now we can click it using http://forums.rpgmakerweb.com/index.php?/topic/46511-mouse-system-ex/

    place my plugin below it...

    updated the script to v1.1

    changelog:

       v1.1 2015.11.09           - more code tweak...

                                 - added temporary compatibility patch with Galenmereth MouseSystem Ex

                                 hopefully in his next update he add the feature i requested so i don't

                                 need overwrite and just use alias.

                                 - improved code to make it flow with EST - BUILD AND DECOR EX plugin

    Currently in final phase on Build And Decor EX plugin... still working on adding plugin command. i guess tonight the plugin could be released...

    stay tuned :D .

    the plugin is will be conversion of my ACE script:

    http://www.rpgmakervxace.net/topic/15689-est-build-and-decor-series/

    it will be EST - Build and Decor + Decor Movement conversion in one plugin
  7. another update... in response of Galenmereth MouseSystem Ex update:

    i already posted EST - Build And Decor EX plugin but it's awaiting moderation.

    updated the plugin to v.1.2

    changelog:

       v1.2 2015.11.10           - changed compatibility patch for Galenmereth MouseSystem Ex.
                                 since he add the feature i requested... i can use alias now.

    edit: updated the demo... if you want to take a peek at EST - Build And Decor EX

    just download the demo. it already contain that plugin :D
  8. updated the script to v. 1.3

       v1.3 2015.11.10           - fix compatibility patch for Galenmereth MouseSystem Ex.
                                 which will crash if that script not installed.
                                 - fix dependency to Yanfly Core.
                                 (i create the plugins with Yanfly Core active. and didn't realize it fix MV bugs)
                                 now it should be ok without yanfly core. (i advise still using his core though
                                 it have many other bugfixes)
     

    this remind me to turn off all other plugins before testing it. >.<

    i got yanfly core installed and didn't realize MV have bugs which then affect my plugin. now it should be ok without yanfly core...

    although i still advise using yanfly core. since it fix bugs from original MV.

    btw demo updated...

    i put my next plugin there...

    EST - REGIONMAPLOADER

    but it still have bugs when loading savefile... so i will try to fix the bugs before releasing it.

    don't use it yet. :D .

    also... it might be slow process. since a storm recently hit my hometown. and got some power lines broken.

    our electricity is damaged. and take turn on having electricity. (24 hour off 6 hour on). that's why that plugin is not finished yet.

    EDIT: EST - RegionMapLoader is finished... fixed all the bugs...

    currently awaiting moderation for the plugin post... if you're not patient... just grab from the demo :D .

    demo is updated with the final version of that plugin
  9. Hello! I'm trying to mix together this plugin with your Build and Decor Ex and the DMV Map Buttons.

    Everytime I'm placing a furniture (event+1X size) using the map button (using a touch screen), it's automatically placed over my main character and I cannot move the event. Therefore, when moving my character away, it causes a crash "boolean is not a function" related to the passability check of Event Size and Trigger plugin :

    448:11

       at Array.forEach (native)

       at Game_Player.startMapEvent

    445:21

       at Game_Player.checkEventTriggerHere

    (sorry for no screenshot nor copy/paste, a bit stuck at the moment)

    Maybe it's a bit too much asked of the plugins at the moment, but I'd love be able to place large events that can automatically check passability on terrain, while using a touchscreen :D
  10. Mattchaby said:
    Hello! I'm trying to mix together this plugin with your Build and Decor Ex and the DMV Map Buttons.

    Everytime I'm placing a furniture (event+1X size) using the map button (using a touch screen), it's automatically placed over my main character and I cannot move the event. Therefore, when moving my character away, it causes a crash "boolean is not a function" related to the passability check of Event Size and Trigger plugin :

    448:11

       at Array.forEach (native)

       at Game_Player.startMapEvent

    445:21

       at Game_Player.checkEventTriggerHere

    (sorry for no screenshot nor copy/paste, a bit stuck at the moment)

    Maybe it's a bit too much asked of the plugins at the moment, but I'd love be able to place large events that can automatically check passability on terrain, while using a touchscreen :D
    i really thank you for your post

    why? when i add above feature to also 'check size' when moving decoration in EST - Build and Decor Ex... i manage to do that plus this other thing:

    -) remove the need to placeholder event for decor movement... which also accidently make me found next problem...

    -) found a bug in EST - Clone Transform Delete Event

    -) add limitRegion so you can limit where you can place your decoration when you move them...

    -) add transparency if event cannot be placed which make me found next problem

    -) found a bug in EST - Graphic Shift EVO

    so it's bugs combo finding. :D . one bug fixed lead to finding another bug. :D

    above changes is finished... but i will post the update tonight...

    going to dinner with my wife first. when i get home i will update 3 plugin above:

    i also have to update the plugin documentation and demo for all this plugin:

    EST - BUILD AND DECOR EX

    EST - CLONE TRANSFORM DELETE EVENT

    EST - GRAPHIC SHIFT
  11. Wow glad this could help :)  

    I'm waiting for your updates then!

    Thanks again
  12. Mattchaby said:
    Hello Estriole,

    Sorry but I still have the same issue after updating everything :(

    Screenshot:

    https://app.box.com/s/r9df0o89qbh110rb4cmk969avjxl7rd0

    It seems that the changelog of this plugin is still the same; maybe is was not uploaded in Dropbox?
    This plugin didn't updated... other plugin of the decor series is the one that get updated. Since the bug is from that other plugin...

    Can you tell me what version your:

    EST-Save Map Event

    EST-Clone Transform Delete Event

    EST-Build Decor Ex

    EST-Event Size and Trigger

    I will look at the for each that throwing error from your screenshot.

    There's also possibility of plugin incompatibility. Since my demo work fine. I can place pokemon center / rtp house without crashing.
  13. My versions:

    1.6 EST-Save Map Event

    1.9 EST-Clone Transform Delete Event

    1.5 EST-Build Decor Ex

    1.2 (but 1.3 in changelog) EST-Event Size and Trigger

    I'm also using EST_RegionMapLoader 1.1

    My user case is that I'm using the on-screen button shortcut to call a large event while using a touchscreen, so my screen doesn't have any mouse cursor. Maybe it's related? I'll have to test on a proper computer to reproduce the issue. 
  14. Hmmm... all is the newest version...

    Do you use online browser to run that in your touchscreen device? Or you create apk/ipa?

    If you use online browser...

    How do you 'host' the game? Since i have read someone getting cached version of his game when using certain way to host the game. So even he update the plugin... it will still use old version which cached.

    Does it also happen from editor - playtest in your pc?

    Also... try downloading my demo and host the way you host yours... does it throw error?

    I cannot replicate the bug you post... my demo also work fine without crashing... >.<
  15. updated plugin to v1.4

    changelog:

       v1.4 2015.12.27           - fix compatibility patch for Galenmereth MouseSystem Ex to work with newest version
     

    i also update EST - BUILD AND DECOR EX plugin... check it out :D .
  16. That's great plugin which I wanted for!


    I have a small problem with using your plugin " Event Size and Trigger ".


    If "Trigger" of an event is set as "2(Event Touch)", the event contents cannot be activated in enlarged range by touching with player from the event's moving.


    (It can be activated by touching from player though.)


    It will be greatly appreciated if this issue is fixed. 

    pic.png
  17. Hi Estriole


    Really cool plugin! Could you make Event Size and Trigger compatible with Quasi Movement?
  18. Hey EST, thks for your plugin. can you help me, i keep getting error 26 property undefined when i run the game with the new size