Enemies infighting is a cool proof of concept for enemies groups, is fun to watch, and add some tactical element to dungeoneering. However, it makes the game easier, specially since it's easy to abuse, and on second thought doesn't make complete sense (if the default behavior of enemies of different groups is to attack one another, how did enemies manage to all get crammed into a dungeon without killing one another in the first place. That seems difficult).
I can imagine enemies turning against one another in case of attack (say AoE "friendly fire"), but unconditional unprovoked infighting seems too much.
Maybe some probability (hashf(enemy1.id + enemy2.id) % 100 < infightingThreshold ?) or extra condition (enemies attacking significantly lesser or injured others?) could be added...
Nerfing enemies infighting?
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Nerfing enemies infighting?
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- Kab the Bird Ranger
- Posts: 123
- Joined: Tue Feb 23, 2021 12:30 am
Re: Nerfing enemies infighting?
I agree that the situation is a bit silly right now, but I think I'd probably change the way enemies spawn instead.
Only put enemies from the same team in a given room. It would still be abusable on its own, but we can probably tweak the AI for that. Have some enemies always target the stronger enemy, and have some always target the weaker one. Players trying to drag a skeleton to a bear might be surprised that the bear is only interested in meat right now, and this particular skeleton doesn't care that much for animals.
Only put enemies from the same team in a given room. It would still be abusable on its own, but we can probably tweak the AI for that. Have some enemies always target the stronger enemy, and have some always target the weaker one. Players trying to drag a skeleton to a bear might be surprised that the bear is only interested in meat right now, and this particular skeleton doesn't care that much for animals.
- Ralzar
- Posts: 2211
- Joined: Mon Oct 07, 2019 4:11 pm
- Location: Norway
Re: Nerfing enemies infighting?
Yeah, I always use Unleveled Mobs which gives much clearer themes for dungeons, reducing the amount of infighting.
What could be fun was if enemies had pacification chance against eachother
What could be fun was if enemies had pacification chance against eachother
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Nerfing enemies infighting?
(slightly off topic) Well, it's already not totally random in classic; The kind of an enemy depends on dungeon type, character level, and "enemy ids" in the dungeon modules; So dungeon modelers could (and did, sometimes) decide that some enemies would be of the same kind, even if that specific kind would only be known when the player enters the dungeon...Kab the Bird Ranger wrote: ↑Thu Mar 04, 2021 1:16 pm I agree that the situation is a bit silly right now, but I think I'd probably change the way enemies spawn instead.
Only put enemies from the same team in a given room.
But yeah, it's the exception rather than the rule.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: Nerfing enemies infighting?
Just to drop my opinion here.
I really like it how it is now. But Im all for options. So we can have this "aggressive mode" vs new "conservative mode" and Im all in
I agree that if you think about it more deeply, you can come to conclusion the current model makes no sense, because how did the mobs get in that dung and not kill each other already? But than you can ask so many questions like this, why the mobs dont move, what do they eat, why are they there... and the game falls apart.
I judge the features by the gameplay they allow/create. And I love the gameplay this aggressive infighting creates. Lots of options, also new tactics, interesting unpredicted ingame events etc
If we change it to "attack only when attacked" it will remove 90% of infighting IMO
I really like it how it is now. But Im all for options. So we can have this "aggressive mode" vs new "conservative mode" and Im all in
I agree that if you think about it more deeply, you can come to conclusion the current model makes no sense, because how did the mobs get in that dung and not kill each other already? But than you can ask so many questions like this, why the mobs dont move, what do they eat, why are they there... and the game falls apart.
I judge the features by the gameplay they allow/create. And I love the gameplay this aggressive infighting creates. Lots of options, also new tactics, interesting unpredicted ingame events etc
If we change it to "attack only when attacked" it will remove 90% of infighting IMO
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- pango
- Posts: 3359
- Joined: Wed Jul 18, 2018 6:14 pm
- Location: France
- Contact:
Re: Nerfing enemies infighting?
That's not what I'm suggesting, I was giving a case where infighting made perfect sense, so could be considered a minimum for all the possible options.King of Worms wrote: ↑Sat Mar 06, 2021 12:26 pm If we change it to "attack only when attacked" it will remove 90% of infighting IMO
But if say we implement the probabilistic solution,
Code: Select all
hashf(enemy1.id + enemy2.id) % 100 < infightingThreshold
That would be deterministic, so reloading wouldn't change that. And it increases the number of possible outcomes in unpredictable ways, so I think it would be more interesting than current state.
Worse case you keep the threshold at 100 and nothing changed.
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart
- King of Worms
- Posts: 4753
- Joined: Mon Oct 17, 2016 11:18 pm
- Location: Scourg Barrow (CZ)
- Contact:
Re: Nerfing enemies infighting?
I see, right.. I think if you could turn this thing which is currently only ON/OFF to some kind of slider like you mentioned here, it would be awesome.
"it increases the number of possible outcomes" - agreed and I like it
"it increases the number of possible outcomes" - agreed and I like it
DREAM Nexus https://www.nexusmods.com/users/73250038?tab=user+files
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
DREAM Forums viewtopic.php?f=27&t=1168
DISCORD: king_of_worms_cz
- Blue Footed Booby
- Posts: 17
- Joined: Wed Jun 14, 2017 4:32 pm
Re: Nerfing enemies infighting?
If I were god-king, for each pair of factions/groups/whatever there would be a few different possible relationships. Like, maybe thieves tolerate orcs that keep their distance, but draw on any that get too close. Daedra will turn on the undead if hit by them, but otherwise ignore them. Wild animals attack undead on sight because they exude evil vibes. I feel like throwing in probabilistic stuff like "this specific bear doesn't mind skeletons" may be more realistic, but it introduces enough chaos that it's paradoxically harder for the player to appreciate. As in, from their perspective it'll all look just totally random, rather than tendencies with exceptions.King of Worms wrote: ↑Sat Mar 06, 2021 12:49 pm I see, right.. I think if you could turn this thing which is currently only ON/OFF to some kind of slider like you mentioned here, it would be awesome.
"it increases the number of possible outcomes" - agreed and I like it
In general, though, pretty much any enemy should prioritize something that's actively attacking it over even a hated foe that just happens to be nearby. And if attacked by multiple enemies, they should prioritize the most dangerous. It shouldn't be possible to kite one enemy to another and have them focus each other while you stab one in the butt, unless the other enemy is more powerful than you.
-
- Posts: 1409
- Joined: Mon Aug 12, 2019 4:32 pm
- Contact:
Re: Nerfing enemies infighting?
Best way to handle this would be to add some nuance to faction relationships, as mentioned above, tweak the attack threshold some, and then also change the spawning system, so only friendly factions, or even a single faction spawns at locations.
Why are orcs chilling in dungeons with necromancers and skeletons? Makes no sense. Now Orcs, with some tamed bears and bats, and yes maybe a bandit or two that has joined their ranks after being kicked from society. You get the idea. But as mentioned also, we probably need some better enemy AI too, so enemies wander/patrol based on conditions.
Why are orcs chilling in dungeons with necromancers and skeletons? Makes no sense. Now Orcs, with some tamed bears and bats, and yes maybe a bandit or two that has joined their ranks after being kicked from society. You get the idea. But as mentioned also, we probably need some better enemy AI too, so enemies wander/patrol based on conditions.
My Daggerfall Mod Github: l3lessed DFU Mod Github
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.
My Beth Mods: l3lessed Nexus Page
Daggerfall Unity mods: Combat Overhaul Mod
Enjoy the free work I'm doing? Consider lending your support.