Gothic

Gothic is an RPG by German developer Piranha Bytes. The game centers around a mining colony inside a magical forcefield simply called "the Barrier". The player is thrown in, and then has to choose to ally themselves with one of three factions each with differing questlines; at a certain point the questlines merge to a shared plotline as the climax of the storyline draws closer.