JohnCJR
Chieftain
- Joined
- Oct 23, 2016
- Messages
- 35
I have figured out a way to limit the eras you want to play in. It is a temporary solution until the mod workshop is released on steam and someone with more know-how than myself creates the relevant end in era mods. I first created one which kinda ends the game in the Classical era, so that you can't research medieval techs or civics policies.
The key is to go to:
C:/program files/steam/steamapps/common/Sid Meiers Civilization VI/Base/Assets/Gameplay/Data/
Then you will need make copies of the original files; "Civics" and "Technologies".
In these files you will find something like this:
<Technologies>
<!-- Ancient Era-->
<Row TechnologyType="TECH_POTTERY" Name="LOC_TECH_POTTERY_NAME" Description="LOC_TECH_POTTERY_DESCRIPTION" Cost="25" AdvisorType="ADVISOR_GENERIC" EraType="ERA_ANCIENT" UITreeRow="0"/>
Each era will list all the techs in that era in the above way. Lets say you want to stall the tech tree in the classical era and not advance to the medieval era, you'll have to find all of the techs in the medieval section of the file, i.e.(<!--Medieval Era-->). Then you will change the part where it says Cost=" ". In the above example it says Cost=25, this is the research time required to unlock the tech. So if you want to lock a tech, simply change this number to a ridiculously high number. I changed it to something like 100,000 and it made the tech take something like 22,000 turns. Practically speaking, you'll never have a game that lasts that long.
The same principle also applies to the "Civics" xml file. Simply find the civic in the era you want to lock and change the cost values to a very high number.
This is a crude way to limit to a particular era but it works. My suggestion is to make back up copies of your technology and civics xml files and keep them on your desktop. You can always swap out your modded files with the originals before launching the game if you want to remove the era limitation. You can also do this for every era if you so desire.
Hope this was helpful.
The key is to go to:
C:/program files/steam/steamapps/common/Sid Meiers Civilization VI/Base/Assets/Gameplay/Data/
Then you will need make copies of the original files; "Civics" and "Technologies".
In these files you will find something like this:
<Technologies>
<!-- Ancient Era-->
<Row TechnologyType="TECH_POTTERY" Name="LOC_TECH_POTTERY_NAME" Description="LOC_TECH_POTTERY_DESCRIPTION" Cost="25" AdvisorType="ADVISOR_GENERIC" EraType="ERA_ANCIENT" UITreeRow="0"/>
Each era will list all the techs in that era in the above way. Lets say you want to stall the tech tree in the classical era and not advance to the medieval era, you'll have to find all of the techs in the medieval section of the file, i.e.(<!--Medieval Era-->). Then you will change the part where it says Cost=" ". In the above example it says Cost=25, this is the research time required to unlock the tech. So if you want to lock a tech, simply change this number to a ridiculously high number. I changed it to something like 100,000 and it made the tech take something like 22,000 turns. Practically speaking, you'll never have a game that lasts that long.
The same principle also applies to the "Civics" xml file. Simply find the civic in the era you want to lock and change the cost values to a very high number.
This is a crude way to limit to a particular era but it works. My suggestion is to make back up copies of your technology and civics xml files and keep them on your desktop. You can always swap out your modded files with the originals before launching the game if you want to remove the era limitation. You can also do this for every era if you so desire.
Hope this was helpful.