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

[制作教程] How to create Rare Monsters using Yanfly's "Swap Enemies&q

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    慵懒
    3 天前
  • 签到天数: 207 天

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 15:08 | 显示全部楼层 |阅读模式
    Anyone here that has played any game like: Diablo or Path of Exile and even Pokémon or Final Fantasy; will be familiar with the concept of a Rare Spawn.


            For those of you that aren't, a "Rare Spawn" is a variation of a monster, or perhaps an entirely different monster, that has only a small chance of appearing within the game world,


            giving players either the added risk of a stronger enemy appearing, or the chance to take out a rare monster for equally rare rewards. (Or bragging rights in the case of Pokémon).


            We can achieve this in RPG Maker MV by utilising the "Swap Enemy" Plugin by Yanfly (Link here)


            The plugin is designed to allow players to create a 'Swap Dummy' to place into a Troop that will randomly transform into a given enemy upon encountering, to make encounters more random.


            But here we'll be using the Plugin to create a "Rare Spawn" enemy.


            The first step is to create your 'Base' Monster:


           


            Then create as many "Rare" monsters as you want, though 1 to 2 is probably the best:


           


            For this Tutorial we will say Harbinger of Doom's ID is "7", and Harbinger of Destruction's ID will be "8".


            -----------


            Then in the Note Box of your Base Monster, insert the following:


            <Swap: 7, 7, 7, 7, 7, 7, 7, 7, 7, 8>


            By having Nine 7's and only One 8, we now have it set up so that when Monster "7" appears in an encounter there is a 10% chance (1/10) that it will instead be replaced by Monster "8".


            By inserting multiple instances of the same ID, the chance that that monster will replace the Base Monster will increase proportional to how many instances there are and how many IDs you have in total in the Tag.


            So if you wanted to have a 10% chance for a Rare monster to spawn, but you'd want an even chance of that Rare being one of two different variations, you can


            insert Eighteen 7's, One 8 and One 9, like so: <Swap: 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 9>.


            This give's you have 10% Chance (2/20) that a Rare Monster will be swapped in, and a 5% Chance (1/20) that Monster 8 will be the one to Spawn.


            This get's more tedious as the chance to spawn becomes lower, as you require a higher Total Number of ID's in the Tag.


            ----------


            In this image I had swapped out the Demon pictures for Cockatrice's, simply to fit more on the screen, but here you can see that out of the 8 monsters,


            only one (Bottom Center) has been replaced by it's Rare counterpart.


            If I were to run this battle multiple times, it's likely that none of the monsters will swap out, but also possible that multiple could become rare variations.


           


            I hope this tutorial inspires people to include this mechanic into their games and to add some really fun depth to their battles.


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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-10 02:07 , Processed in 0.135775 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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