How create a mod with a new tech tree?

I have the file MyRaceTechDefs done as well as TechDefText and TechSpecializationDefs done. But what file it's referencing techs that are not defined. Where do I find that file so I can add them and change parameters? The mod folder works. Thanks in advance.

9,058 views 6 replies
Reply #1 Top

What is the problem? TechSpecializationDefs not working? 

You have remembered to put the new tech tree name in the faction file right?

Reply #2 Top

I'm not building a new faction at this point. Simply a faction tree. I copied the Yor and simply did a find/replace from Yor to my faction name. When I load it it says:

mod validation/ error:tech tree audit. tech tree fracture detected. This tech has no valid prerequisite, and is unreachable. Tech name: CylonLosslessSupportSystems. Tree: Cylon_tree. I can click through it and the game starts and my new tech tree is there but when I start a new game the galaxy just spins saying it's creating the map but never resolves itself.

The prerequisite is LosslessSupportSystems but there is no tech named that in Yor. Also where is the file where the actual structure of the tech tree is laid out? Or better yet, where is the file that allows you to create/customize new techs?

Also where is the file that gives the weapon/defense defs?

Some many questions. Thanks for any help you can provide.

Reply #3 Top


The prerequisite is LosslessSupportSystems but there is no tech named that in Yor
End of quote

There is. The generic name of that tech is named that, and prereqs back to itself. Not sure why it works without error in the default game, or if it's a bug that it isn't showing up in the default Yor tech tree in game. 

Either way, just remove the whole thing unless you want to experiment with the prerequ tags to actually add the tech to the tech tree somewhere. (you could try the two former spec techs above it in the file) You may encounter more of those bugs if it's used that way to "hide" techs in the default game and we are not supposed to do it that way when we mod. 

Or better yet, where is the file that allows you to create/customize new techs?
End of quote

You are pretty much doing that if you have renamed those files and renamed the names inside. Not easy being a modder :P

Reply #4 Top

I had to remove the whole tech but it works now. Thanks. But how do i play with the tech bonus and where are the weapon/defense defs?

Reply #5 Top

Weapon and defense defs are located in the ship components file. Not sure what you mean with tech bonus, but if you mean the specialization thingies (like +5 logistics) it should be a modifier in the tech itself you can just tweak.