Valheim

Valheim

Samoth Mar 28, 2021 @ 8:56am
Raid timers.. triggers
I would be interested to know what the thresholds are for triggering the events. How many trolls, or skeletons. Or greylings, or do only greybreards count? I'd love to compile all the data I can about those. Magnitude(Typical numbers), etc.
I see that the skeleton raid seems large in volume. It is kinda the one I am most concerec with atm. I taken out a few now, I am wondering if I am now edging up to the trigger number. Also, wondering which ones count? Is it any(I kinda imagine) but for skeletons, does it count the grave skeletons, the ones guarding the stone towers in BF? Do all the ones in the Chambers count, if a Chamber has a spawner, then does each of those newly spawned ones count. When the raid happens are those then added to a new timer? Or is there some sort of cool-down?
Same for trolls very concerned about forcing troll raids too soon. How many can I kill 5, 10, 20. Will making a troll suit make it happen faster? ;p etc...
I'm trying to a feel for expectations going forward, as to difficulty, how to shape my game.
< >
Showing 16-30 of 39 comments
Wariat117 Mar 30, 2021 @ 2:49am 
After watching video I got curious about this wolf raid

It exists in code, is enabled, is random, doesn't require kills, spawns only in plains and mountains
But isn't implemented yet...

Currently only base raids can spawn naturally, and wolves is the only raid that doesn't require base value of 3 or higher (other story/enemy raids require the base value)
Currently this raid can't spawn (Maybe it's a bug? It's very small change to do to implement it)
Last edited by Wariat117; Mar 30, 2021 @ 2:53am
Chronic213 (Banned) Mar 30, 2021 @ 4:44am 
Wow, Wariat117, this is all great info. Thanks for sharing!

I'm convinced lag somehow affects the events, though. I've had 4 "The Ground is Shaking" events spawn in a row, one right after the other, in the same game day. I was also having other problems with work I had done disappearing at that time, too. As soon as someone else logged onto the server, it stopped.
Wariat117 Mar 30, 2021 @ 5:14am 
Originally posted by Chronic213:
I'm convinced lag somehow affects the events, though. I've had 4 "The Ground is Shaking" events spawn in a row, one right after the other, in the same game day. I was also having other problems with work I had done disappearing at that time, too. As soon as someone else logged onto the server, it stopped.
o-O
Maybe timer depends on something and change in specific situations? (In the code I can't find anything about it, but I'm checking only the main file, it might be that other file changes it)
"46min" looks a bit weird after all, I guess I will try to test it more
Or maybe really something on server can cause them to repeat

is there any chance that those raids started other time and just stayed in location waiting? (but even I don't believe this scenatio)
Last edited by Wariat117; Mar 30, 2021 @ 5:18am
Chronic213 (Banned) Mar 30, 2021 @ 5:38am 
Originally posted by Wariat117:

is there any chance that those raids started other time and just stayed in location waiting? (but even I don't believe this scenatio)
I don't think so. It happened in Black Forrest at a small cabin I made next to 3 copper nodes. I was part way through mining the first one when the events started happening, so I was playing for maybe 30 minutes in that area before anything started.

Also, I was having problems building that small cabin, too. I had it totally built, but needed some more wood for a fence surrounding it. Made a trip back to another cabin to get some wood, and when I returned to the small cabin, I had lost some of the work done. The cabin wasn't completed, and the materials were missing. Even some landscaping was undone. It was very soon after this that the events started happening over and over.

I think I had some major, major desync going at the time, which also sorta makes sense since it stopped when someone else logged onto the server.
Nascarman Mar 30, 2021 @ 5:54am 
Originally posted by Wariat117:
Just checked it myself

Your killings don't increase chance of the raids.
Killing certain stuff once only unlock new raids (troll/surtling/bosses, just as listed on the wiki)

Every 46mins there is 20% for raid to spawn.
If you are lucky for this 20% then it checks, ALL existing characters and ALL possible raids
  1. If raid is enabled and is random (blob raid is the only "disabled", and not random "raids" are the special effects of bosses)
  2. If required enemies were killed (if raid requires kills)
  3. if character is in correct biome (checks 1 by 1, all characters)
  4. if "base value" in character's area is 3 or bigger (only if it's base raid)
  5. if the character is lower than 3k height (Dungeons are at 5k+, so mobs in the dungeons can't trigger raids I guess)
If multiple "characters" can spawn the same "raid" then it randomly selects 1 of the characters' locations for this one specific raid.
If mutliple raids are possible, then randomly selects one of them and activates it


The 46min thingie cannot be speeded up by sleeping or skiptime command


The only mystery is the "base value" :V
I guess it's the amount of buildings that can trigger player's base buff
fireplace <= works both lit/unlit bonfire <= works both lit/unlit hearth <= works both lit/unlit portal ward <= Blue Bubble has 32m radius, but no-spawn is 20m | works both on/off workbench stonecutter artisan table forge smelter blast furnace charcoal kiln windmill spinning wheel fermenter bed dragon bed sconce <= works both lit/unlit standing torch (all 3 of them) <= works both lit/unlit hanging brazier <= works both lit/unlit
I guess I will try to test it later

Interesting, if the chance of triggering an event every 46 min is 20%, then my two raid droughts of 117 days and 70 and counting have like less than .00001 chance of happening each.

I believe there may be a way to prevent raids from spawning, and I think it may have to do with bonfires, as I received 2 forest raids before I built one at my main base, and the only raids I have received since then were while building my plains base, which didn’t have a bonfire in front of the door yet. Now that it does, I haven’t gotten a raid since then.
Wariat117 Mar 30, 2021 @ 6:00am 
Originally posted by Nascarman:
Interesting, if the chance of triggering an event every 46 min is 20%, then my two raid droughts of 117 days and 70 and counting have like less than .00001 chance of happening each.

I believe there may be a way to prevent raids from spawning, and I think it may have to do with bonfires, as I received 2 forest raids before I built one at my main base, and the only raids I have received since then were while building my plains base, which didn’t have a bonfire in front of the door yet. Now that it does, I haven’t gotten a raid since then.


you forgot to add this into equation
it checks
  1. If raid is enabled and is random (blob raid is the only "disabled", and not random "raids" are the special effects of bosses)
  2. If required enemies were killed (if raid requires kills)
  3. if character is in correct biome (checks 1 by 1, all characters)
  4. if "base value" in character's area is 3 or bigger (only if it's base raid)
  5. if the character is lower than 3k height (Dungeons are at 5k+, so mobs in the dungeons can't trigger raids I guess)

Long story short, you had this "20%" mutliple times
But simply you didn't meet the requirements at that moment


for this ".00001" you would have to spend 117 days always in the area with "base value 3+" and in the biomes that fit your currently unlocked raids
Last edited by Wariat117; Mar 30, 2021 @ 6:01am
Nascarman Mar 30, 2021 @ 6:05am 
Originally posted by Wariat117:
Originally posted by Nascarman:
Interesting, if the chance of triggering an event every 46 min is 20%, then my two raid droughts of 117 days and 70 and counting have like less than .00001 chance of happening each.

I believe there may be a way to prevent raids from spawning, and I think it may have to do with bonfires, as I received 2 forest raids before I built one at my main base, and the only raids I have received since then were while building my plains base, which didn’t have a bonfire in front of the door yet. Now that it does, I haven’t gotten a raid since then.


you forgot to add this into equation
it checks
  1. If raid is enabled and is random (blob raid is the only "disabled", and not random "raids" are the special effects of bosses)
  2. If required enemies were killed (if raid requires kills)
  3. if character is in correct biome (checks 1 by 1, all characters)
  4. if "base value" in character's area is 3 or bigger (only if it's base raid)
  5. if the character is lower than 3k height (Dungeons are at 5k+, so mobs in the dungeons can't trigger raids I guess)

Long story short, you had this "20%" mutliple times
But simply you didn't meet the requirements at that moment

The only such requirement that would be of any issue to me is the base one, but I find it extremely coincidental that I have only received raids (and at quite regular intervals) while at a base with no bonfire in front. I spend days smelting ore and fishing right next to my base, I doubt that I’ve missed every trigger (also all raids took place at a base with no bonfire as well).
undeadnightorc Mar 30, 2021 @ 6:10am 
I've had raids while mining in the middle of nowhere, with just a workbench, chest and portal setup. Fortunately it was trolls so they actually helped me finish 'mining' my copper, haha.
Wariat117 Mar 30, 2021 @ 6:11am 
Originally posted by undeadnightorc:
I've had raids while mining in the middle of nowhere, with just a workbench, chest and portal setup. Fortunately it was trolls so they actually helped me finish 'mining' my copper, haha.
each workbench is +1
each portal is +1
I guess there was 1 more building and it would make it "3", so enough for raids
Last edited by Wariat117; Mar 30, 2021 @ 6:17am
Samoth Mar 30, 2021 @ 10:39am 
Again, @Wariat117 thank you for all the technical help! I couldn't do it likely.
So, if I may. In an effort to be clear and concise.
A straight simple question, I hope!
Can I trigger a troll raid for killing any number of trolls on my fort seed if I have not killed the first boss? Is that assumption correct?
Also same for skeletons, and greybeards, -lings, etc all...
If I kill any number of them, so long as I have not taken the first boss, I get NO raids? except the the forest animal one?
Those are the biggest concerns I have, and the main Q's I was looking answers for.
I hope I can stop aggravating you with my round-about questions.
Last edited by Samoth; Mar 30, 2021 @ 10:42am
Wariat117 Mar 30, 2021 @ 10:57am 
Originally posted by Samoth:
Can I trigger a troll raid for killing any number of trolls on my fort seed if I have not killed the first boss? Is that assumption correct?
if you didn't kill ANY boss, then animal raid is the only one that can happen
You can kill as many trolls/surtlings/skeletons and they won't raid you


The "ANY boss" is important, other world characters can skip first boss and kill other bosses, then raids will unlock, for example:

you don't kill first boss, but kill second boss then avaible raids are:
Animal raid (eikthyr army, boars + necks)
Bonemass army (skele + draugr)
Troll raid (I assume you killed 1 troll)
Last edited by Wariat117; Mar 30, 2021 @ 10:58am
undeadnightorc Mar 30, 2021 @ 11:02am 
Originally posted by Wariat117:
each workbench is +1
each portal is +1
I guess there was 1 more building and it would make it "3", so enough for raids

I just remembered that I had also put up a campfire, which is +1 according to the list.
Samoth Mar 30, 2021 @ 11:02am 
that clarity is very cool, ty!
I feared the numbers would pile-up. And I would begin to get raids that I am not prepared to repel. Thanks!
Not really trying to go after bosses at all atm, tbh. I want to gather all the tech I can, without engaging the bosses. Get all of the building abilities & material types I can, and then take it from there.
Have you seen the post I did for the Trader Ring Fort Seed? Super-unique circumstance for a trader to be located inside a base. It has re-oriented my goals for the game entirely.
Follow-up, if I may as well...
Does the Biome you are in influence the numbers and/or types of Raids?
Last edited by Samoth; Mar 30, 2021 @ 11:06am
Wariat117 Mar 30, 2021 @ 11:14am 
Originally posted by Samoth:
Have you seen the post I did for the Trader Ring Fort Seed? Super-unique circumstance for a trader to be located inside a base. It has re-oriented my goals for the game entirely.
no, I didn't

I have spawned the trader on my spawn tho :D
https://steamcommunity.com/sharedfiles/filedetails/?id=2426395252
spawning him in base would be easy



Originally posted by Samoth:
Does the Biome you are in influence the numbers and/or types of Raids?
they don't influence numbers
but they do infuence types of raids, raids spawn only in certain biomes
I can check them and add them there later if you want




Originally posted by undeadnightorc:
I just remembered that I had also put up a campfire, which is +1 according to the list.
yup, that would make it 3, so totally valid to get raid :D
Game recognizes it as your base
Samoth Mar 30, 2021 @ 11:17am 
Originally posted by Wariat117:
Originally posted by Samoth:
Have you seen the post I did for the Trader Ring Fort Seed? Super-unique circumstance for a trader to be located inside a base. It has re-oriented my goals for the game entirely.
no, I didn't

I have spawned the trader on my spawn tho :D
https://steamcommunity.com/sharedfiles/filedetails/?id=2426395252
spawning him in base would be easy
I play strictly vanilla
Because I am bad at even just forum posting. No need to complicate things, I say... :)

Originally posted by Wariat117:
Originally posted by Samoth:
Does the Biome you are in influence the numbers and/or types of Raids?
they don't influence numbers
but they do infuence types of raids, raids spawn only in certain biomes
I can check them and add them there later if you want

Only if it's not alot of work.
Last edited by Samoth; Mar 30, 2021 @ 11:21am
< >
Showing 16-30 of 39 comments
Per page: 1530 50

Date Posted: Mar 28, 2021 @ 8:56am
Posts: 39