Need advice on displaying additional text and an Image
Posted: Wed Jul 14, 2021 6:33 am
Hello!
First and foremost i would like to thank you for an excellent tool!
The setting in my game that i am using Dialogue system is an sort of event-displayer.
It's pretty straight forward. The conversations consists of one dialogue text that describes an event and then the player gets to choose from up to 3 actions that are presented on response buttons.
Right now the only issues that i am having is that first i need to display a title text that is unique for every conversation/event. Example: "Your crew is starving".
To smoothen the workflow it would be nice to be able to write the text somewhere in the dialogue-editors Conversations-tab.
I thought of using either the Description-field or Menu text-field, in the Conversations-tab, for the title-text and then display it via one Standard UI Subtitle panel.
I have looked through the Standard UI Subtitle panel-script and found the reference for the subtitle text and am thinking of adding a "Title"-text field in there but my next problem is that i cant find the part where DS picks up the actual Conversation-subtitle text.
So i want to add a Title-textfield in the Standard UI subtitle panel and then reference it to display the content in the Description- or Menu text fields in the editors Conversations-tab, but i need some help to get references to the Conversations-tab fields.
Would this be a viable way to solve the issue or is there some more straight forward way of doing it?
Secondly i need to display an image that is unique for every event/conversation.
It would be nice to reference the image from the Conversations-tab.
I do see that under 'All fields' in the Dialogue Entry-inspector window, in the conversations-tab, there is a field called Pictures of type Files. Would this be a viable path to use to display the event-image?
So eventually my 2 questions boils down to 1 and that would perhaps be how i do get references from the data in the Dialogue Entry. I would be glad if you could point me towards a script where theese things happens and/or a tutorial that covers theese topics.
Best regards
First and foremost i would like to thank you for an excellent tool!
The setting in my game that i am using Dialogue system is an sort of event-displayer.
It's pretty straight forward. The conversations consists of one dialogue text that describes an event and then the player gets to choose from up to 3 actions that are presented on response buttons.
Right now the only issues that i am having is that first i need to display a title text that is unique for every conversation/event. Example: "Your crew is starving".
To smoothen the workflow it would be nice to be able to write the text somewhere in the dialogue-editors Conversations-tab.
I thought of using either the Description-field or Menu text-field, in the Conversations-tab, for the title-text and then display it via one Standard UI Subtitle panel.
I have looked through the Standard UI Subtitle panel-script and found the reference for the subtitle text and am thinking of adding a "Title"-text field in there but my next problem is that i cant find the part where DS picks up the actual Conversation-subtitle text.
So i want to add a Title-textfield in the Standard UI subtitle panel and then reference it to display the content in the Description- or Menu text fields in the editors Conversations-tab, but i need some help to get references to the Conversations-tab fields.
Would this be a viable way to solve the issue or is there some more straight forward way of doing it?
Secondly i need to display an image that is unique for every event/conversation.
It would be nice to reference the image from the Conversations-tab.
I do see that under 'All fields' in the Dialogue Entry-inspector window, in the conversations-tab, there is a field called Pictures of type Files. Would this be a viable path to use to display the event-image?
So eventually my 2 questions boils down to 1 and that would perhaps be how i do get references from the data in the Dialogue Entry. I would be glad if you could point me towards a script where theese things happens and/or a tutorial that covers theese topics.
Best regards