Very basic primer on creating your own UI
Posted: Wed Feb 21, 2024 7:43 am
Hi, I am exploring the DS plugin for Unity and so far very impressed with the wide range of options.
However, it is likely due to these extensive options that I struggle to get started with DS. As an intermediate scripter I am looking for a way to use DS purely as a way to create, manage and localize dialogues. I do not want to use any of the UI features.
Which brings me to my question: I am really struggling to get started just writing even the most basic script that will start a dialogue, fetch the next node of the dialogue tree, and present it in the debugger, so I am looking at a beginners primer for just getting the data out of the DialogueManager/conversationManager, or whatever it is we need to address to get the information from a node in a dialogue.
I can only assume I am missing some big part of the documentation somewhere, I've been looking in the wrong place, or perhaps this part of the documentation is just really subpar. I've worked with both INK's unity plugin and VIDE dialogue manager before without any issues. Both are very straightforward in how to create basic calls to the manager, get options, move to the next stage of a conversation etc.
None of the demo examples helped in this regard - all of them appear to focus more on managing the pre-made UI's more so than just providing a VERY SIMPLE PRIMER to expand on and are very hard to read, a lot of it obfuscated by the various UI handlers and many scripts and functions managing all the extra functionality.
I've read the documentation on:
https://www.pixelcrushers.com/dialogue_ ... ptMessages and it appears to be missing basic functions (or obscures them) for calling the next node of a dialogue tree.
chatGPT is no help either at the moment, as it insists on getting updates via subscribing to the DialogueSystem.OnDialogueLine which appears to be unavailable?
Can anyone point me in the right direction or perhaps even provide a VERY SIMPLE sample script of starting a conversation, getting the next node(s), and moving the conversation to the next stage of the conversation without using any of the DS UI features (just Debug.Logs).
Thanks in advance,
Rey
However, it is likely due to these extensive options that I struggle to get started with DS. As an intermediate scripter I am looking for a way to use DS purely as a way to create, manage and localize dialogues. I do not want to use any of the UI features.
Which brings me to my question: I am really struggling to get started just writing even the most basic script that will start a dialogue, fetch the next node of the dialogue tree, and present it in the debugger, so I am looking at a beginners primer for just getting the data out of the DialogueManager/conversationManager, or whatever it is we need to address to get the information from a node in a dialogue.
I can only assume I am missing some big part of the documentation somewhere, I've been looking in the wrong place, or perhaps this part of the documentation is just really subpar. I've worked with both INK's unity plugin and VIDE dialogue manager before without any issues. Both are very straightforward in how to create basic calls to the manager, get options, move to the next stage of a conversation etc.
None of the demo examples helped in this regard - all of them appear to focus more on managing the pre-made UI's more so than just providing a VERY SIMPLE PRIMER to expand on and are very hard to read, a lot of it obfuscated by the various UI handlers and many scripts and functions managing all the extra functionality.
I've read the documentation on:
https://www.pixelcrushers.com/dialogue_ ... ptMessages and it appears to be missing basic functions (or obscures them) for calling the next node of a dialogue tree.
chatGPT is no help either at the moment, as it insists on getting updates via subscribing to the DialogueSystem.OnDialogueLine which appears to be unavailable?
Can anyone point me in the right direction or perhaps even provide a VERY SIMPLE sample script of starting a conversation, getting the next node(s), and moving the conversation to the next stage of the conversation without using any of the DS UI features (just Debug.Logs).
Thanks in advance,
Rey