RimWorld

RimWorld

Faction Evolution
Trying to Modify All Vanilla and Some Modded Factions to Use This Mod
I am trying to make a mod that uses this framework to allow all vanilla (including DLC except for Anomaly, as I don't own that one) and many modded factions (namely Vanilla Factions Expanded mods) to be able to advance with the player. Unfortunately, there are no public mods I can find that make use of this, and no examples are provided. For example, how does "<evolvesToDef>" work? Do I need to create a copy of every faction for each tech level? What about "<evolvesWhenPlayerTech>"? Do I put in a tech level such as "<evolvesWhenPlayerTech>Industrial</evolvesWhenPlayerTech>" to tell the game that one faction is removed and replaced with another when the player hits the Industrial stage? If so, do I put this in the faction that is Medieval and then list the industrial faction in the "<evolvesToDef>" part?

This is all so very confusing when there is zero example provided, and the description lacks all detail necessary to know how each of these variables work and how/where to list them.