License from €75 Log in
DE EN FR ES IT CZ

Dialog with a static image

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 10 years ago
    Hi

    I have a scene which is simply a background, and a static image of a charactor.

    I would like to use the dialog system to have a conversation with this charactor image.

    There are no moving charactors in the scene.

    Here is a image of what I am trying to do:

    https://i.imgur.com/RgEYmfl.jpg

    What would be the best way to set this up ?

    Kind regards

  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 10 years ago
    I can think of two solutions that should work:

    1. Create an invisible NPC (don't forget the font for that character) and set it somewhere in the scene. Let that NPC answer your questions.
    or
    2. Leave the input field "answer to dialog part" blank and only use the "execute action" where you could use the action part "display narration text" to show the answers.  
     
  4. · 10 years ago
    Hi, thanks for the reply.

    With the invisible NPC option, how do I change to a scene that does not have an actice charactor ?

    The action part "change scene" needs a character to stand at position.

    https://i.imgur.com/DtWyM6r.jpg

    Kind regards


  5. · 10 years ago
    You could either create a blank active character (or a blank outfit of your existing character) and set it to a dummy object in the scene, or you could use "show scene/menu" instead of "change scene".

    Edit: I haven't tested if the dialog area of your active character shows up, if you show the scene instead of changing it.

    Edit2: just checked it, it works, dialog area shows up. But of course the part of the conversation of the active character doesn't show up, because it is not on the scene. If you want it to show (i.e. show again, because it is already in the dialog area), you should display it as narration text in the action part of the dialog or use the solution with the invisible outfit.
  6. · 10 years ago
    Hi,

    I did manage to get this working following your suggestions.

    I used a blank outfit on actice player and black outfit on NPC. With this method, dialogs work like normal.

    I have made the dialog questions appear inside a box, using dialog area options

    Is there anyway to have all replies from active player and NPC to also appear inside the Dialog Area Box ?

    Thank you again
    Kind regards


  7. · 10 years ago
    yes, this is possible. See here:

    the textbox itself from the dialog options is only for the options. So you may need a text box image in your scene. 
  8. · 10 years ago
    Thank you, the script worked for positioning the text.

    I was wondering, is it possible to resize scene object images within the scene ?

    https://i.imgur.com/YSVyNW0.gif

    Regards
  9. · 10 years ago
    Not currently no, but you can scale them up in-game with Lua script.

    game.CurrentScene.SceneObjects["example"].ObjectScale = 1.5 -- scale is in decimal so 1 = 100%, 2 = 200%, 1.5 = 150%

  10. · 10 years ago
    Thanks AFRLme.

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?