ZT Dialogue是一个基于结点的对话插件,只需要进行简单连线就能设计复杂的对话,比如设计对话分支等,可以非常方便地构建剧情对话。
在此插件中,你可以:
● 使用图形化的编辑器来编辑对话,并且可以撤销重做所做的操作;
● 使用句子结点填写对话文本,控制打字动画的速度,还可以选择在对话中显示对话人的肖像,以及播放每句话对应的语音;
● 使用修饰结点,实现选项标题文字加粗、加随机颜色等功能;
● 使用条件结点,实现按条件隐藏某些选项、按条件切换不同的下一句话等功能;
● 使用拦截结点,实现满足条件才能点击选项、满足条件才能切换下一句话等功能;
● 使用递归结点,返回到对话中的指定句子;
● 使用外置选项结点,打乱选项的顺序,轻松构建答题型对话;
● 使用其它对话结点,在当前对话中插入一段子对话,并在子对话结束时重新回到原对话;
● 使用对话事件,实现在说出某句话之前或之后触发给定的事件,可用来做运镜、播放角色动作等功能;
● 使用内置的存档系统保存和读取对话进度,如果你想的话,甚至还可以用来保存游戏进度;
● 使用内置的UI窗口框架构建游戏UI;
● 使用列表式的交互系统进行交互,就像《原神》那样;
● 在对话文本中插入一种名为“关键字ID”的字符串,它们将被转换成与之对应的名称;
● 实现游戏文本的多语言切换,并直接在Unity以表格形式编辑翻译内容,或者导入使用Excel编辑的翻译内容;
● 轻松扩展结点类型,实现自己想要的结点功能;
● 轻松扩展内置的对话窗口,比如把它的选项列表作为任务列表来显示任务。
本插件所有代码都是“.cs”文件形式而非“.dll”,所以可以修改任何想改的地方,而且代码也都很简单,甚至大家花点时间自己也可以做出来,我只是帮大家提前做出来而已。
ZT Dialogue is a node-based dialogue plugin, design complex dialogues with simple connections, such as designing branches, etc., which is very convenient for constructing plot dialogues.
In this plugin you can:
● Use a graphical editor to edit dialogues, and you can undo and redo the actions you have made;
● Use sentence nodes to set up the speech contents, and the typing animation speed, you can choose to display the portrait of the interlocutor in the dialogue, and play the voice corresponding to each sentence;
● Use decorator nodes to implement functions such as bolding the option title text or color them with random colors;
● Use condition nodes to implement functions such as hiding some options according to conditions, switching different next sentences according to conditions, etc.;
● Use block nodes to implement functions such as clicking an option only when conditions are met, and switching to the next sentence only when conditions are met;
● use recursive nodes to return to the specified sentence in the dialogue;
● Use external-options nodes to mess up the order of options, easily construct Q&A dialogues;
● Use other-dialogue nodes to insert a sub-dialogue into the current dialogue, and return to the original dialogue when the sub-dialogue ends;
● Use dialogue events to trigger specific events before or after some sentences are spoken, which can be used to implement functions such as mirroring and playing character actions;
● Use the built-in save system to save and load the dialogue progress, and even game progress if you want;
● Use the built-in UI window framework to build the game UI;
● Use a list-based interaction system to interact, just like “Genshin Impact”;
● Insert the strings called “keyword ID” into the dialogue text, and they will be converted into their corresponding names;
● Implement the multi-language switching function of the game text, and directly edit the translations in the form of a table in Unity, or import the translations from Excel file;
● Easily extend the node type to implement the desired node function;
● Easily extend the built-in dialogue window, such as use its option list as a quest list to show quests.
All codes of this plugin are in the form of “.cs” files instead of “.dll”, so you can modify everything as you want, and they are also very simple, you can even make this plugin yourself if you spend some time, I just make it in advance for you.
截图 | Screenshots: