You will have to change the GridX value of all the technologies that are not under the correct era to fix this problem, or make sure that when you add or change a technology you don't assign it a gridX value that would place it in a different era so that the era panels do not change from their default locations. e.g. the GridX value for ancient era technologies should not be greater than two
Morlark you said this was an untrue statement and as according to your first post you state that:
... The only way I can think of for what you're describing to occur is if something's gone wrong in TechTree.lua, or if your TXT_KEY_ERA_* entries have somehow got mixed up...
Yes if you are editing this TechTree.lua file we can create all kinds of unwanted circumstances. Yet this statement implies that only an error here could cause the problems that the original poster is suffering from. As such according to
YOU any solution thereafter would derive from the editing/correcting (re downloading) of this TechTree.lua file.
Further to this you suggest an error in the TXT_KEY_ERA_ * entries, these values have no bearing on location and as such how the technologies are distributed under the panels. This at worst would alter the Era Name of the panel or return a TXT_KEY_ERA_* wording where this is called, such as in the civilopedia. There is simply therefore no reason to assume that a language string would result in the mentioned problem as it stands.
So in conclusion at this point according to your own words it is something that has occurred to the TechTree.lua file. What could this be we might ask ourselves?
Nowhere here do you mention any other potential cause or solution, anything therefore relating to information held within the Civ5Technologies.xml file is irrelevant and as you so adamantly proclaimed by dismissing my initial post the answer will have nothing to do with the GridX Value found within this technology.xml file, the tags of which are used when creating new technologies.
Your next post then attempts to add credence to this first post and we see exactly what your understanding of the technology tree is including how and why the Techtree.lua file is to blame:
The era panels will automatically expand or contract to encompass all the proper techs.
This above statement is what your initial statement in the previous post hinges on, which implies the TechTree.lua file is somehow corrupted or in some other way being altered, and it is simply not true, as YOU yourself invalidate it by describing the following scenario within the same post:
Obviously, if there are techs from two different eras in the same column then there's no way for the system to cope.
And here is where the problem occurs and where your entire argument up to this point is mute.
Yes the era panels will expand and contract, but not to cover
ALL the proper technologies. The code in the TechTree.lua file simply does not acknowledge and attempt to resolve the technologies location when this occurs. And as such it is not the original posters TechTree.lua file that is in some way different to how it should be but rather a limitation of the code held within by default.
Therefore there must be another reason this problem could occur that is not related to the TechTree.lua file or the TXT_KEY_ERA_*. But according to your OWN words this is simply not possible!
If we follow your suggestion then at this point where does this leave us? Hanging on for dear life trying to figure out what we can code into the TechTree.lua file to resolve the problem even though it is as intended by the original developer.
This is where your contribution to this thread ends, with a solution based upon a problem that does not exist that is based upon a seemingly shaky understanding of how the tech tree works and unable to recognise when you invalidate your own statements.
Spatzimaus however is on the right lines here, and as the original poster has confirmed it solved their problem. Spatzimaus understanding of the tech tree is similar to my own and his/her solution is in line with my own original solution to this as follows:
If you want to add more techs to the Ancient era, then you'll need to either fit them into the existing holes.
This relates to this:
or make sure that when you add or change a technology you don't assign it a gridX value that would place it in a different era
, or shift all of the later techs' GridX values by 1.
This relates to my solution as follows:
You will have to change the GridX value of all the technologies that are not under the correct era to fix this problem.
I guess my fault here was trying to be over complicated with my choice of words and will next time have to tone it down a bit, live and learn
Perhaps you should make less off the cuff remarks and more closely consider all aspects of a problem before dismissing them, it might surprise you.