Jump to content
Sign in to follow this  
estriole

EST - EVENT SIZE AND TRIGGER

Recommended Posts

 â–  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

 


   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 â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›
  Download

  Demo Download (All Build and Decor series share the same demo)

 

 â–  How to use       â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•›
 1) Give Event Size:

 


      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;


    -> 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


   -> 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:
 [ www.rpgmakervxace.net ]
 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

Edited by estriole

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted