Modding:Genotypes and Subtypes: Difference between revisions

Added information about naming
No edit summary
(Added information about naming)
 
Line 4: Line 4:
[[Genotype]]s and [[subtype]]s can be created with only some basic XML files. No scripting is required.
[[Genotype]]s and [[subtype]]s can be created with only some basic XML files. No scripting is required.


Generally you'll want to include a <code>Genotypes.xml</code>, a <code>Subtypes.xml</code>, and a <code>PopulationTables.xml</code> (the latter defines starting gear for your subtypes).
Generally you'll want to include a <code>Genotypes.xml</code>, a <code>Subtypes.xml</code>, and a <code>PopulationTables.xml</code> (the latter defines starting gear for your subtypes).  
You can also add naming schemes to subtypes by making a <code>Naming.xml</code> 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 [[Modding:Tiles|custom tiles]] or custom items defined in an <code>ObjectBlueprints.xml</code>.
Additional files may be included depending on what exactly you want to do. For instance, you might include [[Modding:Tiles|custom tiles]] or custom items defined in an <code>ObjectBlueprints.xml</code>.


Refer to some of the example mods that are available to see how to set them up.
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.
* [https://steamcommunity.com/workshop/browse/?appid=333640&requiredtags%5B%5D=Genotypes Steam Workshop: Mods with "Genotypes" tag]
* [https://steamcommunity.com/workshop/browse/?appid=333640&requiredtags%5B%5D=Genotypes Steam Workshop: Mods with "Genotypes" tag]
* [https://steamcommunity.com/workshop/browse/?appid=333640&requiredtags%5B%5D=Genotype Steam Workshop: Mods with "Genotype" tag]
* [https://steamcommunity.com/workshop/browse/?appid=333640&requiredtags%5B%5D=Genotype Steam Workshop: Mods with "Genotype" tag]
41

edits