Hey!
I’m using this plugin and it works great, but I need to tweak it to make it really streamlined. I tried to achieve it, but I need your help. I’m affraid I will mess it up on some pint.
I need to:
**- add an alternative text window for a PC, so I can display a dialogue option like “I will do that”, but print (and add audio) the full answer like “Of course I will do that, honey!” **- i tried to add the box using the instructions in the post #282, but i got those errors when I try to compile it through the Viseual Studio:
1> [1/4] Module.DialoguePluginEditor.cpp
1>F:/allmother/UE4/AllMother/Plugins/DialoguePlugin/Source/DialoguePluginEditor/Private/DialoguePluginEditorSettingsDetails.cpp(82): error C2039: "AlternativeText": nie jest sk�adow� elementu "FDialogueNode"
1> F:\allmother\UE4\AllMother\Plugins\DialoguePlugin\Source\DialoguePlugin\Public\Dialogue.h(92): note: zobacz deklaracj� "FDialogueNode"
1>F:/allmother/UE4/AllMother/Plugins/DialoguePlugin/Source/DialoguePluginEditor/Private/DialoguePluginEditorSettingsDetails.cpp(166): error C2039: "AlternativeText": nie jest sk�adow� elementu "FDialogueNode"
1> F:\allmother\UE4\AllMother\Plugins\DialoguePlugin\Source\DialoguePlugin\Public\Dialogue.h(92): note: zobacz deklaracj� "FDialogueNode"
1>F:/allmother/UE4/AllMother/Plugins/DialoguePlugin/Source/DialoguePluginEditor/Private/DialoguePluginEditorSettingsDetails.cpp(174): error C2039: "AlternativeText": nie jest sk�adow� elementu "FDialogueNode"
1> F:\allmother\UE4\AllMother\Plugins\DialoguePlugin\Source\DialoguePlugin\Public\Dialogue.h(92): note: zobacz deklaracj� "FDialogueNode"
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.MakeFile.Targets(46,5): error MSB3073: The command ""E:\Epic Games\UE_4.26\Engine\Build\BatchFiles\Build.bat" AllMotherEditor Win64 Development -Project="F:\allmother\UE4\AllMother\AllMother.uproject" -WaitMutex -FromMsBuild" exited with code 6.
1>Done building project "AllMother.vcxproj" -- FAILED.
I don’t know why it’s in polish, but translations is like “zobacz deklaracj�” - “see declaration” and “nie jest sk�adow� elementu” - is not a part of element"
I first copied the plugin to the local project and removed the plugin from the Engine. doesn’t work
- I need to add “skip” button for both when the PC and NPC answer is playing. Right now “Next” only shows when PC is speaking so I can skip to NPC’s answer, but I need both. I followed the video for the Souls-like dielogues and added a skip function on a button but it shows this error:
Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetEffectMaterial_ReturnValue". Blueprint: MyReplyWidget Function: Execute Ubergraph My Reply Widget Graph: EventGraph Node: Set Scalar Parameter Value
But it works… a bit.
When I skip the NPC dialogue, it skips to the first possible PC node, and still shows both nodes after the timer is done, so midway through the first node text, it shows the selection again and I can replay the node or… switch it to a diffrent one.
Also, is it possible to add the skip button but asign it to a input button, from project settings, and not through “OnKeyDown” node?
-
I need to play non-branching dialogue nodes one after another, without having to select the only avilable. I think it’s connected to the thing above, but should be branched somehow, like counting the possible nodes and if just one then go straight to this one, and if not, show them to me. And if I’m skipping, show me the dialogue options immediately.
-
I already added the delay function so that PC’s dialogue options only turn up when the NPC is finished talking, which is great, but the timer gets a little confused.
Also, I’ve built a rather ugly system in the Player Controller that counts total mouse-wheel rolls in the game and pulls it into the widget, so I can select the dialogue options with mouse wheel and accept it with an “E” key and it works fine, but I would love to pull the button from the input settings, and not leave it on the blueprint.
But maybe you managed to come up with something as a mouse-wheel and keyboard button input in the meantime? 