How Do I Change The Tech Tree

domon

Chieftain
Joined
Dec 3, 2010
Messages
12
Hi I really want to change something that has bothered me about the tech tree and I was hoping to get some help here because I don't know where to start.

I have a serious issue with all of the "technologies" that are concepts like Liberalism, Divine Right, Communism being in the ages they are due to the prerequisite. I understand the social factors that lead to the wide spread belief in these ideals happened in these time or close to them but in a game where I can have the industrial revolution in 1500s Hindu Germany building Riflemen gives me the advantage I need to defeat my Ottoman neighbours to the north on the island we share historical accuracy its a moot point.

So how do I change the tech tree? Some games I've played require separate programs to modify the graphical tree presented in the game before the changes come into effect (Sword of the Stars comes to mind with its needlessly 3d tech tree that requires you to be able to do 3d rendering to modify).

Does anyone have and experience doing something similar?
 
The order/names/effects/etc. of all the technologies are in Assets\XML\Technologies\TechnologyInfos.xml. You can open .xml files with every text editor, no other program needed.
Be aware, if you remove somthing out of this file (in your mod, sure not in the main game ;)), then please also think of the cross references. e.g. if you remove archery, then you have to take somehow care of the archer, because it will then not have any valid tech prerequisite, etc.
 
Will the lines in the tech tree graphic display reorder themselves to my changes?
 
Yes, they will, but not always in the best way.
The path of the files is determined by the script for the tech tree, so they will go in the most straight available way, so they can also go through other techs or in weird or unwanted ways. You'll then have to shift the techs a bit around to make it look good.

----
The arrows will only be drawn from the OrPrereqTechs, not from the AndPrereqTechs.
 
I never actually edited the Tech Tree myself, but this is interesting information indeed! :king:
 
If you want, you can check out the CivIV Modding Wiki at:
<http://modiki.civfanatics.com/index.php/Main_Page>
 
the .xml Techinfos lets you change things. In it you can also change, eras, cost, cooridnates on the grid. There is also a visual tech tree editor Mod that I have used as well. You can get also put techs off the map by making their grid coordinates=(-1,0). Disable techs for civs in CivilizationInfos.xml. Sometimes that is easier then removing a tech.
 
stolenrays, also interesting :goodjob:
 
Back
Top Bottom