Writing process used by Bioware

I found this article quite interesting. It's about Bioware, the company who makes Knights of the Old Republic, among other games. Knights is an RPG game, with a load of conversation. How a game with this much conversation and changeable morality based plot lines is actually planned out and written, is something that has intrigued me.