Thanks, I forgot that you had done something very similar in the demo.
Creating the child classes for UI_Dialogue and UI_Dialogue_TextItem was not a problem (with a little help from google). In the designer tab, I copy-pasted all the widgets from the parent classes and renamed them to avoid conflicts. Next I overrode the getter functions and referenced all the new widgets. So far, so good.
However, during game play I noticed two issues.
1)
My UI_Dialogue child does not accept gamepad input. I am unable to advance or skip dialogue. The class is set to "Gamepad" under Class Defaults > Input. Mouse input works fine.
Are there any more functions that need to be overridden for this to work?
2)
When I use my own UI_Dialogue_TextItem child class no text is displayed at all during gameplay. The dialogue window doesn't react to anything, not even the mouse.
What could be the problem? Do I need to override any other functions inside the class beside the obvious GetTextControl?
PS: Before I forget, some of the objects (most likely some of the materials) in your demo seem to be using the Substance plugin for Unreal Engine. It's giving me warning messages all the time. Maybe they can be replaced with something more common in the future.
Creating the child classes for UI_Dialogue and UI_Dialogue_TextItem was not a problem (with a little help from google). In the designer tab, I copy-pasted all the widgets from the parent classes and renamed them to avoid conflicts. Next I overrode the getter functions and referenced all the new widgets. So far, so good.
However, during game play I noticed two issues.
1)
My UI_Dialogue child does not accept gamepad input. I am unable to advance or skip dialogue. The class is set to "Gamepad" under Class Defaults > Input. Mouse input works fine.
Are there any more functions that need to be overridden for this to work?
2)
When I use my own UI_Dialogue_TextItem child class no text is displayed at all during gameplay. The dialogue window doesn't react to anything, not even the mouse.
What could be the problem? Do I need to override any other functions inside the class beside the obvious GetTextControl?
PS: Before I forget, some of the objects (most likely some of the materials) in your demo seem to be using the Substance plugin for Unreal Engine. It's giving me warning messages all the time. Maybe they can be replaced with something more common in the future.
Comment