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

[转载发布] Encounter Alert

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

    连续签到: 2 天

    [LV.7]常住居民III

    9071

    主题

    864

    回帖

    6万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 2026-7-30 11:41:21 | 显示全部楼层 |阅读模式
    This script displays an encounter balloon over your player character on the

    map whenever you are about to encounter a random battle monster.

    When this balloon is displayed, the player can choose to skip the random

    encounter by pressing a specific button.

    This only applies to random encounters.





    Download

    Script and demo: Get it at Hime Works!

    You will also need this spritesheet. Place it inside your Graphics/System folder





    Usage

    Place the above spritesheet into your Graphics/System folder.

    There are several configuration options, though the defaults should be fine for most purposes.

    You can disable the encounter balloon option by making a script call

    Skip Condition

    Each troop comes with a skip condition, which is a special condition

    associated with the troop that determines whether your party can skip

    the battle or not.

    To set up a skip condition:

    1. Create an event page for the troop

    2. The first command must be a comment, with the line

    <skip condition>3. The second command is a conditional branch, which you will use to specify the skip condition



    Whenever a random encounter appears, the colour of the balloon determines

    whether you can skip the battle or not: if it is red, then you can’t skip.

    If it is blue, then you can skip. The skip condition must be met in order

    for the balloon to be blue. If no skip condition is specified, then it is

    assumed to be not skippable.





    Encounter Points

    In order to skip battles, you must have enough "encounter points". The encounter points are stored with the game party, and tied to a variable of your choice.

    In the configuration, you can set the max amount of encounter points you can have.

    Each troop may require a certain amount of encounter points in order to skip.

    If you choose to skip the battle, then your encounter points will decrease

    by that amount.





    To specify the amount of encounter points is required to skip a battle:


    • In the same troop page that you used for the skip condition
    • Create a comment "<encounter points>"
    • Create a "control variable" command, and use the script box to set theamount of encounter points required. This is a formula.



    Encounter Level

    In addition to encounter points, a party also has an encounter level.

    This can be used in the encounter points formula.

    You can change the encounter level by changing the assigned variable, or using script calls

    encounter_level_up(x)encounter_level_down(x) Disabling encounter skipping

    You can disable the encounter balloon option by making a script call

                    Code:       
    1. disable_encounter_balloonenable_encounter_balloon
    复制代码

    If disabled, random encounters will be processed as usual.


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-8-17 15:07 , Processed in 0.107412 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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