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

[制作教程] Evented Home-Cooking Skill

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

    连续签到: 1 天

    [LV.7]常住居民III

    3646

    主题

    862

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 前天 17:08 | 显示全部楼层 |阅读模式
    Home Cooking Skill Tutorial: by BottleCapGames

    Today we will be making a Home-Cooking Skill inspired by Miitopia (a strange RPG) through common events. In the Home Cooking skill, the user will randomly cook a food item and have it added to their inventory depending on their level and RNG. It may seem complicated, but it's easy once you get the hang of it.

    REQUIRMENTS: You will only need RPG Maker MV to do this.

    Difficulty: Medium (Note: Patience is definitely a value here.)

    EDIT: PLEASE READ!: This tutorial has been changed. There was a problem with the math before, so if you already read the tutorial please read it again as I changed my math... Sorry...


    Now let's get started!

    ITEMS
    First of all, you will need the items the user might cook up. For the sake of the tutorial, I have only made 5, though you can make as many as you would like (or add existing items).

    [url=https://forums.rpgmakerweb.com/attachments/huuuuhhh-png.71080/][/url]


    Make sure that Consumable is set to yes, and Occasion is set to Always.
    Now to make the skill! (Note: Use more than 5 items in your skill. It just helps the skill become complete. I did it so didn't have to spend to much time on it, so don't do what I did.)

    SKILL
    Now, this may seem long and complicated, but it's simple once you get the hang of it. It's just a lot of conditional branches. STEP 1: Make a new common event. STEP 2: Create a variable named 'Food Level'. This variable should be set to the level of the user. For example, if Harold was the user of this skill, this Food Level variable would be set to Harold's level.



    Food Level is used so the player gets better items the higher the level the user is. STEP 3: Make a conditional branch checking if Food Level is more than or equal to 5. (Note: This would mean Harold is Level 5 or higher. Also, you would want to put a higher level than 5, as the first level is the highest level this skill will go.) STEP 4: Create a new variable called 'Food Chance' and set it on Random. (Note: Depending on how many items you want to have at that level, the random numbers will be different. If you only want 3 items available at Level 5, set it to random between 1 to 3. Same goes for 5 items, set it to random between 1 to 5.)
    STEP 5: Set a conditional branch checking if Food Chance is set to 1. If so, add a Change Items command and add 1 of your first item. Rinse and repeat Step 5 for every random number adding a different item. When you are done, it should look like this.





    Under the Else of the very first conditional branch is where you put all the stuff if Harold was Level 1 or higher (Or the next level under our max level. ). Finally, create a new skill, call it Home Cooking, have the scope set to none, occasion set to Always, and under effects tie it to our Home-Cooking common event. Now give it to an actor, and now we're done!

    OVERVIEW
    We have now finished our Home-Cooking Skill! If this skill does not work with your game, please leave a description of the problem and I will try to help the best I can. If there is a error in my tutorial, please tell me so I can fix it.

    And if you have any eventing tutorial requests, PM me your request and I will try to do it as fast as possible.

    Thanks, and good luck!





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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-10 02:05 , Processed in 0.110236 second(s), 56 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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