RimWorld

RimWorld

79 ratings
Faction Evolution
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
50.068 KB
30 Jul, 2023 @ 9:00am
10 May @ 11:59am
5 Change Notes ( view )

Subscribe to download
Faction Evolution

Description
Allows setting up factions that can progress in technology as the player does. Every day factions will progress when the player has reached a specific tech level. Mostly a tool for modders and intended to be used alongside Tech Advancing or a similar mod that allows the player's tech level to change as they research.

--INSTRUCTIONS FOR USE--

You can enable a faction to do this by using the <FactionEvolution.FactionDef_Evolvable> element instead of a <FactionDef> when making the faction. This new def has the same features as a regular FactionDef but adds 3 new elements you can use:

<evolvesToDef> specifies which faction def name this faction will change into. This can be another evolvable faction def or a base game faction def.

<evolvesWhenPlayerTech> sets what tech level the player needs to achieve for the faction to progress. For example, "Industrial" will evolve a day after the player's colony hits industrial tech or on the colony's second day if they started at industrial tech.

<evolvesToIdeo> requires the Ideology DLC. This will make the new faction change their ideologion to an existing one or a previously saved one. Works similarly to another mod of mine, Faction Ideo Utility.

The factions set as evolution targets that have a fixed name defined will switch to that name on evolution.

<factionTypeTag> can be used to tag the faction as a replacement for a faction with special rules. The current ones available are Mechanoid, Insect, (with the Royalty DLC) Empire, and (with Vanilla Factions Expanded - Empire) Deserters. Empire titles will pass between stages of the faction correctly.

<specialPawnkindReplacements> can only be used alongside factionTypeTag to override specific pawnkinds for the Empire and Deserters so pawns spawned in quests will appear differently. An example of the tag to replace the Empire's troops with tribal ones:

<specialPawnkindReplacements> <li> <pawnkindDef>Tribal_Berserker</pawnkindDef> <replacesDefOf>Empire_Fighter_Janissary</replacesDefOf> </li> <li> <pawnkindDef>Tribal_Hunter</pawnkindDef> <replacesDefOf>Empire_Fighter_Cataphract</replacesDefOf> </li> <li> <pawnkindDef>Tribal_Warrior</pawnkindDef> <replacesDefOf>Empire_Fighter_Trooper</replacesDefOf> </li> </specialPawnkindReplacements>

Valid pawnkindDefs:
  • (Requires Royalty DLC) Empire_Royal_Bestower, Empire_Royal_NobleWimp, Empire_Fighter_Janissary, Empire_Fighter_Cataphract, Empire_Fighter_Trooper, Empire_Common_Lodger
  • (Requires Vanilla Factions Expanded - Empire) Empire_Fighter_StellicGuardRanged, Empire_Fighter_StellicGuardMelee, Empire_Royal_Duke, Empire_Royal_Baron

--COMPATIBILITY--
Confirmed compatible with Vanilla Factions Expanded - Empire when replacing the Empire with an evolving version.
32 Comments
Unantastbär™ 8 Jul @ 9:41am 
is there some explanation on how to use this mod in deatail?
ImTheLichBruh 7 May @ 11:45pm 
please update
lukey pookie 29 Apr @ 6:50pm 
Ive been looking for a mod like this!
Hamacelos 16 Apr @ 11:31am 
hope this one comes back, a true banger.
Derko 28 Dec, 2023 @ 1:37pm 
i found a bug with your mod. When i try a "Dev Quicktest" with your mod active, i get an error generationg map and get back to the main screen.

Here is the hugslog: https://gist.github.com/HugsLibRecordKeeper/6fafa2441039c84a493f71e77e557273
Melted Orange 27 Oct, 2023 @ 2:07pm 
@Spikem59 I really hope someone will make a patch for all the VFE, i have had a look at it myself and i have no clue what to do lol. a bit more coding learning for me
Spikem59 4 Oct, 2023 @ 11:45pm 
Cool story, bro.
SolarFlare1234 4 Oct, 2023 @ 11:40pm 
she :Citadel: on my :Gems: till i :Uranium:
Spikem59 21 Sep, 2023 @ 1:53am 
I really hope someone makes a mod implementing this with the vanilla, VFE, and MO factions. I've always wanted to do a playthrough where *everyone* starts as tribes (hell maybe even kick it off with nudist tribes for extra unga bunga factor) and going through all the tech levels.
Officer zzguy 1 Sep, 2023 @ 9:35pm 
This needs more publicity. A medieval playthrough with factions that advance with you would be amazing. We could play Rimworld like Civilization.