ASharpPen-Custom_Raids icon

Custom Raids

Customize raid events, override existing, extend with your own raids.

Last updated a week ago
Total downloads 48343
Total rating 6 
Categories Mods
Dependency string ASharpPen-Custom_Raids-1.6.1
Dependants 119 other mods depend on this mod

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.1900 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.1900

README

Custom Raids

This mod allows for customizing raids to your liking.

Want to have armies besieging your fortress? A bit of extra environmental effects along your way? Or just disable trolls?

This mod can help you do all of that!

Comes preconfigured with two additional end-game raids (disabled by default), to show how and what can be done:

  • Ragnarok
  • Deathsquitoseason

Enable those raids at own risk!

Features

  • Can change frequency of raids
  • Add new raid events, with full configuration options, including spawns
  • Override existing raid (eg. disable trolls)
  • Supplemental raid configurations. Add your own raid in its own file, and Custom Raids will scan and apply it.
  • Potential for hours of frustration/fun as you figure out how to best configure these damn things to work as expected.
  • Server-side configurations
  • Support for Creature Level and Loot Control

Documentation

Documentation can be found on the Custom Raids Wiki.

FAQ

  • Is it server side only?
    • No. Both client and server needs the mod.
    • The way events work is that the host / dedicated server will run the logic for when to apply raids, and then send a message with the name of the raid to be assigned to all clients. The client in charge of zone (valheim multiplayer is weird) will then manage the actual spawning for the raid.
  • Can I just have no raids?
    • Yes. Raid activation happens server-side, making this even simpler, you should only need this mod serverside if you just want no raids. (You can also use Event Enhancer for this)
    • Set configuration "EventTriggerChance=0" or
    • Set configuration "RemoveAllExistingRaids=true", as long you don't have something custom, this will remove the options, thereby removing raids.

Client / Server

Custom Raids needs to be installed on all clients (and server) to work.

From v1.2.0 clients will request the configurations currently loaded by the server, and use those without affecting the clients config files. This means you should be able to have server-specific configurations, and the client can have its own setup for singleplayer. For this to work, the mod needs to be installed on the server, and have configs set up properly there. When players join with Custom Raids v1.2.0, their mod will use the servers configs.

Example

[Example_Raid]
Enabled = true
Name = Example1
Random = true
NearBaseOnly = false
RaidFrequency = 0.1
RaidChance = 100

[Example_Raid.0]
PrefabName = Skeleton
HuntPlayer = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100

Support

If you feel like it

Changelog

  • v1.6.1:
    • Fixed individual raids not being affected by paused raid timer.
    • Changed individual raids to now be checked pr EventCheckInterval. This should make it easier to control individual raids frequency, especially when a lot of raids are available. Note this should generate less raids for most, and might require some tweaking of the EventCheckInterval if you liked it the old way.
  • v1.6.0:
    • Added server setting for pausing raid timers while no players are online. Enabled by default.
    • Added raid condition ConditionMustBeNearPrefab for checking if any of the listed prefabs is nearby.
    • Added raid condition ConditionMustBeNearAllPrefabs for checking if all of the listed prefabs are nearby.
    • Added raid condition ConditionMustNotBeNearPrefab for ensuring none of the listed prefabs are nearby.
    • Added action for starting new raid on raid stop.
  • v1.5.3:
    • Fixed issue with spawning on mountains due to distance check from player including height.
    • Fixed spawn SetFaction modifier being case-sensitive.
  • v1.5.2:
    • Minor robustness improvements and internal cleanup.
    • Removed mistakenly packaged dll.
  • v1.5.1:
    • Fixed an unintentional reference to SpawnThat, causing an error when not installed.
  • v1.5.0:
    • Added new raid conditions; altitude and environment.
    • Additional error handling.
    • Debug files are now printed to path BepInEx/Debug. Can be configured.
    • Fixed detection of Spawn That installation.
    • Fixed supplemental file detection not being restricted to cfg's.
    • Lots internal fixes and updates.
  • v1.4.0:
    • Support for Creature Level and Loot Control.
    • Support for most Spawn That modifiers.
    • Ported over Spawn That spawning conditions.
    • Stopped raids from starting a new raid, if another event is already active.
    • Fixed bug causing a lot of raids to not run when not using IndividualRaids.
  • v1.3.7:
    • RemoveAllExistingRaids no longer removes non-random events. This should fix boss events being cleared as well.
  • v1.3.6:
    • Scanning all-subfolders for Custom Raids supplemental files.
  • v1.3.5:
    • Fixed issue with individual frequencies causing raids to not start.
    • Fixed potential multiplayer issue with faction assignment.
  • v1.3.4:
    • Fixed a critical bug in the compatibility code of 1.3.3 causing raid creatures not to spawn.
  • v1.3.3:
    • Improved compatibility with mods supplying prefabs.
    • Fixed installation detection of Enhanced Progress Tracker.
    • Changed global key check logic to reduce complexity and potential for errors.
  • v1.3.2:
    • Raid debug files now follow config format.
    • Fixed issue with faction assignment for raids with different factions for same mob type.
  • v1.3.1:
    • Fixed issue with faction assignment being skipped in certain situations.
  • v1.3.0:
    • Set raid faction. Defaults to boss now, for all spawned creatures.
    • Conditions for day/night
    • Conditions for world age
    • Conditions for distance to world center
    • Condition for requiring one global key out of multiple
    • Fixed Valheim bug of NearBaseOnly being required. This enables raids anywhere in the world when false.
    • Overhaul of raid frequencies and chances. Can now select individual frequency and chance for each raid.
    • Support for Enhanced Progress Tracker.
  • v1.2.0:
    • Server-to-client config synchronization added.
    • Fixed various mistakes in config descriptions. Sorry guys, I am bad at reading. EventChance is in range 0-100, frequency is in minutes.
    • Removed "LoadRaidConfigsOnWorldStart" option. This is always done by default now.
  • v1.1.0:
    • Removing biome area. It is simply a gun to shoot yourselves in the foot with.
    • Removing Biome, replacing with Biomes, now with actual names, and not some insane binary flag!
    • Fixed spawn issue, where a lot of biomes were getting disabled by mistake. It should now be a lot easier to get raids to spawn as intended.
  • v1.0.1:
    • Fixed debug output file not being enable-only by toggle in options

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2022-5-16 1.6.1 2500 Version 1.6.1 Install
2022-5-13 1.6.0 1652 Version 1.6.0 Install
2022-4-6 1.5.3 8677 Version 1.5.3 Install
2022-3-23 1.5.2 3618 Version 1.5.2 Install
2022-3-14 1.5.1 2662 Version 1.5.1 Install
2022-3-12 1.5.0 877 Version 1.5.0 Install
2021-5-16 1.4.0 25533 Version 1.4.0 Install
2021-5-12 1.3.7 210 Version 1.3.7 Install
2021-4-28 1.3.6 321 Version 1.3.6 Install
2021-4-25 1.3.5 192 Version 1.3.5 Install
2021-4-24 1.3.4 152 Version 1.3.4 Install
2021-4-22 1.3.3 130 Version 1.3.3 Install
2021-4-11 1.3.2 340 Version 1.3.2 Install
2021-4-10 1.3.1 130 Version 1.3.1 Install
2021-3-27 1.3.0 343 Version 1.3.0 Install
2021-3-14 1.2.0 369 Version 1.2.0 Install
2021-3-4 1.1.0 303 Version 1.1.0 Install
2021-2-28 1.0.1 224 Version 1.0.1 Install
2021-2-27 1.0.0 110 Version 1.0.0 Install