Rpgmakermv(30) GameQuest任务插件

插件简介:

很牛X的任务插件(个人目前用过中的)

 

 

插件用法说明

Report any bugs, editor or plugin related here:

http://forums.rpgmakerweb.com/index.php?/topic/49234-gameus-quest-system/

Before reporting a bug, check the version of editor/plugin to see if you're using an outdated version

 

I highly recommend checking out the demo found here:

http://jugglingcode.com/scripts/MV/QuestSystem/Demo.zip已经死链了

----------------------------------------------------

These are a list of following Plugin Commands:插件指令

----------------------------------------------------

Quest Add QuestID 

Activates a quest. 任务添加

 

Quest NextStep QuestID

Progresses the quest to the next step.进行下一步

 

Quest BackStep QuestID

Makes the quest go back a step, allowing for steps to be failed.返回上一

 

Quest Complete QuestID

Completes the quest, if Auto Reward is on, the script will give out the rewards.任务完成

 

Quest Fail QuestID

Fails the quest.任务失败

 

Quest Remove QuestID

Removes the quest from the quest log, allowing it to be reset.移除任务,

 

Quest Reset QuestID

Resets the step and status of a quest. NOTE: Any switches/variables you might have set during a quest, WILL have to be reset manually.重置任务

 

Quest Open

This opens up the quest log. Alternatively, there's a script call you can use below.开启任务,结合公共事件与Yet_Main插件

 

----------------------------------------------------

Here's a list of script calls you can use in a conditional branch:插件脚本

----------------------------------------------------

SceneManager.push(Scene_Quest)

This opens up the quest scene, for those who enjoy script calls or are using it in a different plugin

 这些适用于沉迷脚本无法自拔的人

$gameQuests.get(quest_id).completed()

$gameQuests.get(quest_id).failed()

$gameQuests.get(quest_id).inProgress()

These calls are used to check the progress of a quest

Note, even if the party does not have the quest yet, these will return true/false.

 

$gameParty.hasQuest(quest_id)

This is how you check if the party has activated the quest yet. Use in conjunction with the above script calls

 

$gameParty.hasQuests([quest ids], filter)

Not to be confused with the one above, this checks multiple quests the party has and see if they match the filter.

Filter can be "progress", "completed", or "failed"

Returns true if all the input quests match the filter AND the party has them active. e.g. Can be used to see if the party has completed a range of quests before moving on

 

$gameQuests.get(quest_id).currentStep === step_number

This is how you check which step a quest is on. step_number starts from 0. NOTE: This will still return a number even if the quest hasn't been activated.

跳转到某一步;

注意,步数是从0,开始(可以理解为数组)

 

$gameQuests.get(quest_id).status === "status"

This will return what status the quest is. "status" can be "progress", "completed", or "failed"

 

$gameQuests.totalQuests(filter)

This gets you a total number of quests by the filter. Filter can be "all", "progress", "completed", or "failed". This applies to all quests.

 

$gameParty.totalQuests(filter)

Does the same as above, but only applies to the quests that the party has.

 

 

总结

对于不擅长程序的同学

只需记住插件指令的几条即可。

如果对插件也不那么熟悉..............请熟练掌握橙色的那几条,你就可以起飞了。

转载于:https://www.cnblogs.com/empist/p/9343848.html

【实例教程1】怎样编写一个插件? 1. 插件的注释与定义参数 2. 读取插件参数 3. 插件指令的实现 【实例教程2】制作一个启动画面 1. 从哪里开始? 2. 创建启动画面的场景类 【实例教程3】玩转菜单初级篇 1. 给各个菜单界面添加背景 2. 让背景滚动起来 3. 在主菜单界面增加自定义菜单:改名 4. 在主菜单界面移除菜单命令 5. 在主菜单界面增加一个自定义窗口 【实例教程4】玩转标题画面 1. 美化游戏标题 2. 让背景动起来 3. 自定义标题菜单 4. 美化菜单 【实例教程5】制作小游戏:坦克大战(上) 1. 游戏结构及流程介绍 2. 相关素材资源的下载和使用 3. 基础知识:音效的播放 4. 基础知识:精灵表的切帧 5. 基础知识:使用MV中的动画 6. Scene_TankWarTitle类解析 7. Sprite_Bullet类解析 8. Sprite_Explode类解析 9. Sprite_Tank类解析 10. Sprite_Enemy类解析 11. Scene_TankWar类解析 12. Scene_TankWarGameOver类解析 【实例教程6】存档的加密解密与保护 1. 找出MV存档和读档的方式 2. 制作MV存档的修改器 3. 如何保护存档? 4. 制作一个存档保护插件 【实例教程7】制作一个传送插件 1. 传送插件的主要功能 2. 将自定义数据保存到存档中 3. meta数据的使用 4. 使用地图备注登记传送点 5. 在插件中解析并记录传送点 6. 使用地图备注登记多个传送点并在插件中记录 7. 制作传送点选取窗口显示传送点数据 8. 将物品或技能标记为传送物品、传送技能 9. 显示传送动画实现传送功能 10. 禁止使用传送道具或传送技能 11. 实现插件命令
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值