Gothic

Gothic is an RPG by Piranha Bytes, a German developer. The player 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.