设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 58|回复: 0

[转载发布] EST - EVENT SIZE AND TRIGGER

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    2026-7-12 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    7959

    主题

    864

    回帖

    3万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    29925
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    38778

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    ■ 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

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



                                            www.dropbox.com                               



    (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



                                            www.dropbox.com                               



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

    Spoilerplace 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


    本贴来自国际rpgmaker官方论坛作者:estriole处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/est-event-size-and-trigger.48891/

    本帖子中包含更多资源

    您需要 登录 才可以下载或查看,没有账号?立即注册

    x
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-8-1 04:45 , Processed in 0.141299 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表