HOW TO: Create a Civilization

I have a problem with a mod I made, in which every time I load the mod the following two errors come up:

error locating tag node in setglobalclassinfo function Current xml file is: civilizations/CIV4Civilizationinfos.xml...

I think one of your tags is missing a syntax - like a comma/space/hyphen/etc

does it say which line is the error?

cause if it does look there

...Tag: Civilization in info class was incorrect current xml file is Interface/CIV4worldpickerinfos.xml

Any one have any ideas?



what did you edit in the CIV4worldpickerinfos.xml file?

also what version of CIV4 you using (vanilla/patch/expansion)

you also might want to check out this tut:

http://forums.civfanatics.com/showthread.php?t=148507

its more complete than this one


but they are only for vanilla civ sorry :sad:
 
When will the XML text link be fixed?



Im not sure but you may want to try this tutorial... its more complete

http://forums.civfanatics.com/showthread.php?t=148507


Im not sure what your looking for in that dead link but this link might help

http://vic.australis.com.au/charcoal/GameTextInfos_YourCiv.zip

and this sets up the folder


http://vic.australis.com.au/charcoal/newciv.zip

the first link provides the info behind those files :D

the credit goes to Charcoal :goodjob:


hope this helps ;)
 
Thanks a lot, it did
 
does anybody know where to get a UB making tutorial?
 
good luck on modding :goodjob:

let me know if you need any other help ;)

Well, i have basically completed my Fulani Empire(Sokoto Caliphate) mod:) , but for my unique unit and cities the names go down as the full tag in the XML. ie:
TXT_KEY_UNIT_FULANI_FULANI_CAVALRY instead of Fulani Cavalry
TXT_KEY_CITY_SOKOTO (or something like that) instead of Sokoto. :confused:

If u could help me solve my problem, that would be really great.
 
Well, i have basically completed my Fulani Empire(Sokoto Caliphate) mod:) , but for my unique unit and cities the names go down as the full tag in the XML. ie:
TXT_KEY_UNIT_FULANI_FULANI_CAVALRY instead of Fulani Cavalry
TXT_KEY_CITY_SOKOTO (or something like that) instead of Sokoto. :confused:

If u could help me solve my problem, that would be really great.

go to your text folder and either make a new file or add this to one of text files:
(located in the Assets/XML/text folder)


Code:
	<TEXT>
		<Tag>TXT_KEY_UNIT_FULANI_FULANI_CAVALRY</Tag>
		<English>Fulani Cavalry</English>
		<French/>
		<German/>
		<Italian/>
		<Spanish/>
	</TEXT>


follow that format for the other txt_key entry and you got it


FYI:

I used CIV4GameTextInfos_Objects.xml file

and added my custom entries at the end


Text Files are the ONLY files that dont have to be in a SPECIFIC file so you can make a new text.xml file or add your info to existing files (like I did) and it will work :goodjob:


hope that helps ;)
 
thanks again it helped a lot
 
I'm having trouble making the flags. I did all the steps and it comes out in game as a roman flag with a red background. My civ's button is the roman flag, does that have anything to do with it? and my civ's color is red.

Any help?:(
 
I dont get any of this.... :-/
 
I have tried to create a new civilization, but when I start the game I cannot use it. Any suggestions?
 
I have a quick, hopefully easy, modding question. I want to know how to give a free building everytime my custom civilization founds a new city.

I want a buidling (say a barracks) to also show up when the capital (first city) is founded - but also when each new city is founded. I have played around with the settings a bit, but can't seem to get it right. Any help?
 
@lemannorthway
Okay, I thought as much. Can you post an example of your folder structure for me? And describe what you did. No need to be too detailed.

@Rando
Try looking at this for ideas. I'd suggest copying it and editing it. It's pretty self-explanatory.
 
Top Bottom