[BTS] A question about expanding the tech tree

Nyor

Chieftain
Joined
Sep 1, 2010
Messages
8
Hi to y'all,

I have been using the search function and had not found anything on how to expand the tech tree sceen (see picture)



I created a couple of new technologies and been
experimenting around a little bit the eras (e.g added a new era to the game). I know there is a TechTree.py - but it doesn't seem like the file which I have to edit, but rather like a screen where the screens are embedded.

If this questions has been asked already - sorry ( : I'd highly appreciate if someone could past me the link to the respective thread, then.

Otherwise, which file do I have to edit to make the tech tree screen fitting for more technologies than the ones that the game comes up with?

Thank you
 
TechTree.py draws the techtree, but it doesn't know any specific techs. Instead it draws data from Civ4TechInfos.xml. Each tech has iGridX and iGridY, which controls where TechTree.py should draw the tech in question. The arrows are added based on tech dependencies.
Hi there,

thank you! I will be trying it once more - maybe your info helps. It's a good start.

Edit: Yeah, it worked. Problem resolved. Thank you!!
 
Last edited:
Top Bottom