Should NPC dialog be stored in XML or in a script?

Posted by Andrea Tucci on Game Development See other posts from Game Development or by Andrea Tucci
Published on 2012-08-06T16:23:52Z Indexed on 2012/09/01 15:49 UTC
Read the original article Hit count: 216

Filed under:
|
|
|
|

I'm developing an action RPG with some friends. I would like to know the differences and pros/cons of making NPC's dialogue using a file in XMLformat instead of using a script.

I see that script method is often used by game developers for NPC text, but is it better then a XML file? We've thought that a XML file with tags like

<FirstText>[text1]<SecondText>[text2]

et cetera is perfect for NPC text and also for possible quests to give the player.

So what are the differences between this two methods? Is a script suitable for this aim?

© Game Development or respective owner

Related posts about rpg

Related posts about scripting