In the new enemy thread, I got a little side tracked at one point and began ruminating about the old friendly fire battles you could set up between baddies in the original doom. I know this is somewhat accounted for in the dodge mechanics, but it would be nice if your enemies would actively TRY and kill each other, not just miss you. This is assuming the code is in place for working out who hit who if it's not Doomguy doing the hitting.
I'd like to know people's ideas on how they'd implement such a system?
Heres my slightly expanded thoughts:
There could be four different team types, each with a hate counter (four counters each team). I'll list who is on who's team below, but the crux of the matter is that each teams counter goes up as it hits any other team(even their own). It goes down as time passes(1 point a second for all hate counters). Whichever team's counter is highest for any particular creatures "turn" (shooting, movment) , they will then attack or move towards the closest member of that type of team's creature, otherwise they'll just stick to normal AI.
There's a few things to consider. Doomguy's counter never goes below 2 for all teams(so is usually the main target). A same-team attack only counts for 1/2 a hate point(to stop regular mobs imploding quite as often, and to show animosity of daemon groups to each other). It's hits not damage that counts for hate points(so the little guys still pull aggro).
Team 1: Doomguy, aka you, aka bullet magnet. Never goes below 2 hate points on all other teams counters.
Team 2: Former marines. That is, former humans, seargents, captains and commandos plus any boss types that get added. One bad shotgun blast and the daemons may chastise their new servants.
Team 3: lesser daemons. Daemons, imps, knights, barons, bruiser brothers. A little more caution with the acid balls, please sir?
Team 4: tech daemons. Arachnotrons, revenants, mancubi, archviles, all bosses. Hated by all below them, but hard enough to keep them in line.
You'll note that skulls and pain elementals aren't on the list. This is so they retain their niche somewhat. They always hate doomguy.
The numbers may have to be tweaked, on both doomguy's basic hated level and on the cool-down speed of the hate counters, but it would give many little nuances to the game. You could set up battles. You could have stealthy weapons (high damage, single hit, sniper-stealth. Pistols, assault rifles and hyperblasters really start looking good). You could also have more little challenges/items/level types (how hated are you?). You could also have a few more enemies a level to compensate.
So, do you like the idea, even if it's not implemented as above? And how would you do it if you were coding/designing the system?