Announcement

Collapse
No announcement yet.

Dialogue Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I'm having trouble getting this to work. I just downloaded the plugin and made this simple dialogue to test it out:



    For some reason, when I click "where is the game?" nothing happens.

    Leave a comment:


  • replied
    Originally posted by Vincion View Post
    CodeSpartan, 4.19 does not have anything you did in the video or documentation to duplicate...

    when testing the plugin on 4.20 its fine am i missing something?
    Answered in email.
    Last edited by CodeSpartan; 11-28-2018, 10:05 AM.

    Leave a comment:


  • replied
    Originally posted by AzorMachine View Post
    Hello CodeSpartan. Bought it this week and I have a doubt. Is there a way of entering info as a variable to be shown in the dialogue, or only in future versions? And great work by the way!
    You mean like "Hello, %charname%"? No, I received this suggestion recently and thought it was a pretty interesting one, but it's never been implemented. It's a neat little feature, I'll think about a good way of adding it in a game agnostic way. Or maybe I'll just make a short video of how to add it, because in my mind, this kind of stuff could touch GameInstance or some other general purpose classes, and I can't do this, because it's been my goal to make the Dialogue Plugin as game agnostic and modular as possible. But I hear you, it's a good feature and it's now on my to do list, thanks for reminding me.
    Last edited by CodeSpartan; 11-28-2018, 10:07 AM.

    Leave a comment:


  • replied
    CodeSpartan, 4.19 does not have anything you did in the video or documentation to duplicate...

    when testing the plugin on 4.20 its fine am i missing something?

    Leave a comment:


  • replied
    Hello CodeSpartan. Bought it this week and I have a doubt. Is there a way of entering info as a variable to be shown in the dialogue, or only in future versions? And great work by the way!

    Leave a comment:


  • replied
    I also had issues with the gamepad working, you need to add "Set Keyboard Focus" to the end of your MyDialogueWidget. I added it to the end of the section commented as "Display Npc Node".

    Also I wanted to use the thumbstick to select the answers instead of the D-pad. To do that, swap the "is == Gamepad D-pad Up" with "is == Gamepad Left Thumbstick Up" in the "OnKeyDown" (Under Functions>Input in MyDialogueWidget)

    What I want to fix next is if you hold down the gamepad button too long, to select an answer, it will select the next highlighted answer in the sequence immediately after. Test it by selecting any reply with a follow up reply and just keep the button held down.
    Last edited by daveSchoneveld; 11-12-2018, 08:53 PM.

    Leave a comment:


  • replied
    fabiomsilva I had a look at your project. Everything works, it's just that you're not changing the input mode.

    Where you create the widget, add this node:



    When the dialogue exists, add this node (it's in MyDialogueWidget->ToNpcReply function):

    Leave a comment:


  • replied
    Originally posted by inedible.red View Post
    4.20 - Plugin works fine in editor - Crashes the game in Standalone as soon as it's used in game - What to do ?
    Can you post the crash log?

    Leave a comment:


  • replied
    4.20 - Plugin works fine in editor - Crashes the game in Standalone as soon as it's used in game - What to do ?

    Leave a comment:


  • replied
    Originally posted by fabiomsilva View Post
    thank you, this is awesome! I was Almost able to make it work 100%. Everything works, no errors, but when i try to play, i cannot select or hover any replies using the mouse. I double checked and i did the simulate next clicked and hovered correctly for both branches, so im not sure what couldve failed here. On my reply widget everything is the same as well. If in project settings i turn on "use mouse for touch " it works(but the rest of the game doesnt, not to mention i dont want to play as a phone) ,so im not sure whats going on.

    Also, I couldn't get the gamepad to work with the replies either. I checked the documentation and everything seemed already set up as in the documents.(i also noticed "on key up" its not connected execution pin to sequence(is this intended).
    If you could do a video tutorial on how to set up the dialogue to be used with the gamepad would be amazing!

    thank you for all the help so far.
    Gamepad is already set up, it's some remnant code that's not connected, because it can be used to make fallout-4 style functionality where you always have 4 replies, and you select one with gamepad face buttons. But scrolling through replies with the D-pad works.

    I'm not sure what's causing issues in your project, can you upload it to google drive and send it to me? Or if for some reason you don't want to share your project, simply reproduce the problem in a clean project and send that instead. My email is on my marketplace seller's page (don't want to re-post it too often, afraid spambots might find it). Just send it to me and I'll have a quick look.
    Last edited by CodeSpartan; 11-08-2018, 06:32 AM.

    Leave a comment:


  • replied
    thank you, this is awesome! I was Almost able to make it work 100%. Everything works, no errors, but when i try to play, i cannot select or hover any replies using the mouse. I double checked and i did the simulate next clicked and hovered correctly for both branches, so im not sure what couldve failed here. On my reply widget everything is the same as well. If in project settings i turn on "use mouse for touch " it works(but the rest of the game doesnt, not to mention i dont want to play as a phone) ,so im not sure whats going on.

    Also, I couldn't get the gamepad to work with the replies either. I checked the documentation and everything seemed already set up as in the documents.(i also noticed "on key up" its not connected execution pin to sequence(is this intended).
    If you could do a video tutorial on how to set up the dialogue to be used with the gamepad would be amazing!

    thank you for all the help so far.

    Leave a comment:


  • replied
    I've decided to add the video as an alternative to text in the documentation, because seeing it being done must be easier to replicate for people new to blueprints.
    I've also updated the documentation with much more precise instructions.

    Here's the video (make sure to watch it in fullscreen in 1080p):
    Last edited by CodeSpartan; 11-07-2018, 04:46 AM.

    Leave a comment:


  • replied
    You're guessing correctly. Just locate all errors and change types accordingly.


    Originally posted by fabiomsilva View Post
    the blue output doesnt link to simulate click
    So just drag the blue spline and type in "simulate click" to recreate it.

    Let me know if you're still struggling with it, I'll record a video of me doing the whole process if necessary.
    Last edited by CodeSpartan; 11-07-2018, 03:32 AM.

    Leave a comment:


  • replied
    ok I guess its not "overriden demo reply" but, "myDialog reply"(im assuming you had 2 tutorials going on?) , but im still getting a lot of errors. When Im castint to "MyDemoReply_Widget" the blue output doesnt link to simulate click nor simulate hover targets(object reference is not compatible with demo reply widget object reference (also i am guessing i need to change all the castings from demoreply to "my demoreply)

    Leave a comment:


  • replied
    thanks for the reply CodeSpartan, sadly i'm still not able to fix the error. In the step "doubleclick on the MouseSelectReply method to go to its definition in the OverriddenDemoDialogueWidget.:: i cannot change "WidgetThatWantsSelection" to overriden demo reply"(i searched for it, looked into all nodes, that one doesnt show up in the list.

    Leave a comment:

Working...
X