Author Topic: Dialogue options like in Sam & Max Hit the Road  (Read 212 times)

Good morning everyone. I was thinking of making a sort of detective game with lots of conditional dialogue depending of which clues you currently have. Problem is, I can't figure out a way to add or remove dialogue options short of having different dialogues for the different sets of clues you could have (So say you have clue 1 and 2 then the dialogue would play where you can show either clue, if you have clue 1 and 3 a different one, only clue 1 and a different one, but that would require a massive amount of dialogues).

The only way I've thought of fixing this is to have dialog options like in Sam & Max Hit the Road, where you have pictures for each dialogue. The way I thought would be having invisible objects that become visible when you talk to a certain person, and more become visible if you have the right requirements (have the clue, haven't asked about this already, etc.).


What do you guys think? Is this a good idea? Is there a better way to do the options, maybe with a GUI? Is there a way to change the available dialogue options on the fly for the normal AGS dialogue? How would you solve this?

Thanks in advance guys, I don't know what I'd do without you

Khris

  • partook in silencing a crtitc despite facts
    • Lifetime Achievement Award Winner
    • I can help with play testing
    • I can help with scripting
    • I can help with translating
    • Khris worked on one or more games that was nominated for an AGS Award!
Re: Dialogue options like in Sam & Max Hit the Road
« Reply #1 on: 21 Jun 2019, 13:15 »
Is there a way to change the available dialogue options on the fly for the normal AGS dialogue?
There's this: https://www.adventuregamestudio.co.uk/manual/ags48.htm#Dialog.SetOptionState

Since this solves the original problem, you no longer need the object based system I assume? If you still want to do that, afaik there's a module for that.
Fail at Floaty Rog' now!  still having to deal with what games are going through

Re: Dialogue options like in Sam & Max Hit the Road
« Reply #2 on: 21 Jun 2019, 16:38 »
Thank you