I was a bit surprised last night when my alignment changed to Chaotic Evil. I hardly ever chose the "LIE" option in dialog, I don't kill civilians, and I try not to backstab NPCs too much in the story.
I don't want to be chaotic evil, though I did get a steam achievement for it.
I realized that every time I get a party member (any party member) killed in battle, which I do a lot because I'm not very good at this game, my GOOD alignment variable gets -1.
So, In Curst Prison, I go talk to the Deva, and I enter the cheat console.
C:GetGlobal("GOOD","GLOBAL") and the value is -9
I go into the prison, and Dak'kon is killed by the guards.
C:GetGlobal("GOOD","GLOBAL") and the value is -10
Grace gets killed by the guards, same battle.
C:GetGlobal("GOOD","GLOBAL") and the value is -11
and so on.
Is this expected behavior? I realize that there is a fine line between incompetence and evil sometimes, but this doesn't seem quite right.