Hello everyone. I've been lurking on this site for quite some time. I am huge 4x gamer and love spaced ones in particular. GalCiv3's mod focus has driven me out of the shadows to help contribute to the cause. If any are willing to suffer a few questions, I would be most appreciative. I just have 2 to start. Thanks in advance.
1. Where do I locate the XML file so that I may create appropriate conversation text for created factions. Say for instance i want to add race specific dialogue for the factions I created in game.
2. This should probably 1 but can anyone point me to a good XML tutorial.
1. Didn't know how to do it but now I know. Biggest problem is InternalName tags in XML files, they cannot be duplicated. The files you have to look at is ConversionDefs.xml and FlavorText.xml under the game folder. You can either replace them by having the files named the same way in a mod or you have to create new ones with their own internal names. ConversionDefs file has a tag called "FlavorText", the value of which is a internal name within FlavorText.xml. As an example you can see these xml files I made, note the use of extra "_StarControl" suffix:ConversationDefs_StarControl.xmlFlavorText_StarControl.xml
2. There is not much to it. How Stardock uses XML is not that advanced. There are tags, that contain more tags, until you reach a tag that has a value in it.
I guess I could propise the tutorial on W3Schools - http://www.w3schools.com/xml/default.asp
Ok very cool. This will be very useful. Thanks again.
XML is actually pretty easy to learn and that link pendrokar game you is the best place to go to learn, use notepad++ to edit XML, at least I find that best. It's open source so it's free and you can just google for it.
There are many great features available to you once you register, including:
Sign in or Create Account