Star Wars Knights of the Old Republic II: The Sith Lords PC Cheats

Enable god mode, set attributes, and more for Windows PCs

Cover art for Star Wars Knights of the Old Republic: The Sith Lords

Electronic Arts

Star Wars Knights of the Old Republic II: The Sith Lords was developed by Obsidian Entertainment and released on Xbox in 2004. It was later ported to Windows PC, OS X, and Linux. The followup to BioWare's 2003 role-playing game Star Wars: Knights of the Old Republic, it takes place 4,000 years before the events of "Star Wars Episode I: The Phantom Menace." The Jedi Order has been almost wiped out by the Sith, and it's up to you to bring the scattered Jedi back together.

If you want a little help along the way, here's a list of cheat codes that can boost your stats, enable God Mode, and more.

This guide is specifically for the PC version of KOTOR II.

How to Use KOTOR II's Cheat Mode

If you want to use cheat codes in KOTOR II, enable them first. Here's how:

  1. Locate the swkotor2.ini file in the game folder and make a backup copy. That way, if something goes wrong, you can restore the file and not lose your game info.

  2. Open the file in a text editor.

  3. Scroll to the Game Options section and add the following line under it:

  4. Save the file and start the game.

Star Wars Knights of the Old Republic II: The Sith Lords PC Cheat Codes

Once cheats are enabled, press the tilde (~) key during gameplay to enter one of the following codes and activate the corresponding cheat function.

Cheat Code Effect
setcomputeruse <1-99> Set the Computer Use skill to the indicated level.
setdemolitions <1-99> Set the Demolitions skill to the indicated level.
setstealth <1-99> Set the Stealth skill to the indicated level.
setawareness <1-99> Set the Awareness skill to the indicated level.
setpersuade <1-99> Set the Persuade skill to the indicated level.
setrepair <1-99> Set the Repair skill to the indicated level.
setsecurity <1-99> Set the Security skill to the indicated level.
settreatinjury <1-99> Set the Treat Injury skill to the indicated level.
setstrength <1-99> Set the Strength attribute to the indicated level.
setdexterity <1-99> Set the Dexterity attribute to the indicated level.
setconstitution <1-99> Set the Constitution attribute to the indicated level.
setintelligence <1-99> Set the Intelligence attribute to the indicated level.
setwisdom <1-99> Set the Wisdom attribute to the indicated level.
setcharisma <1-99> Set the Charisma attribute to the indicated level.
addexp Add experience to your character.
addlevel Add the indicated number of levels.
turbo Press W or S to move faster; repeat to disable.
invulnerability Enables God Mode.
restartminigame Restarts mini-games if you lose them.
bright Turns darkness into brightness.
addlightside Adds Light side points.
adddarkside Adds Dark side points.
revealmap Shows the entire map when you press the M key.
givecredits Get additional credits.
giveitem Spawns indicated item (check our item cheat guide for codes).
givemed Grants 100 Med Kits.
giverepair Grants 100 Advance Repair Kits.
givecomspikes Grants 100 Computer Spikes.
givesecspikes Grants 100 Section Spikes.
givesitharmour Grants 100 Armor.
infiniteuses All limited use items never expire.
whereami Shows your exact location on map.
warp Travel to indicated map.