Modding:Genotypes and Subtypes
Reason: Needs actual examples on this page for those who don't have easy access to Steam workshop
Genotypes and subtypes can be created with only some basic XML files. No scripting is required.
Generally you'll want to include a Genotypes.xml
, a Subtypes.xml
, and a PopulationTables.xml
(the latter defines starting gear for your subtypes).
You can also add naming schemes to subtypes by making a Naming.xml
with a namestyle assigned to those subtypes. (Naming is assigned on a subtype level rather than by genotypes.)
Additional files may be included depending on what exactly you want to do. For instance, you might include custom tiles or custom items defined in an ObjectBlueprints.xml
.
For reference, you can see the game's default files for reference at File locations. You can also refer to some of the example mods that are available to see how to set them up.