Should NPC dialog be stored in XML or in a script?
- by Andrea Tucci
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?