I've been toying with a possibility. The possibility includes a fix for the issue that causes the PC to get permanently added to the enemy faction when SD+ or Defeat go wrong (looping bleedout or repeated bleedout without either mod fully engaing).
I have had this problem with both SD+ and defeat when used in separate games, but never with DA (which both mods use), and I've concluded that the use of DA by mods, when adding the PC to enemy factions, never complete the the handoff to those enemy factions, leaves the game in the sorry state of nearly every enemy NPC being friendly toward the player.
This issue has been reported multiple times, at least on the SD+ support topic, but there never has been a clearly defined solution, as far as I can see.
This brings me to a few questions about the possibility of using a script to fix the issue when it occurs. The idea is to use a script that can be bound to a hotkey, or be used in the MCM like a debugging option. The script would check the enemy factions to find out if the player is in any of them, and if it finds that the player is in them, it removes the player from those factions. If the player isn't found to be in any of those factions, it skips the operation used to remove the player from that particular faction.
Now for the actual questions:
1. Is this even possible? It seems very possible.
2. Is it even wise to do this? When dealing with scripts, things can get ugly very quickly.
Thanks for reading, folks.