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

[制作教程] Random Chest Event & Reset

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

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 13:36 | 显示全部楼层 |阅读模式
    This is likely one of the most wanted things people have been looking for.


    Step 1:


    You need to make these two switches.  I chose 6 and 7 but they can be whatever you want.  


    **Note switch 7: I want to set this up so I can set up this up like a tutorial event the 1st time the chest is opened**


    [/url]


    Step 2:


    You need to make a control variable.


             [url=https://forums.rpgmakerweb.com/attachments/variable-jpg.29287/]



            **Note that I made this count a random number between 1 to 100**


            **It can be 1 - 300 or 1-1000 whatever you want it to be**


    [/url]


    Step 3 A:


    This is what I set up:


    Use a condition branch of the variable 


    In this example if the random number is equal to less than or greater than 10.


    [url=https://forums.rpgmakerweb.com/attachments/conditional-branch-jpg.29290/]



    Which now shows in the area I circled


    The text is used as a first time opened tutorial letting you know what the chest does.


    I will set it up where this shows only one time then goes away.


    Step 3B:


    Look at the conditional branch that I showed you in Step 3A.


    So from this you can see that the 1st time you open the chest you'll get a quick message then


    if the Red Chest #1 Event rolls a number Equal to or less than 10.  You'll get a potion.


    I also turn on the switch shown in Step 1: Check Chest 1st Time.


    [/url]


    Step 4:


    You need to make a conditional branch in the else branch of the last conditional branch using the same variable higher than 10. As shown in Step 3B just under where I circled.


    In this case I chose 20.  Then follow the steps that gives an item.  In this case if the random number is equal or less than 20.  You get whatever item that you put as a reward.


    **Note that you will need to place the same switches in each conditional branch.  It would be best if you copy the 1st conditional branch into the else branch then


    change the variables, reward and text.


    [url=https://forums.rpgmakerweb.com/attachments/step-4-jpg.29292/]



    Step 5:


    It should be easy now.  You can make a conditional branch so it will be equal to or less than 30 or 40 whatever and follow the same steps.


    Just make sure you put each conditional branch into the else of the last one you created.


    Step 6:


    Okay you're making progress.  This is the part where you don't want the same message to pop up each time you open the chest and you don't want people to spam


    the chest pulling out random items of your choosing at will.


    So you make this page.  Note that you see the required switch to see this.  Check Chest 1st time.


    That should kill the 1st page for good.


    [/url]


    Step 7:


    Ofcourse, you didn't want to eliminate the chest from giving out items. so copy and paste the event of the 1st page.


    You'll have to do some editing.


    1st you elimate the tutorial test. Also the switch Check Chest 1st Time


    Also look at the required switch Red Chest Reset(This should keep people from spamming the chest).  Also note that you have to turn that of on each conditional branch made.


    [url=https://forums.rpgmakerweb.com/attachments/3rd-page-jpg.29284/]

             


    Step 8:
    This is an event you can put on the ground without any graphic.  You just want to make sure people step on it.  You see it turns on the Red Chest Reset switch.


    You could put up a message like to go back and check the chest again.  But I prefer not letting them know.  Or atleast let them figure it out themselves.


    This will reset the event to page 3 of the Random Red Chest event.


    [/url]


    And there you have it.  Post or message me if you have any questions.

    [url=https://forums.rpgmakerweb.com/attachments/1st-page-jpg.29282/]



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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-10 03:00 , Processed in 0.101273 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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