Edit tech level of individual technologies

Started by Babuchas, September 16, 2019, 01:35:09 PM

Previous topic - Next topic

Babuchas

Hi all! I am starting in modding, and I am looking for a way to edit the "tech level" of certain technologies, so they could be available (or not) depending on the tech limitation for the gameplay. For example, I might want to run an ancient times play, and I know there are mods that eliminate technologies above medieval era, but maybe there is a mod that adds som cool stuff, or building, or clothes, or something that I would want to use even when it is classified as "industrial". I would like to be able to edit what tech level every research has, both vanilla or added by mods, so a player can customize to the extreme what technologies would be available in a certain game.
Any idea? Is there any way to do this? Where should I start to look into to see or edit the tech level of a research?
Thank you!

Canute

Hi,
i am sorry, but does you even took a look into it yet ?
I am not a modder just someone who edit some values from time to time.
Look at
\Core\Defs\ResearchProjectDefs
and you find all the XML you are looking for.
<techLevel>Industrial</techLevel> is the one you need to change.

Since you want create a mod, you should use xpath methode to change it
https://ludeon.com/forums/index.php?topic=32785.0
Basicly you will need for each mod you would change a patch for this. Some tools like Modcheck help you with that
https://ludeon.com/forums/index.php?topic=36534.0