The game's campaign takes place in the
Star Wars Legends canon, beginning around the time of
Revenge of the Sith and covering events up to
Return of the Jedi, as well as some that go beyond the films. Throughout the campaign, the player assumes the role of X2, an elite
clone trooper created from the DNA of a
Jedi Master. Along with his brother X1, he is assigned to serve under Jedi General Ferroda, and oversee the training of the clone army used by the
Galactic Republic in the
Clone Wars. Under Ferroda's command, X2 and X1 are assigned various missions throughout the war, including defending a training camp on
Tatooine, and fighting in the Battles of
Coruscant and
Cato Neimodia. During the latter,
Order 66 is issued, branding all Jedi as traitors to the Republic, including Ferroda. X2 reluctantly executes him, an action he soon comes to regret. Following the transformation of the Republic into the
Galactic Empire, X1 joins the Empire, while X2 goes rogue, haunted by the memory of killing Ferroda. X2 travels to
Dantooine to meet his genetic template, Jedi Master Falon Grey, who trains X2 in the Jedi arts, teaching him how to use his
Force abilities. Not long into X2's training, their location is discovered by the Empire, and X1 leads an assault. X2 manages to escape, but is badly injured, while Grey is killed during the fight. Years later, blind Jedi Master
Rahm Kota finds X2 and convinces him to join the
Rebel Alliance, where he forms Grey Squadron in honor of Grey. Shortly before the Battle of
Yavin, X2 encounters former
bounty hunter Shara and convinces her to join Grey Squadron. Three years later, during the Battle of
Hoth, X2 infiltrates a
Star Destroyer and plants explosives to destroy it, but runs into X1, who had started training in the Dark Side of the Force. The two clones briefly engage in a duel, before both are forced to escape when the ship is destroyed. Roughly one year later, following the Battle of
Endor and the Empire's defeat, X2 begins training under
Luke Skywalker for his inevitable battle with his brother. After locating X1's base at
Darth Vader's abandoned castle on Vjun, X2, Shara and the rest of Grey Squadron investigate and manage to track down X1 to
Mustafar. There, X1 confronts X2, now a Sith Lord, who has captured Luke and reveals he is planning to build a new Empire under his rule. The two clones engage in a final duel, and X2 emerges victorious. With X1 dead and Luke rescued, Grey Squadron leave Mustafar, with X2 reflecting on the challenges the
New Republic has yet to face. ==Development==