Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Help with dialogs

  • #1, by Dogghy 14 years ago Zitieren
    Hi fellas! I wanna be short and clear at explaining my problem:

    I have to create a scene where the player click one time on object (a door) and a message appear (ex: the door is locked), and then when he click it for the second time a dialogue appear (ex: do you wanna force the door? Yes/Nope). So: FIRST CLICK ON OBJECT - MESSAGE SECOND CLICK ON THE SAME OBJECT - DIALOGUE BOX WITH CHOISES

    I followed up this tutorial: http://www2.visionaire2d.net/glenfx/ but nothing good happens (obviously I'm doing something wrong). I can make message appear but not the dialogue box. Can someone explain me how to do this event correctly? Thank you and sorry for my bad english smile

    P.S. - It's a FIRST PERSON adventure game.

  • #2, by afrlme 14 years ago Zitieren
    you could use a single interface for it that you could call onto the screen with an action.

    using conditions or values & a yes/no image with a action area drawn around would work - well if you wanted to make a fancy custom looking box/scroll thingy-ma-jig wink

    & hmm does the message appear for force open door bit? did you set a condition or value to change when you clicked on the door the first time?

    ez smile

  • #3, by Dogghy 14 years ago Zitieren
    Well, for the message (at the first click) I used a condition in the ACTION section of the scene object like this:

    SCENE -> OBJECT -> ACTION -> LEFT CLICK -> IF CONDITION "x" IS TRUE -> DISPLAY BACKGROUND SPEAKER TEXT "the door is locked!" -> END IF

    Do you suggest me to create a custom image for the dialogue box and put it like a scene object (also clickable image for the yes/no answer)?!

  • #4, by Nigec 14 years ago Zitieren
    do you have a character? check out this: https://dl.dropbox.com/u/26539256/Zep_VS2.zip Its a Myst still example Also this: https://dl.dropbox.com/u/26539256/herm.zip its a Monkey island type GUI but it does have dialog smile
  • #5, by Dogghy 14 years ago Zitieren
    No, it's a first person adventure so the main character is invisible! Your demo (zeppelin) is very useful but there isn't a Q/A dialog inside and i need it! smile

    Well, maybe there's something helpful in the Monkey Island demo...let me try! At the moment, thanks for the help!

  • #6, by Nigec 14 years ago Zitieren
    You need a character, otherwise nothing displays, the character just needs to be the name, check the Zep demo, you need to assign interfaces to this character too
  • #7, by Nigec 14 years ago Zitieren
    A simpler demo is this one which is a hidden objects game: https://dl.dropbox.com/u/26539256/vs/hidden.zip Its basically the Zep game but the turning system stripped out, but you still need the Controlable Character, this is basically all you need for a 1st person game
  • #8, by Nigec 14 years ago Zitieren
    I've modified the above scene so it has 2 views, if you check the scene properties you'll see that you need to set a active character also in character properties you set the font to a outfit and interfaces, if you don't do this no text will display and interfaces wont work, you may not be able to switch rooms either. In the scene actions in "hidden" theres a short script that checks to see if all the objects are set to false, when everything is false it displays done and turns the objects off in the first scene, also switches exits
  • #9, by Dogghy 14 years ago Zitieren
    Thank you for the help Nigec but maybe i am not able to explain myself good. I don't understand HOW to create a question/answer dialogue with my invisible character!

    I created a controlable character with no graphic (just one empty frame in front standing/animation), then I create a simple dialogue (on the same character). And now? How can I show up this dialogue on the door object? The dialogue should be like this:

    Question: Do you wanna force the door? Answer: Yes! (move to another scene) 2th Answer: No! (stay in the same scene)

    I don't wanna waste your time, I'm trying to be as clear as possible.

    EDIT - I'll take a look to your second demo

  • #10, by Nigec 14 years ago Zitieren
    The way to do it is to have the Door listed as a character so you can have a dialog with it, I'm just testing the theory now
  • #11, by Dogghy 14 years ago Zitieren
    Thank you for your patience.