Creating Enemies with REPOLib SDK
NOTICE
This page is currently Work in Progress!
NOTE
This guide assumes you have a REPOLib Unity project set up for REPOLib modding.
If not, follow Getting Started first.
- Create an
EnemySetupasset by right-clicking and choosingCreate > Other > Enemy Setup.- As with Valuables, you can use the vanilla Enemies as reference.
- Right click in your mod folder (or any subfolder) and choose
Create > REPOLib > Enemy. Configure the fields:Setup: The reference to theEnemySetupasset you created prior.Spawn Objects: A list of prefabs that will be spawned when your Enemy is chosen. Usually, you'll only need to add your single Enemy prefab here.