Customizing the Dialogue Database Editor Window

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
airwick
Posts: 16
Joined: Fri Oct 28, 2016 12:43 pm

Customizing the Dialogue Database Editor Window

Post by airwick »

What's the best approach to customize the editor window? Would I need to unpack all the source code or just the editor files?

I'm looking into customizing the nodes to make it easier to read for someone inputting dialogue entries, for example color code the nodes per actor, maybe increase the amount of text visually seen in a node or show extra info. I found all the spots in the source files but I'm failing to get these to override what's used in the DLLs.
User avatar
Tony Li
Posts: 23260
Joined: Thu Jul 18, 2013 1:27 pm

Re: Customizing the Dialogue Database Editor Window

Post by Tony Li »

Here are the steps:

1. Delete Dialogue System/DLLs/Editor.

2. Import SourceCode.unitypackage. Only import these 2 folders:
  • Scripts/Core/Editor
  • Scripts/Supplemental/Editor
I may steal your idea and add an option to color code nodes per actor.

Currently you can select Menu > Actor Names to show the actor's name on each node.

Also, if you edit the Dialogue Entry template on the Templates tab, you can tick the Main checkbox next to fields to make them appear in the main part of the inspector instead of only in the All Fields foldout.

You might be interested in this Game Kitchen blog post. They also customized the editor:

http://thegamekitchen.com/blog/designin ... -pipeline/
airwick
Posts: 16
Joined: Fri Oct 28, 2016 12:43 pm

Re: Customizing the Dialogue Database Editor Window

Post by airwick »

Thank you so much! The steps worked out great!

I ended up drawing the Actors portrait next to the node which made it clearer who was speaking.

Thanks again for the A+ support.
User avatar
Tony Li
Posts: 23260
Joined: Thu Jul 18, 2013 1:27 pm

Re: Customizing the Dialogue Database Editor Window

Post by Tony Li »

Brilliant idea! If you don't mind, I might incorporate that idea, too.
Post Reply