Visionaire Dialogs explanation

  • #1, by andy-rinaldiMonday, 18. November 2013, 16:26 7 years ago
    Hi guys,
    Can you please tell me how works the dialogs on 1st person adventure game?
    I read the Glen tutorial but it doesn't work.

    Thanks.

    Forum Fan

    160 Posts


  • #2, by NigecMonday, 18. November 2013, 18:25 7 years ago
    you need an invisible character usually to get feedback, just create a character with no graphics
    there's a working example of a 1st person game here:
    https://dl.dropboxusercontent.com/u/26539256/Zep_VS2.zip

    Key Killer

    547 Posts

  • #3, by afrlmeMonday, 18. November 2013, 18:41 7 years ago
    As Nige mentioned, you need to have an invisible character (character with no animations) assigned as your main (playable) character in which you can assign your command, inventory interfaces & font files to etc.

    dialogs should be assigned to other npc characters....

    as for displayed text (self) you can either use the normal display text (only really necessary for 3rd person characters who have speech animations) found in the character actions or you could even use the narration display text action part found in miscellaneous actions as it allows you to manually position it anywhere you like on the screen; having said that you can also use lua hook functions to control position of text too.

    there are multiple ways to sort it out.

    Imperator

    6812 Posts

  • #4, by andy-rinaldiMonday, 18. November 2013, 23:42 7 years ago
    Thanks for the answers.
    @Nigec
    I created an invisible character and it worked fine. Thank you for the Zeppelin tutorial ;-)

    @AFRLme
    1. I create a NPC, then I assign him a dialog written in Dialogs tab. In the Actions tab, add a command that execute my dialog. (start dialog)
    2. Go to the scenes and menus and I create a new object npc in my room then set the npc character to start position in my room. When I click on the npc character nothing is shown.

    help please!

    Many thanks.

    Forum Fan

    160 Posts

  • #5, by afrlmeTuesday, 19. November 2013, 01:08 7 years ago
    have you checked that the command you used to click on the character can interact with characters or both character & objects - you can find the options under the "command properties" tab for the interface.

    you created a new npc object? you mean an object for assigning the position of the npc character on the scene yes? you assign npc characters to scenes in the same way that you would do for your playable character.

    also I assume that you have created a dialog box & assigned all the relevant font files for them?

    if you can't figure it out, then - if you wouldn't mind - could you please post some screenshots of your setup such as interface, actions & so on please, as I find it much easier to work out problems visually; plus I can usually spot what you may or may not have done pretty quickly. wink

    Imperator

    6812 Posts

  • #6, by andy-rinaldiTuesday, 19. November 2013, 12:06 7 years ago
    Hello,
    1. yes, I think it's correct.
    2. yes, yes, yes
    3. yes, I think.
    4. you can download the screenshots from the download link.

    Thank you.

    Forum Fan

    160 Posts

  • #7, by afrlmeTuesday, 19. November 2013, 15:04 7 years ago
    hmm...

    Just out of interest...
    When you change to a new scene, you are also teleporting/moving your playable character to that scene also yes?

    also, it might be a good idea to execute (immediate) commands on scenes; seeing as you are doing a first person game.

    the dialog area (background image thing & arrows etc) should be created on your playable character.

    finally out of curiosity: why have you assigned "talk executed" action to the call action in the "dialog" screenshot?

    http://wiki.visionaire2d.net/index.php?title=Characters#Dialogs
    http://wiki.visionaire2d.net/index.php?title=Characters#Dial...

    Imperator

    6812 Posts

  • #8, by andy-rinaldiTuesday, 19. November 2013, 16:18 7 years ago
    yes, I set on every scene the start point of my invisible character.

    I've tried to execute immediate command but this not fix the problem.

    ok, now I have created the dialog area on my playable character.

    because I'm trying everything but I'm not able to fix my dialog problem. confuse

    I did not set the fonts on my playable character but still nothing. It's doesn't work. shock

    cry

    Forum Fan

    160 Posts

  • #9, by afrlmeTuesday, 19. November 2013, 16:38 7 years ago
    hmm sorry mate, I'm not sure what else to suggest checking out...

    would you be willing to send me the .ved & project files, so I can go over them & see if I notice something that I couldn't see in the screenshots you provided?

    if you want to send the files to me, then you can send me a link via private message or via skype @ AFRLme

    Imperator

    6812 Posts

  • #10, by howlingwolf86Saturday, 02. September 2017, 18:23 3 years ago
    hmm sorry mate, I'm not sure what else to suggest checking out...

    would you be willing to send me the .ved & project files, so I can go over them & see if I notice something that I couldn't see in the screenshots you provided?

    if you want to send the files to me, then you can send me a link via private message or via skype @ AFRLme
    Hi Guys, I know I'm 4 years late, but did you found the answer on this problem. Seems that I have the same problem. I created an (invisible) NPC. I created a dialogue, set up the dialogue area, left click action 'start dialogue' but nothing is happening... I checked all the things mentioned above.

    Newbie

    12 Posts

  • #11, by esmeraldaSaturday, 02. September 2017, 18:50 3 years ago
    Have you chosen "immediate execution" for your command?

    And I guess your PlayerCharacter is invisible, not the NPC, right?

    Great Poster

    379 Posts

Write post