Press [Shift] + ~ during game play to display the console window. Type helpusobi 1 or devmapall to enable cheat mode. Then, enter one of the following codes at the console window to activate the corresponding cheat function. Note: If the console window does not appear, edit the "jk2config.cfg" file in the "\gamedata\base\" folder and add the line: bind ~ "toggleconsole"
Result
Cheat Code
Enter God mode
god
Get all weapons and max health and armor
give all
All weapons
give weapons
Full ammo
give ammo
Full health
give health
Full armor
give armor
Full force
give force
Full items
give inventory
Full batteries
give batteries
999 health
undying
Walk through walls mode
noclip
Disable enemy AI
notarget
Spawn indicated weapon
give weaponnum [weapon number]
Spawn indicated item
spawn [item name]
Level select
map [level name] - see below for level names
Drive AT-ST in third person view
drive_atst
Destroy all AT-STs
use atst_death
Crash Jedi Knight II
fly_xwing
Screenshot, without console window
levelshot
Screenshot, including console window
screenshot
Wireframe display
r_showtris !
Place camera at indicated coordinates
setviewpos [x] [y] [z] [yaw]
Use Force Heal ability
force_heal
Set Force Jump level
setforcejump [1-3]
Set Force Heal level
setforceheal [1-3]
Set Force Push level
setforcepush [1-3]
Set Force Pull level
setforcepull [1-3]
Set Force Speed level
setforcespeed [1-3]
Set Force Grip level
setforcegrip [1-3]
Set Force Lightning level
setforcelightning [1-3]
Set Force level for all abilities
setforceall [1-3]
Set lightsaber throw level
setsaberthrow [1-3]
Set lightsaber offensive level
setsaberoffense [1-3]
Set lightsaber defensive level
setsaberdefense [1-3]
Set lightsaber color
sabercolor [red, orange, yellow, green, blue, or purple]