Page 1 of 1

Customizing the Dialogue Database Editor Window

Posted: Mon Dec 12, 2016 2:32 pm
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.

Re: Customizing the Dialogue Database Editor Window

Posted: Mon Dec 12, 2016 4:30 pm
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/

Re: Customizing the Dialogue Database Editor Window

Posted: Tue Dec 13, 2016 12:54 pm
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.

Re: Customizing the Dialogue Database Editor Window

Posted: Tue Dec 13, 2016 1:12 pm
by Tony Li
Brilliant idea! If you don't mind, I might incorporate that idea, too.