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

[制作教程] [Guide] Kill "x" amount of monsters quest w/ progress updates

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

    连续签到: 2 天

    [LV.7]常住居民III

    4552

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

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

    灌水之王

    发表于 3 天前 | 显示全部楼层 |阅读模式
    I know this probably isn't anything too impressive and I probably did this in a very messy and unprofessional way but considering I've been using the program for 12 hours, I'm impressed I figure out how to finally get it to work after hours of googling and searching forums.

    Any criticism or advice is totally welcome. I put a lot of work into this mostly to work my brain and help me learn.

    This is a simple, kill count quest, with a reward. This will create ONE monster, that doesn't despawn until you've killed it 5 times.

    Also includes progress text box [EX: You killed X/10 Monsters].



    https://www.youtube.com/embed/U32ZIPTPJlY









    Monster Event
    -----------------


    • Create event
    • Choose graphic
    • Name event
    • This is how my monster event is set up


    • Double click the first line with the '@' symbol
    • Select 'Battle Processing', with monster of choice



    • Select 'Continue Even When Loser', hit okay
    • Under "if win"; double click the line, and then hit 'Control Variables'




    • Make sure to name the variable
    • Make sure you tick the 'ADD' operation
    • Make sure the constant is set to "1"!
    • This will add one kill to the counter after every successful kill.
    • Now double click on a new line below the one we just made and select 'Show Text'
    • Type in "Killed \v[X] Monsters" (Replace X with the number your variable corresponds with)
    • This will print out a count, after every successful kill. For example, after killing 1 monster it would print out "Killed 1 / 5 Slimes", after 2 kills it would say 2 / 5, etc.
    • Now, under 'If lose' - do the same as before, double click the line after "If lose" and select 'Control Variables'
    • Select 'Operation' as "Add", except this time, make the constant "0". Which means no kill = no count.



    • Under "end branch", double click the line and select 'Conditional Branch'
    • On page one, select 'Variable', select the same one we used before.
    • Under that select 'Constant', and set it to "5" (or how ever many kills you want, adjust everything accordingly)
    • And we are done with this section.

    QUEST NPC
    ---------------



    • Create an event, name it, give it a graphic.



    • Set 'Trigger' to "Player Touch" in the drop down menu
    • Double click the first line by the '@' symbol
    • Select 'Control Switches'



    • Create a switch by naming it
    • Make sure it is set to "On"
    • On a new line, double click and select 'Show Text'
    • Enter anything really, this is just initial quest dialog. Mine just says "I need you to kill 5 slimes!"
    • Double click on a new line, and select 'Control Self Switch'


    • Select 'Self Switch' "A" and make sure the 'Operation' is set to "ON"
    • Create a new event page


    • First, under 'Conditions' on the left side of the program, select 'Switch' and select the control switch we made earlier.
    • Also select 'Self Switch' and select "A" from the drop down menu.


    • Under 'Trigger' at the bottom, select "Player Touch" from the drop down menu.


    • Second, double click the first line, and select 'Conditional Branch'
    • From there select 'Variable' from the screen that popped up, and select the variable we made earlier.
    • Select "Equal To", select 'Constant' and set the integer to "5" (or however many you desire. Adjust accordingly)


    • Now this is going to leave you with something that looks like
    • @>Conditional Branch: Variable [X:VariableName] == X
      @>
      : Else
      @>

    • Double click the line above "Else" and select 'Show Text'
    • Type in
      "You killed \v[X] / 5 slimes
                     Reward: Reward"

      (remember to replace "X" with YOUR variable #)
    • Too add a reward, figure out what you would like to give your character and select from 'Event Commands' after double clicking the line below the reward text box.


    • For example, I gave my party 1 level.


    • Now double click the line under the one we just made and select 'Control Switches' and select 'Single' and select the quest switch we made earlier and make sure the 'Operation' is set to "ON"


    • Now, double click the line BELOW ":   Else"
    • Select 'Show Text' and type in "You killed \v[X] / 5 monsters"
    • Again, make sure you replace "X" with your variable #!
    • Double click the line below the one we just made and select 'Control Self Switch', Select "B" from the drop down menu and make sure the 'Operation' is set to "ON"
    • Create a new event page


    • Under 'Conditions' on this new page, select 'Self Switch', and select "B" from the drop down menu.
    • Under 'Trigger', select "Player Touch" from the drop down menu.
    • Double click the first line and select 'Conditional Branch', and select 'Switch' from the screen that popped up and make sure the 'Operation' is set to "OFF". This will end the quest.
    • Feel free to add any more text or what have you on this page. Just add it before "Else" other wise anything on page 3 won't show because page 3's conditions rely on the quest being done. If you place it under "Else" nothing will happen because we already finished the quest and can not return to the state prior, if that makes sense.



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

    本帖子中包含更多资源

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

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

    使用道具 举报

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

    本版积分规则

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

    幸运抽奖

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

    立即查看

    聊天机器人
    Loading...

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

    GMT+8, 2026-7-15 19:06 , Processed in 0.129417 second(s), 52 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

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