EST - EVENT SIZE AND TRIGGER

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
■ 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 ╒══════════════════════════╛
(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
(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:

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:
[ 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
 
Last edited:

Tommy Gun

♩ ♪ ♫ ♬
Veteran
Joined
Jan 20, 2014
Messages
385
Reaction score
122
First Language
English
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?
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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 .
 

MikeMakes

Veteran
Veteran
Joined
Sep 30, 2015
Messages
163
Reaction score
41
First Language
English
Primarily Uses
Thank you, estriole! This is really helpful for large charsets. 

 
 

Tommy Gun

♩ ♪ ♫ ♬
Veteran
Joined
Jan 20, 2014
Messages
385
Reaction score
122
First Language
English
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!
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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
 
Last edited by a moderator:

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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
 
Last edited by a moderator:

Mattchaby

Villager
Member
Joined
Nov 19, 2015
Messages
15
Reaction score
3
First Language
French
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
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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
 
Last edited by a moderator:

Mattchaby

Villager
Member
Joined
Nov 19, 2015
Messages
15
Reaction score
3
First Language
French
Wow glad this could help :)  

I'm waiting for your updates then!

Thanks again
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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.
 

Mattchaby

Villager
Member
Joined
Nov 19, 2015
Messages
15
Reaction score
3
First Language
French
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. 
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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... >.<
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,033
Reaction score
337
First Language
indonesian
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 .
 

takuantoono

Villager
Member
Joined
Jan 26, 2016
Messages
7
Reaction score
1
First Language
Japanese
Primarily Uses
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
 

TombaLaBomba

Villager
Member
Joined
Mar 2, 2016
Messages
16
Reaction score
2
First Language
German
Primarily Uses
Hi Estriole


Really cool plugin! Could you make Event Size and Trigger compatible with Quasi Movement?
 

Timaden

Warper
Member
Joined
Mar 14, 2016
Messages
2
Reaction score
0
Primarily Uses
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
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I picked up For The King in a Humble Bundle sale, and one mechanic that stuck out to me was a physical change to the world map when finishing a side quest. That got me thinking about special map-effect rewards for certain side quests in my game.
Stream will be live shortly with some Witcher 3! Feel free to drop by!
This forum is a great source of procrastination for me.
Today I read "The mouth speaks what the heart is full of." Simple, and reminds me I have a ton of work to do.
Why are cats so darn cute when their tongues are sticking out? If I did that, it wouldn't have the same effect.

Forum statistics

Threads
94,399
Messages
920,665
Members
124,193
Latest member
Oirammm18
Top