Config Types - ASharpPen/Valheim.CustomRaids GitHub Wiki
Custom Raids works off 2 different types of configuration files.
custom_raids.cfg
- General configuration includes general mod controls, overall event system changes, and debugging options.
custom_raids.raids.cfg
- Main file for adding raid configuration.
- This file is intentionally empty.
Configurations are loaded upon entering a world / starting the server.
All configurations are placed in the default BepInEx configuration folder, and generated upon starting the game.
Additionally, it is possible to add raids in separate "supplemental" files, to allow for easier separation and management. The supplemental files must be named following the pattern:
custom_raids.supplemental.*.cfg
Eg.
custom_raids.supplemental.my_custom_raids.cfg
Furthermore, supplemental raid files can be placed in any subfolder, as long as they are in the bepinex/config folder somewhere.
Tips for configuring
Raid events are generally a bit "janky" to configure, so I suggest making use of the "RemoveAllExistingRaids" and console while testing. Enable only your own change, and use console commands "randomevent" and "stopevent" to test things out.
Spawning during also seems to be very inconsistent, meaning with the same interval setting, you will sometimes have a bunch of wave triggers inside a short span, and sometimes it takes ages.
It is also important to understand how raids are started and run.
A pretty comprehensive guide for prefabs can be found here
See the Valheim Wiki - Event System for further details on raid configuration and how they work.