77范文网 - 专业文章范例文档资料分享平台

unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(2)

来源:网络收集 时间:2019-04-15 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

GUI CAMERA This can be found in the Prefabs under Camera. This is a ready to go GUI camera solution that has all the required scripts already attached to make use of the majority of the system.

CHARACTER Requirements – A plane, texture image.

A character is defined by Name, speech colour and its texture image.

The easiest way to create a new character is to drag the ‘Blank’ prefab from the ‘Character’ folder and alter the default values from there.

BACKGROUND 6 Requires – A camera, child plane.

A background usually consists of a camera and a plane that holds the background image.

Like a character it is worth creating a new background from the ‘Blank’ prefab in the ‘Backgrounds’ folder in the prefabs.

DIALOG BOX Requirements – A plane per component, textures for each plane. Components-

? ? ? ? ? ? ?

Auto Button – Sets the text to automatically continue without user input. Save Button (Optional) – Launches the save function. Load Button (Optional) – Launches the load button. Next Arrow (Optional) – A visual aid for skipping text. Skip Button – Skips to the next choice/breakpoint.

Dialog – TextMesh Used to show the text in a conversation. Name Panel – Where a character’s name goes.

The best way to get used to how the dialog box works is to drag one of the samples out from the Prefabs>Dialogs folder.

SOUNDS Sounds can be either Voice or Music. It is ideal that you place sounds in the resources and NAME THEM EXACTLY WHAT THE CONVERSATION SCRIPT IS REFERENCING.

MANAGERS There are a few managers that handle most of the data you will utilise when building a conversation system with this product.

IMPORTANT – ALL OF THESE MANAGERS SHOULD BE ATTACHED TO THE GUICAM.

? ?

Background Manager – Controls all the different backgrounds available. Character Manager – Controls all of the characters in a conversation.

7

? ? ?

Dialog Manager – This is probably the most important part of the system. This controls the handling of conversation scripts and keeps the dialog box in control. Music Manager – Controls sounds and music.

Save Manager – Handles save and load functionality.

SAMPLES

I have provided three samples in the ‘Scenes’ folder. Open these to get a feel for the different ways of using the system.

IN GAME SAMPLE – This shows the system in use in an RPG like mannerism, a player character can move around the game world and interact with the various NPCs. Controls:

W, A, S, D – Move character. Spacebar – Speak.

Mouse – Control conversations.

SAMPLE CUTSCENE – This sample showcases a more traditional Visual Novel style usage of the system. Controls: All mouse based.

TESTER - Like above but with different visual styles. Also shows the inline style of answers over the traditional.

8

TUTORIALS

Below are a series of tutorials designed to familiarise you with using this system and provide you with a good foundation to produce a Visual Novel styled game or use this in any traditional game mannerism.

TUTORIAL - SETTING UP A TRADITIONAL VN STYLED SYSTEM

This tutorial will take you through setting up the system in the quickest time possible using the assets provided. This method teaches how to make a more traditional Visual Novel styled dialog system. Let’s Begin!

Step 1 – Create a new Scene within Unity (File> New Scene).

Step 2 – Make sure you have imported the package of this tool into Unity (See Getting Started). Step 3 - From the Project tab navigate to Prefabs>Camera and select ‘GUICamera’. Drag this into the Hierarchy tab.

Step 4 - Delete the ‘Main Camera’ this is optional, but recommended as it will ensure that only the GUICam will render which for this style is ideal.

Step 5 – Select the newly created GUICamera and look in the inspector, expand the Dialog Manager scipt foldout so it looks like below.

Step 6 - In Dialog Box apply the following settings.

NOTE – you can override the default dialog box style by placing any dialog box into the scenes hierarchy. Step 7 – In Answers you need to set up the answer button prefab:

9

? ? From the Prefabs>Buttons>Answer folder, select either AltAnswer or Answer and drag it into the Answer Button Prefab field.

Set the gap to around 200 like shown below.

Step 8 – Lets set an XML script to load then shall we.

?

From XMLScripts/SampleScript select ‘Sample1.xml’ and drag this into the Script File(XML) field.

Step 9 – From Resources>Backgrounds select ‘Classroom’ and ‘School’ and drag them into the Hierarchy.

Step 10 – Hit play, you should now see the system working as intended. Play around with the different buttons and see for yourself.

10

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(2)在线全文阅读。

unity对话插件教程 VISUAL NOVEL,RPG CONVERSATION SYSTEM(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/598350.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: