He doesn't have any intentions in the war. He's stated that at least twice now. He's only participating because even he realizes that if Obito succeeds, he can't proceed with his agenda after the war (the lesser of two evils).
I don't Orochimaru dying in the war, It'd be too redundant. So I can see him being the villain after the war, since his original agenda was to learn everything about the ninja world, immortality, the origins of power, learning every jutsu, etc. With everything that's going on in the war currently, that's great opportunity for Orochimaru. He'd probably continue after Sasuke, or start some new agenda.