For those of you interested, I've posted an early Christmas present
for those who'd like to play around with the new Conversation System I've been talking about in my other thread. It's being hosted by Sam at OverTheEdge here
. (Thanks Sam
The system consists of two parts:
Â§ the conversation job for handling the system inside of Dungeon Siege, and
Â§ the editor that allows you to create a conversation tree using a simple user interface that can then generate the job skrit for you.
It is possible to code the entire conversation job from the base skrit, but it is quiet easy to mix up and get code in the wrong places. The editor saves all the information that you have given it in a special format XML document and generates the job skrit once you are happy with the conversation structure.
Some of the features the conversation system implements at this point in time (but which will be extended and refined later) are:
Â§ selection of npc dialogue from a number dialogues based on order and conditions
Â§ multiple pc replies selected from a number of replies based on conditions
Â§ actions can be performed by both pcâ€™s and npcâ€™s as consequences of certain npc dialogues or pc replies chosen
Â§ certain predefined conditions, such as determining the gender of a pc/npc, whether a party member is carrying a certain item, etc.
Â§ certain predefined actions, such as moving an npc/pc, etc.
Â§ npcs have variables so they can â€œrememberâ€? things about a conversation locally (e.g. their name, portrait to display, number of times spoken too, whether a pc has insulted them, etc.)Before
anybody starts complaining too much, the system is very
much still in the prototype stage - i.e. almost no documentation, still a bit buggy. So don't complain too much about things that don't work - I know there's a lot still wrong, but I figured that since I'm going on holiday for a few weeks, that I'd post it so long that ppl can play around with it and let me know how they feel, what they'd like changed etc.
Feel free to point out errors (I know there's lots - did this rather quickly, so it hasn't been tested too well).
What I'd like a lot is for ppl to start writing more predefined conditions & actions that can be placed in the conversations. So those interested, feel free to do so. This project is Open Source, but I don't want to release the code just yet until a lot more of the bugs are sorted out.
There is a very simple tutorial you can follow to get you started. I'll add a few more tutorials later with some more complicated examples.