Game Development Community

What is the best way ti describe a storyline?

by Kostiantyn Teterin · in Torque Game Builder · 07/25/2007 (11:18 pm) · 3 replies

In my game, I am going to use dialogs. What is the best way to describe them, it seems that Torque doesn't support XML or structures or something like that?

#1
07/26/2007 (2:00 am)
If you own TGB Pro you can add XML support.


But normally dialogs are done either by hand in the .gui files or by pressing F10 and using the GUI designer.
#2
07/26/2007 (3:17 am)
Sorry, I seems I said that wrong :)

I mean, dialogs between player and NPC, with replies and branches according to that replies. It is easier to describe them in XML.

By the way, am I the only one who have problems with incompatible PNG fonts between Mac and PC?
#3
07/26/2007 (10:15 am)
Describe them in XML and add "XML Parser" as part of your project. And likely "XPath" as well. Amd you'll have to use the libxml or tinyxml libraries or do them by hand.