Star Wars: Jedi Knight II: Jedi Outcast

Star Wars: Jedi Knight II: Jedi Outcast (aka JK2, JKO, or JO) is a Star Wars computer game released in 2002. It was developed by Raven Software and published, distributed and marketed by LucasArts in North America and by Activision in the rest of the world. It was released for Microsoft Windows, Apple Macintosh, Nintendo GameCube and Microsoft Xbox. It is powered by the Quake III Arena engine. This game was followed by the very similar sequel Star Wars: Jedi Knight: Jedi Academy. The game was generally well received and is praised for its advanced lightsaber dueling.

Following The Walt Disney Company decision to close LucasArts on April 3rd, 2013, the developers at Raven Software released the source code for the game on SourceForge under GNU GPLv2 licensing. However, the source code for both games disappeared from SourceForge without an explanation. SourceForge later explained that Raven had requested the removal of the code, and it is believed that this was due to the presence of proprietary code that was not intended to be made public.

Plot summary
The game takes place in 12 ABY, two years after the end of Star Wars: Jedi Knight: Mysteries of the Sith. Like its predecessors, the game has Kyle Katarn as the protagonist. Since nearly falling to the dark side, Katarn has given up his lightsaber and the Force. He now works as a mercenary for the New Republic alongside his partner and lover, Jan Ors.

Mission to Kejim
Mon Mothma contacts Katarn and Ors to investigate an Imperial Remnant base on Kejim after the New Republic intercepted a suspicious transmission coming from the base containing keywords such as "Reborn" and "Valley of the Jedi." After infiltrating the base and fighting off Remnant forces, Katarn and Ors discover that the Remnant is conducting experiments on crystals capable of storing the power of the Force.

Mission to Artus Prime
Tracing the crystals' origin to Artus Prime in the Outer Rim, Katarn and Ors find that the Remnant has turned that remote world into a mining facility and imprisoned its inhabitants for experimentation. Katarn infiltrates the facility and frees the prisoners. After fending off Remnant forces and evacuating the prisoners, Katarn goes to the rendezvous point to meet Ors. He sees that Ors has been captured by Desann, a Dark Jedi, and his apprentice, Tavion. Having renounced the ways of the Force, Katarn is powerless against Desann, who throws him around and chokes him with the Force. Desann taunts him before ordering Tavion to execute Ors. The two Dark Jedi then flee.

Returning to the Valley of the Jedi and retrieving his lightsaber
Enraged by his lover's death, Katarn returns to the Valley of the Jedi to regain his Force powers quickly, and then heads off to the Jedi Academy on Yavin 4 to retrieve his lightsaber. Unknown to him, Desann and Tavion had secretly followed Katarn to the Valley, having theorized that he would go there to seek the power of the Force in his quest for vengeance. Desann uses the Valley's power to create an army of Reborn.

Trials on Yavin 4
Upon arriving at the Jedi Academy, Katarn meets Luke Skywalker and asks for his lightsaber and information on Desann. The Jedi Master tells him about Desann's background and says he needs to pass a series of trials to get his lightsaber back. Katarn passes the trials too easily. Skywalker realizes he has been to the Valley and cautions him on the recklessness of his actions. He then directs Katarn to Nar Shaddaa, where he can find Reelo Baruk, a Rodian crime lord who might have information on Desann's whereabouts.

Mission to Nar Shaddaa
In Nar Shaddaa, Katarn visits Baruk's bar and tries to find out where Baruk is from the Chiss bartender. It turns out into a fight after Katarn reveals himself as a Jedi. Fighting off several of Baruk's thugs along the way, Katarn eventually makes his way to Baruk's hideout. He encounters Lando Calrissian, who is imprisoned in Baruk's dungeon. Calrissian had sought out Baruk after learning that he is linked to a smuggling ring on Bespin, but was captured before he could find out more. Katarn frees Calrissian and they try to leave Nar Shaddaa on Calrissian's ship, the Lady Luck, but run into trouble with Baruk and his thugs. Katarn shoots down Baruk with the ship's guns and they move on to Bespin.

Mission to Bespin
On Bespin, Calrissian drops Katarn off at the lower levels of Cloud City, while he heads to the upper levels to gather security forces to deal with Baruk's thugs and Remnant forces. Their aim is to trap Desann in the middle before he can escape. While making his way upward through the undercity, Katarn encounters Reborn for the first time and defeats them. He finds and confronts Tavion, who tells him about how Ors's death was part of their plan to trick him into revealing where the Valley of the Jedi is. An enraged Katarn defeats Tavion and starts Force choking her. Pleading for mercy, she tells him that Ors is actually still alive on board the Doomgiver. Katarn spares her and she flees in shame. He then boards one of the Remnant's automated hauler, which brings him to a Remnant base in the Lenico Belt.

Mission to the Cairn Installation
While searching for the Doomgiver in the Cairn Installation, Katarn has an unexpected encounter with Skywalker. After defeating a group of Reborn together, they share information on what they have found and come to the conclusion that Desann not only wants to create a Reborn army, but also equip them with armor made from cortosis, a rare mineral that can resist lightsabers. Despite the odds, Skywalker believes that the Jedi's training and discipline will ultimately give them an advantage over the Reborn. The two then split up. Making his way stealthily across the Cairn Installation, Katarn sees the Remnant assembling AT-RDPs, AT-STs, and other assault craft in preparation for a full-scale planetary invasion. He also encounters and defeats some Shadowtroopers, Reborn equipped with cortosis armor. After sneaking on board the Doomgiver, Katarn sees Desann and Skywalker engaging in a lightsaber duel before Desann uses the Force to push back Skywalker and flees on board the Doomgiver too.

On board the Doomgiver
Aboard the ship, Katarn learns that Desann, with the help of Galak Fyyar - plans to use this army to invade the Jedi Temple on Yavin IV, destroy the Jedi and restore the Galactic Empire. Katarn manages to send a distress call warning to Rogue Squadron about the ship. By the time the ship has dropped out of Hyperspace, Katarn saves Ors and battles Fyyar. Katarn sabotages the Doomgiver's shields, rendering the ship and its cargo of assault craft vulnerable to attack by Rogue Squadron. With Ors, Katarn narrowly escapes the destruction of the Doomgiver using an escape pod. Despite the timely appearance of Rogue Squadron, enough Remnant forces survived to mount a large-scale invasion of the moon.

Defending the Jedi Academy
Ors splits from Katarn - hoping to link up with Republic forces defending the moon, while Katarn sets off alone for the Jedi Academy. Through swamps and mangroves, through canyons and against hordes of stormtroopers and scout walkers, Katarn finally reaches the Jedi Academy, where he fights alongside other Jedi against Reborn. Desann descends to the catacombs below the Jedi Academy, followed closely by Katarn. Avoiding many traps there, Katarn finally confronts Desann. Despite learning of Fyyar's destruction, Desann stubbornly refuses to surrender. Despite his great power, Desann is ultimately defeated when Katarn swings the killing blow, in what was an intense lightsaber duel. (The power under the Great Temple can be tapped to defeat Desann, however, that is just an option the game designers added in the final level of the game.)

At the end of the game, Skywalker asks Katarn about what he would do next, to which Katarn replies that he and Ors have earned a long vacation on the beaches of Spira.

Levels

 * Mission to Kejim
 * Battle of Artus Prime
 * Force Training on Yavin 4
 * Mission to Nar Shaddaa (Empire Reborn)
 * Battle of Bespin (Empire Reborn)
 * Mission to Cairn Installation
 * Doomgiver
 * Battle of Yavin 4 (Empire Reborn)
 * Mission on Alzoc III (Empire Reborn)