asharppen / valheim.customraids Goto Github PK
View Code? Open in Web Editor NEWLicense: The Unlicense
License: The Unlicense
Add mod support for CLLC.
Allow options for setting extra effects, infusions, boss affixes and levels.
On joining a server, client should request server-side configs and load them in memory.
Port in solution from Drop That 1.4.0
Individual raid start checks overhaul.
Each raid config should be able to specify chance and frequency.
Raid condition checking if any of listed prefabs are nearby.
I am trying to compile this project so I can help contribute to it. I have visual studio code 2022, and I feel like I am pretty close to getting thing working. Right now I have errors like this when building:
Error CS0117 'ZNet' does not contain a definition for 'Update' Valheim.CustomRaids Valheim.CustomRaids\Valheim.CustomRaids\Valheim.CustomRaids\Core\Network\Dispatcher.cs 34 Active
According to visual studio the ZNet class is declared in the assembly_valheim.dll. I don't really understand why my version of the dll does not have this method. I copied the dll from my game directory and my game is up to date. Do you know what version of that dll you were using, or is there something else that I am missing?
Edit: I see that Update is a private method in the class, still unsure of how to proceed
I am using World Advancement Progression (https://valheim.thunderstore.io/package/VentureValheim/World_Advancement_Progression/) - it blocks global_keys from being set and uses private_keys instead. This way everyone on a server can have his / her own progress.
Your mod only checks the global key - would it be possible to check a private key as well? Or maybe offer the configfile option to use private keys (defined in the config file) or just use private keys the same way global keys are used?
Thanks in advance
Fix NearBaseOnly being required true. This makes raids impossible to spawn outside of player bases when set to false.
See title like please; idk if I'm dumb or what but I have read everyline on everypage of your stuff and I can't find out just how to open the config setting to not be raided by bats. Like all I want to do I walk thru a portal and not have all my wolves and boars die because someone decided bats are a good raid idea. hit f5 and typed opened chat and typed as far I as I can tell you tell us how to do everything but open the config setting. I spent two hours just to open the mod setting and had to create this account.
Thanks ps I probably messing something simple idk
Add the condition for player having an item in inventory to raid check too.
Raid condition checking if any of listed prefabs are nearby. Condition is invalid if any are found.
Raid mobs keep fighting each other, due to having different factions, and using the default settings of that mob type.
Set up configuration for defaulting to a custom "raid faction", so that they stop internal fights, and allow for overruling the faction for each mob.
Hi ASharpen, I'm really glad someone is looking into this portion of the gameplay code and I am excited to see how it grows so thanks for your work.
Currently its a bit more daunting to have to create your own custom raids (plus the spoilers/time to balance that may follow for newer players).
Thanks!
Add option for allowing raids to stack. Usually the for new raids checks if a raid is already active, this option should overrule or remove the check.
Add option for allowing specific raids to stack.
Any idea what this event name is called? I feel like people will looking for it's name much like the trolls considering the creatures melt stone and can fly. Bonus points for adding it to the configuration example on the mods description etc
I've been working on a scheduled raid manager based on your mod. It has some features I've seen on your enhancement list but there are also lots of other stuff. The idea was to add option to make much stronger but predicted raids. It has some features I've seen on your enhancement list but there are also lots of other stuff.
So my question is that is it something you might be interested in adding to your mod?
Currently it has these features:
[Info : Unity Log] 06/15/2021 16:42:38: Starting respawn
[Info : Unity Log] 06/15/2021 16:42:38: tip:$loadscreen_tip10
[Info : Unity Log] CustomLoadingScreens setting sprite to loading screen
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
Valheim.CustomRaids.RandEventSystemPatch.ApplyConfigurations (RandEventSystem __instance) (at <165a93b4e66b461a8b36d67a73d82af9>:0)
Valheim.CustomRaids.Patches.ConfigLoadingPatch+<ReleaseConfigs>d__3.MoveNext () (at <165a93b4e66b461a8b36d67a73d82af9>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <30e538f3cf5548cfa6abc9730778bcef>:0)
[Info : Unity Log] 06/15/2021 16:42:41: Loading
Not sure if the tstore version is in sync with nexus
showing this object not set when loading up
is this due to improper configuration on my behalf?
Configuration for Biomes as list of names instead of current biome binary flag.
Its too messy and confusing.
Hello. I'm configurating a server and having a couple questions about Custom Raids.
1 = It is possible to configure a raid that only stops when all creatures are defeated?
2 = It is possible to configure a raid that only happens once?
Thanks!
Compatibility with Creature Level and Loot Control.
Overriding level control of that mod.
Hello there,
a very nice feature for PvP servers would be, if there is an option to turn off the red circle shown on the map for everyone when a Raid starts.
If you have a PvP Server and people want to create a hidden base it is nearly impossible to do so. We would like to keep the Raid aspect for each player without destroying the PvP aspect of the servers.
I would be glad if there would be an option to ether:
Due to that players on the same island can see the raid and players across the map don't notice this event.
Thank you!
Add option for disabling a raid until server has existed for a configured amount of time
Condition - distance to center min/max.
Intended to help guard against high level raids in highly progressed worlds, for beginner players.
Allows for increasing difficulty in raids as players move towards the edges of the map
Hi ASharpPen,
I'm not entirely sure what is happening, but it looks like events have not been triggering over the last week or two on our dedicated server. I just tested with all mods disabled, and on a local world, but seem to be getting the same issue. The events worked fine in the past too, so I'm thinking it may not be due to a config error. I've also updated to BepInEx 5.4.10.0, which might matter?
This is what I've tested:
Uninstalled all mods, went near a settlement, and confirmed that "randomevent" console command triggers a vanilla raid
Installed only CustomRaids, went to same spot, and "randomevent" no longer triggers a raid, not even vanilla raids.
Triggering a custom raid manually using "event X" works fine though, and runs as expected.
I see this in the debug log:
[Debug :Custom Raids] Checking 0 raids for conditionals
[Info : Unity Log] 05/13/2021 17:18:45: Possible events:0
Hope that gives you enough information to troubleshoot -- let me know if you need any further information!
Quick Edit: I meant I am using BepInEx 5.4.10.01 released 12 May
Hi,
We are having trouble getting custom raids to work on a dedicated server we rent.
2 clients installed 1.6.3 version. dll goes to bepinex/plugins folder and config file is in the configs folder.
Same way it was uploaded to the dedicated server.
We set the minimum amount of time between raids for testing (1 min)
It works for both of us if we host a server, but doesn't work on the dedicated server.
What could be an issue here? Does it require a fresh server?
Typo in biome list of documentation for Blackforest. To be perfectly correct it should be "BlackForest".
Just because I feel like I forgot something, verify that the normalization of the biomes work and make the typo harmless.
Hi ASP, looks like there might be another issue -- one of the folks on my server reported having Friendlies in a Custom Raid (from RRR NPCs) attempting to attack the player. They do no damage, since they are friendly NPCs, but they just sit there swinging/shooting. The "Faction=Players" value is being assigned to these NPCs, and this raid did work previously. Existing friendly NPCs seem to behave fine too, which made me think that this may have something to do with the recent changes to custom raids? I can take a closer look and do some testing later, if you need more information. Thank you for working on all of this!
Add condition for player not having an item in inventory to raid check.
Configuration for valid raid, based on number of days in world.
Set a minimum and maximum number of days for raid to be valid inside.
Print default raids ready for copy-paste into raid configuration tables.
Currently they are printed in a manner where you have to manually transfer the fields, this is bothersome and should be as easy as possible. See Spawn That's way of dumping defaults for inspiration.
I've set up some events, but keep running into an issue with faction. When enabled individually, each event works fine -- each faction in the event fights each other properly. However, when enabled together, one of the events stops working. The units in the broken event act like they are in the wrong faction -- either attacking a friend, or ignoring an enemy.
I've had this happen with 4 pairs of events (below). One thing I noticed -- the Undead faction seems to be in every pair. Possibly related? Or maybe its something I keep configuring incorrectly?
As a part of troubleshooting, I've done the following, but none seem to make a difference/are the source of the issue:
Thank you in advance for working on this, and for your work on this mod in general!
# Battle_BlGo
# Undead
# PlainsMonsters
[Battle_BlGo]
Name = Battle_BlGo
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
# Basic Spawn
[Battle_BlGo.0]
Name = Battle_BlGo0
PrefabName = Skeleton
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
# Elite Spawn
[Battle_BlGo.1]
Name = Battle_BlGo1
PrefabName = Blob
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_BlGo.2]
Name = Battle_BlGo2
PrefabName = BlobElite
Enabled = true
MaxSpawned = 2
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_BlGo.3]
Name = Battle_BlGo3
PrefabName = Goblin
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_BlGo.4]
Name = Battle_BlGo4
PrefabName = GoblinBrute
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_BlGo.5]
Name = Battle_BlGo5
PrefabName = GoblinShaman
Enabled = true
MaxSpawned = 2
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
# Battle_TrGo
# PlainsMonsters
# ForestMonsters
[Battle_TrGo]
Name = Battle_TrGo
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
# Basic Spawn
[Battle_TrGo.0]
Name = Battle_TrGo0
PrefabName = Goblin
Enabled = true
MaxSpawned = 6
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
# Elite Spawn
[Battle_TrGo.1]
Name = Battle_TrGo1
PrefabName = GoblinBrute
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_TrGo.2]
Name = Battle_TrGo2
PrefabName = GoblinShaman
Enabled = true
MaxSpawned = 2
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_TrGo.3]
Name = Battle_TrGo3
PrefabName = Troll
Enabled = true
MaxSpawned = 4
SpawnInterval = 10
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 3
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = ForestMonsters
# Battle_DrDrake
# Undead
# MountainMonsters
[Battle_DrDrake]
Name = Battle_DrDrake
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_DrDrake.0]
Name = Battle_DrDrake0
PrefabName = Draugr_Ranged
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_DrDrake.1]
Name = Battle_DrDrake1
PrefabName = Draugr_Elite
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_DrDrake.2]
Name = Battle_DrDrake2
PrefabName = Hatchling
Enabled = true
MaxSpawned = 10
SpawnInterval = 4
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 12
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = MountainMonsters
# Battle_SuDrake
# Demon
# MountainMonsters
[Battle_SuDrake]
Name = Battle_SuDrake
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_SuDrake.0]
Name = Battle_SuDrake0
PrefabName = Surtling
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 3
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Demon
[Battle_SuDrake.1]
Name = Battle_SuDrake1
PrefabName = Hatchling
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = MountainMonsters
# Battle_GdDr
# ForestMonsters
# Undead
[Battle_GdDr]
Name = Battle_GdDr
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_GdDr.0]
Name = Battle_GdDr0
PrefabName = Greydwarf
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = ForestMonsters
[Battle_GdDr.1]
Name = Battle_GdDr1
PrefabName = Greydwarf_Elite
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = ForestMonsters
[Battle_GdDr.2]
Name = Battle_GdDr2
PrefabName = Greydwarf_Shaman
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = ForestMonsters
[Battle_GdDr.3]
Name = Battle_GdDr3
PrefabName = Draugr
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_GdDr.4]
Name = Battle_GdDr4
PrefabName = Draugr_Elite
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_GdDr.5]
Name = Battle_GdDr5
PrefabName = Draugr_Ranged
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
# Battle_SuDrake
# Demon
# MountainMonsters
[Battle_SuDrake]
Name = Battle_SuDrake
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_SuDrake.0]
Name = Battle_SuDrake0
PrefabName = Surtling
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 3
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Demon
[Battle_SuDrake.1]
Name = Battle_SuDrake1
PrefabName = Hatchling
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = MountainMonsters
# Battle_BlWo
# Undead
# MountainMonsters
[Battle_BlWo]
Name = Battle_BlWo
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_BlWo.0]
Name = Battle_BlWo0
PrefabName = Skeleton
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_BlWo.1]
Name = Battle_BlWo1
PrefabName = Blob
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_BlWo.2]
Name = Battle_BlWo2
PrefabName = BlobElite
Enabled = true
MaxSpawned = 2
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Undead
[Battle_BlWo.3]
Name = Battle_BlWo3
PrefabName = Wolf
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = MountainMonsters
[Battle_BlWo.4]
Name = Battle_BlWo4
PrefabName = Fenring
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = MountainMonsters
# Seige_Gd
[Seige_Gd]
Name = Seige_Gd
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = true
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = true
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction = ForestMonsters
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Seige_Gd.0]
Name = Seige_Gd0
PrefabName = Greydwarf
Enabled = true
MaxSpawned = 10
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 4
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 60
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
[Seige_Gd.1]
Name = Seige_Gd1
PrefabName = Greydwarf_Elite
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 60
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
[Seige_Gd.2]
Name = Seige_Gd2
PrefabName = Greydwarf_Shaman
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 60
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
Edit -- nevermind the comment on the Undead faction -- just ran into a new example. Events run fine alone, but when they are together, the Trolls vs Goblins event breaks:
# Battle_SuGo
# Demon
# PlainsMonsters
[Battle_SuGo]
Name = Battle_SuGo
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_SuGo.0]
Name = Battle_SuGo0
PrefabName = Surtling
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 2
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 3
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = Demon
[Battle_SuGo.1]
Name = Battle_SuGo1
PrefabName = Goblin
Enabled = true
MaxSpawned = 10
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_SuGo.2]
Name = Battle_SuGo2
PrefabName = GoblinBrute
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_SuGo.3]
Name = Battle_SuGo3
PrefabName = GoblinShaman
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
# Battle_TrGo
# PlainsMonsters
# ForestMonsters
[Battle_TrGo]
Name = Battle_TrGo
Enabled = true
Random = true
Biomes =
Duration = 90
StartMessage =
EndMessage =
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment =
ForceMusic =
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 0
RaidChance = 0
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Battle_TrGo.0]
Name = Battle_TrGo0
PrefabName = Goblin
Enabled = true
MaxSpawned = 6
SpawnInterval = 2
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_TrGo.1]
Name = Battle_TrGo1
PrefabName = GoblinBrute
Enabled = true
MaxSpawned = 4
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_TrGo.2]
Name = Battle_TrGo2
PrefabName = GoblinShaman
Enabled = true
MaxSpawned = 2
SpawnInterval = 20
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 2
MaxLevel = 2
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = PlainsMonsters
[Battle_TrGo.3]
Name = Battle_TrGo3
PrefabName = Troll
Enabled = true
MaxSpawned = 4
SpawnInterval = 10
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 2
MinLevel = 2
MaxLevel = 3
HuntPlayer = false
SpawnDistance = 0
SpawnRadiusMin = 30
SpawnRadiusMax = 50
GroupRadius = 8
GroundOffset = 0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = 0
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 35
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction = ForestMonsters
Add a custom raid with one+ bosses raiding
Set to match progression level
Issues with loadorder identified by neuro, when RandEvenSystem gets its Custom Raids configurations applied too quickly, and starts loading in prefabs too early.
Change loading mechanism to be more robust to late loading, to ensure prefab related mods have time to properly set up.
Use global keys from Enhanced Progress Tracker, when that mod is installed.
Configuration - Condition - RequireOneOfGlobalKeys
Add option for making a raid never end
Add server option for pausing the raid time counters while no players are logged in.
Generic Scheduler. Just make the whole thing actually replaceable, or allow for multiple with some concept of checking current raid state so they don't screw each other up.
This should allow for using the standard scheduler or the individual scheduler, as well as add more custom things like "Will raid you in 3 days".
Or even for someone/me to just use a weighted scheduler instead.
Hi ASharpPen, thank you for the bugfixes on Faction -- I'm now working on balancing those faction battles, and plan to share them on NexusMods soon! I've also been working on some beneficial events as well, and ran into another quirk. I set up some
events to spawn items in a small ring around the player. See example below -- works fine out in the wild, but when the event triggers near a base, nothing spawns. I'd guess this is due to the "don't spawn near player built structures" check . . . would it be possible to bypass that check for certain events? Not sure how hard that is, so I figured I'd ask. Thanks!!
# ======================
# ======================
# Blessing_Mushroom
[Blessing_Mushroom]
Name = Blessing_Mushroom
Enabled = true
Random = true
Biomes = Meadows,Blackforest
Duration = 12
StartMessage = The sky seems to crack open for a moment ...
EndMessage = A sign from Heimdallr ... \nThe gods look favorably on you today
NearBaseOnly = false
NotRequiredGlobalKeys =
RequiredGlobalKeys =
RequireOneOfGlobalKeys =
PauseIfNoPlayerInArea = false
ForceEnvironment = GoblinKing
ForceMusic = morning
ConditionWorldAgeDaysMin = 0
ConditionWorldAgeDaysMax = 0
CanStartDuringDay = true
CanStartDuringNight = true
Faction =
RaidFrequency = 47
RaidChance = 5
ConditionDistanceToCenterMin = 0
ConditionDistanceToCenterMax = 0
[Blessing_Mushroom.0]
Name = Blessing_Mushroom0
PrefabName = Mushroom
Enabled = true
MaxSpawned = 30
SpawnInterval = 40
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 1
SpawnRadiusMin = 8
SpawnRadiusMax = 9
GroupRadius = 1
GroundOffset = 0
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = -1
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 66
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
[Blessing_Mushroom.1]
Name = Blessing_Mushroom1
PrefabName = vfx_stonegolem_wakeup
Enabled = true
MaxSpawned = 20
SpawnInterval = 40
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 1
SpawnRadiusMin = 8
SpawnRadiusMax = 10
GroupRadius = 1
GroundOffset = -0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = -1
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 90
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
[Blessing_Mushroom.2]
Name = Blessing_Mushroom2
PrefabName = fx_eikthyr_stomp
Enabled = true
MaxSpawned = 1
SpawnInterval = 40
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 1
SpawnRadiusMin = 1
SpawnRadiusMax = 1
GroupRadius = 1
GroundOffset = 24
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = -1
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 90
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
[Blessing_Mushroom.3]
Name = Blessing_Mushroom3
PrefabName = sfx_lootspawn
Enabled = true
MaxSpawned = 2
SpawnInterval = 40
SpawnChancePerInterval = 100
GroupSizeMin = 1
GroupSizeMax = 1
MinLevel = 1
MaxLevel = 1
HuntPlayer = false
SpawnDistance = 2
SpawnRadiusMin = 8
SpawnRadiusMax = 9
GroupRadius = 1
GroundOffset = -0.5
RequiredGlobalKey =
RequiredEnvironments =
SpawnAtNight = true
SpawnAtDay = true
AltitudeMin = -1
AltitudeMax = 1000
TerrainTiltMin = 0
TerrainTiltMax = 90
InForest = true
OutsideForest = true
OceanDepthMin = 0
OceanDepthMax = 0
Faction =
Edit:
Or alternately, maybe "dont run events near base?"
EPT installation is not being correctly detected.
Hello!
Do you plan to update the various mods to be compatible with Mistlands and its new raids/enemies?
Thank you!
Hey,
Question is mostly about base game system - it seams base game doesn't run random events when player is not in his base even if RandomEvent#m_nearBaseOnly = false. Is there a way to run randomevents out of player base?
For example:
0 Create Raid config with NearBaseOnly = false property
1 Player runs 20+ meters out of his base (but don't enter any other biom)
2 Open console and enter: imacheater
3 Enter to console: randomevent
Actual result:
game log says: Possible events:0
And any event doesn't start
I enter to console 'event <Event_Name>' to double-check that Raid config is at least valid - event is started after this command
4 Player enters his Base
5 Enter to console: randomevent
Actual=Expected:
Possible events:1+
And event will start on schedule.
The line where RandomEvent#m_nearBaseOnly is set:
Raid config:
Random = true
NearBaseOnly = false
Can it modify what and how spawns when player exploring map (not during raid)?
Add configuration options for valid raid conditions - Condition Day / Night
Configuration adding new raids to raid event system pool
[Error : Unity Log] FileNotFoundException: Could not load file or assembly 'Valheim.SpawnThat, Version=1.0.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
Stack trace:
Rethrow as TypeInitializationException: The type initializer for 'Valheim.CustomRaids.World.ZoneManager' threw an exception.
Valheim.CustomRaids.World.ZoneManager+PatchHeightmap.Record (Heightmap __instance) (at <1b7c28b0d1d54c2f851f863ac31e63d4>:0)
(wrapper dynamic-method) Heightmap.DMD<Heightmap::Regenerate>(Heightmap)
Heightmap.OnEnable () (at <dcb0de0155834d459f18d7ac6ea5244b>:0)
Hi, This is my first time running the mod, so I might be totally messing something up. I'm only trying to disable raids/events on a dedicated server, so it should be simple.
Steps taken--
BepInEx
<GAMEDIR>/Bepinex/plugins
I was expecting a CustomRaids .cfg
file to be created in <GAMEDIR>/Bepinex/config
; however, no such config file exists. I only see BepInEx.cfg
and org.bepinex.valheim.displayinfo.cfg
.
Is this an issue with the Mistlands update, or perhaps with running this mod on a dedicated server?
I'm guessing I might have missed something obvious, so if there are any available steps to debug, I'm happy to do that as well :)
Suspiciously inconsistent. Getting reports with setups that really should work, and does "on my machine".
Getting reports of conflicting behaviour in different areas with same biome, with no changes to config.
This warrants investigation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.