U3D对话任务插件 Dialogue System for Unity 研究(六)

本文介绍了如何在Unity游戏中使用Dialogue System for Unity和Love/Hate插件来管理NPC与玩家的亲密度。Love/Hate提供了一套组件化的感情系统,而Dialogue System用于对话交互。通过安装扩展支持、创建Faction Manager和利用提供的API,可以在对话中动态调整亲密度,并实现存档功能。
摘要由CSDN通过智能技术生成

这篇是关于在对话插件中,使用U3D情感插件 Love/Hate 的。

Love/Hate能实现一些送礼,偷东西,表扬,辱骂等行为感情的变化,感情也可以分特别多。

我装这个Love/Hate是因为和对话插件Dialogue System for Unity同一个公司出的,兼容性能得到保证,Love/Hate这个插件是可以不用写代码的,全部用组件来完成,组件还挺多的, FactionMember 这种,一大堆组件。

因为我的需求就是各个NPC和主角的亲密度,一对多的关系,怎么简单怎么来,我也不太喜欢加组件的方式,下面主要说写代码的方式怎么弄,如果想用组件的方式,可以去看DEMO,其实完全可以不用这个插件,亲密度自己记录就行了,主要是怕以后功能增加要扩展就麻烦了,干脆一步到位,Love/Hate这个插件做的还是挺细的,远远不止一个亲密度这么简单。

这两款插件,我用的都是2022年9月的,版本更新日期一定要同步,因为有一些公用脚本,差别太大会出问题。

Love/Hate 版本 v1.10.31

Dialogue System for Unity 版本 v2.2.32

这个插件网上几乎没有教程,只能去看官方手册: https://www.pixelcrushers.com/lovehate/LoveHate_Manual.pdf

一.安

The powerful, top-rated dialogue system used in Disco Elysium, Crossing Souls, Jenny LeClue, Last Epoch, The Last Door, and many many more, the Dialogue System for Unity makes it easy to add interactive dialogue and quests to your game. It’s a complete, robust solution including a visual node-based editor, dialogue UIs, cutscenes, quest logs, save/load, and more. The core is a lean, efficient conversation system. A large collection of included, optional add-ons make it quick and easy to drop conversations into your project and integrate them with other assets. No scripting required. Complete C# source included. Demo | Docs | Tutorials | Forum Free Extras | Free Trial Cinemachine & Timeline Integration! Editor: Visual, node-based dialogue editor Importers for Chat Mapper, articy:draft 1/2/3, Twine, Ink, Neverwinter Nights, Talkit, and CSV Export screenplay format, voiceover asset list, CSV, Chat Mapper, and more I2 Localization support Engine: Dynamic, branching conversation trees Barks and alerts Cutscenes (audio, animation, etc.) Quick Time Events (QTEs) Quest system NPC status & relationship system Easy language localization Save/load without scripting Optional Lua scripting and variable system Comprehensive documentation and tutorials Runtime UIs: GUI-independent; works with all GUI systems, including Unity UI & NGUI Built-in support for Unity UI, NGUI, TextMesh Pro, legacy Unity GUI, & more Input system-independent; works with Unity Input, Rewired, New Input System, etc Modular interfaces: swap in your own UI or cutscene system Several beautiful, fully-customizable UI skins Detailed sci-fi environment & animated model Works in 2D and 3D Works in VR (Oculus Rift, Vive, GVR, etc.) Integration: Components for drop-in integration into existing frameworks Cinemachine & Timeline Action-RPG Starter Kit Adventure Creator Animator Timeline Editor articy:draft Behavior Designer Bolt Visual Scripting
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

我是重阳

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值