Implementing variable scripting into dialogue

Started by Myazuid, Mon 09/02/2009 22:59:40

Previous topic - Next topic

Myazuid

Hello,

I'm looking at starting a project in AGS, I have never used the program before but have some programming experience in both Java and C++. At the moment, I am looking at creating a game which is very much based on the dialogue and choices made (as opposed to puzzle solving). The idea being that the game is almost a moral exercise (this is a project for university.. hence the slightly questionable enjoyment factor lol).

What I was wondering is whether its possible to make the dialogue that a character speaks when you see him depend totally on choices you have made previously, and whether sentences could be generated using a series of given words (based on previous choices), as opposed to being hard coded into the dialogue section....

I basically really want to make a point n click game for my project, as I used to play them as a kid, and I'm desperately trying to find a way to make it complex enough for computer science final year project. So it has to involve some sort of... computer science theory.. or something with a bit of ... 'spice' to it, in the scripting that is, to show that I haven't just used the capabilities of AGS to create something (as that wouldn't technically be comp sci).

If anyone has an info on this, I'd really appreciate it, or better yet, any suggestions on adding a complex element to a game in terms of the coding behind it (e.g. something they might have seen somewhere else, or something they might have thought about but never had the time to do). I'm desperately wracking my brains here!

Thanks very much in advance

Nick.

p.s. wasn't TOO sure about where to place this, hope its in the right category :)

Pumaman

You can override pretty much all of AGS's built-in dialog functionality, so if you wanted to dynamically generate dialog options you could do that. The scripting language is very similar to Java/C++ so you should find it a breeze.

How you script it is of course up to you... maybe the best thing is if you try it out, and come back if you have any more specific questions or problems to ask about.

Myazuid

ok great. thank you very much for the quick reply. I'm really glad I found this community, seems very active and everyone is very helpful!

thanks again

Dualnames

A good thing is to check the FAQs while you're at it as well, but everyone from the forum or at least someone will respond to a question..Cheers.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk