The follow-up to BioWare's 2003 role-playing game Star Wars Knights of the Old Republic takes place 4,000 years before the events of The Phantom Menace.
The Jedi Order has been nearly wiped out by the Sith, and it's up to
you to bring the scattered Jedi back together. Fortunately, KOTOR II has cheat codes to make your mission more manageable.
Note: These cheats are only available in the PC version of Star Wars KOTOR II.
How to Enable KOTOR 2 Cheats for PC
If you want to use cheat codes in KOTOR II, you must first edit a game file to enable cheats:
- 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.
- Open the file in a text editor.
- Scroll to the Game Options section and add the following line under it:
- Save the file and start the game.
Once cheats are enabled, press the tilde (~) key during gameplay to enter one of the following codes and activate the corresponding cheat function.
Tip: You can get any item in the game using the giveitem cheat with Star Wars KOTOR II item codes.
|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||Enable God Mode.|
|restartminigame||Restart mini-games if you lose.|
|bright||Turn darkness into brightness.|
|addlightside||Add Light side points.|
|adddarkside||Add Dark side points.|
|revealmap||Show the entire map when you press the M key.|
|givecredits||Get additional credits.|
|giveitem #||Spawn indicated item.|
|givemed||Get 100 Med Kits.|
|giverepair||Get 100 Advance Repair Kits.|
|givecomspikes||Get 100 Computer Spikes.|
|givesecspikes||Get 100 Section Spikes.|
|givesitharmour||Get 100 Armor.|
|infiniteuses||Limited use items never expire.|
|whereami||Show your exact location on map.|
|warp #||Travel to indicated map.|