This mod provides a simple framework that allows pawns to switch between their colonist and animal forms through a set of abilities. You can easily add your own custom transformations to animals from any mod.
[hr]
How to Create a Custom Wild Form
Creating a new wild form is straightforward. The easiest method is to copy an existing ability and modify it.
[list]
[*] [b]Locate the Examples:[/b] You can find example abilities in the mod's folder, under
Defs/AbilityDefs/
.
[*] [b]Create Your Ability File:[/b] In your own mod's folder, create a new XML file under its
Defs/AbilityDefs/
directory.
[*] [b]Copy and Paste:[/b] Copy the full XML code from one of the examples (e.g., the
RST_Thrumbo
ability) and paste it into your new file.
[*] [b]Edit the XML Tags:[/b] Now, modify the following tags to define your new ability.
[list]
[*] defName: This must be a unique ID for your ability. For example, change
RST_Thrumbo
to
YourModPrefix_AlphaThrumbo
.
[*] label: This is the in-game name of the ability, such as
Wild Form: AlphaThrumbo
.
[*] description: Write a clear description that will appear in the ability's tooltip.
[*] iconPath: Set the file path for the ability's icon texture.
[*] transtarget: [b]This is the most important tag.[/b] Change its value to the
defName
of the animal you want the pawn to transform into. For example,
AlphaThrumbo
.
[*] cooldownTicksRange: Adjust the ability's cooldown period. The value is in ticks ([i]Note: 60 ticks = 1 second[/i]).
[/list]
[/list]
Once you save the file, your new custom wild form ability will be available in the game. You can add your desire ability inner the abilities list or just use character editor to add the ability.