Cheat mode
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"
| God mode | god |
| No clipping mode | noclip |
| Disable enemy AI | notarget |
| Suicide | kill |
| All weapons, maximum health, and armor | give all |
| Full health | give health |
| Full armor | give armor |
| Full ammunition | give ammo |
| All weapons | give weapons |
| Spawn indicated weapon | give weaponnum <weapon number> |
| Spawn seeker drone | give item_seeker |
| Spawn indicated NPC | npc spawn <character name> |
| Level select | map <level name> |
| Spawn indicated item | spawn or give <item name> |
| Drive AT-ST in third person view | drive_atst |
| Destroy all AT-STs1 | use atst_death |
| Set game speed; 1 is default, 0.5 is half speed, 2 is double speed | timescale <number> |
| Crash game | fly_xwing |
| 999 health | undying |
| Cut off people's heads, legs and arms3 | g_saberrealisticcombat <1-20> |
| Screenshot, without console window | levelshot |
| Screenshot, including console window | screenshot |
| Wireframe display | r_showtris ! |
| Move to indicated coordinates | setviewpos <x> <y> <z> <yaw> |
| Use Force Heal ability | force_heal |
| Set skill level; 0 is the easiest | g_spskill <0-2> |
| Fourth lightsaber move; Dessan's stance | setforce 500 |
| Tavion's lightsaber moves; change lightsaber style to blue and choose the first one | setforceall 600 |
| Tweak Force ability | setforceall 1138 |
| Desann's strong red lightsaber style | setsaberoffense 4 |
| Tavion's fast yellow lightsaber style | setsaberoffense 5 |
| Set all lightsaber abilities | setsaberall <1-3> |
| 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 Jedi Mindtrick level | setforcemindtrick<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> |
| Disable lightsaber dismemberment | g_dismemberProbabilities 0 |
| Enable lightsaber dismemberment, only if "ui_iscensored = 0" in configuration | g_dismemberment 1 |
| Set Force Push and Pull; 1000 is default | g_knockback <0-900000> |
| Freeze all NPCs | d_npcfreeze 1 |
| Unfreezes all NPCs | d_npcfreeze 0 |
| Set lightsabre throw power | g_saberthrow <0-90000> |
| Set Force Grip | g_choke <1-90000> |
| Set speed | g_speed <1-90000> |
| Set Force Lightning | g_lightning <1-90000> |
| Max Payne-style bullettime | thereisnospoon |
| Kill all NPCs | npc kill all |
| Kill indicated NPC group | npc kill team <NPC team name> |
| Draw exact bounding boxes for NPCs | npc showbound |
| Kill selected NPC | npc kill <NPC target name> |
| Show number of kills per NPC | npc score <NPC target name> |
| Quit game | quit |
| Kyle taunts2 | taunt |
| Kyle does victory pose2 | victory |
| Holster weapon | weapon |
| Reveal where indicated entity is located | where <classname> |
| Full force bar | give force |
| Full inventory | give inventory |
| Full battery bar | give batteries |
| All weapons | give weapons |
| No noticeable effect | give eweaps |
| Blue saber | saberstyle 1 |
| Yellow saber | saberstyle 2 |
| Red saber | saberstyle 3 |
| Control any ally that is following you | control <NPC name> |
| Display level objective | viewobjective <objective number> |
| Bind command; for example bind i taunt | bind <key> <command> |
| Remove previously bound command from key | unbind <key> |
| Display speed data; 0 is default | r_speed <number> |
| Default movement is walking | +speed |
| Default movement is running | -speed |
| List commands | nav |
| Display com speed information | com_speeds <number> |
| Complete indicated objective4 | setobjective <objective number> <display status> <status> |
| Display game version | ver |
| List all console commands | cmdlist |
| List console commands that start with indicated letter | cmdlist <letter> |
| Change fog effect | r_drawfog <0-2> |
| Play as indicated model | playermodel <model name> |
| Desann's saber | saber desann |
| Luke's saber | saber luke |
| Tavion's saber | saber tavion |
| Change kyle's voice | snd <sound name> |
| Everyone attacks you | playerteam free |
| Skip credits | exitview |
1. This is useful in single-player mode if Jan refuses to land during the prisoner rescue mission until you finish off the AT-STs. There is a potential bug that makes one of them disappear.
2. Cheat mode does not have to be enabled for this code to be used.
3. The higher the number after the code, the more damage it does on opponents. For example, "g_saberRealisticCombat 9" will kill Desann with one swing. Things like the locks that must be destroyed on doors that normally just spark when touched with our lightsaber will be destroyed. "g_saberRealisticCombat 20" will cut off limbs with a single touch.
4. For example, enter "setobjective 2 1 1" to mark objective 2 as completed.
Level names
Use one of the following entries with the "map" code.
kejim_post
kejim_base
artus_mine
artus_detention
artus_topside
valley
yavin_temple
yavin_trial
ns_streets
ns_hideout
ns_starpad
bespin_undercity
bespin_streets
bespin_platform
cairn_bay
cairn_assembly
cairn_reactor
cairn_dock1
doom_comm
doom_detention
doom_shields
yavin_swamp
yavin_canyon
yavin_courtyard
yavin_final
pit
ctf_bespin
ctf_imperial
ctf_ns_streets
ctf_yavin
duel_bay
duel_jedi
duel_pit
duel_carbon
ffa_bespin
ffa_deathstar
ffa_imperial
ffa_ns_hideout
ffa_ns_streets
ffa_raven
ffa_yavin
Character names
Use one of the following entries with the "npc spawn" code.
atst
bartender
bespincop
bespincop2
desann
galak
galak_mech
glider
gonk
gran
gran2
granboxer
granshooter
howler
impcommander
imperial
impofficer
impworker
impworker2
impworker3
interrogator
jan
jedi
jedi2
jedif
jeditrainer
kyle
lando
luke
mark1
mark2
minemonster
monmothma
morgankatarn
mouse
prisoner
prisoner2
probe
protocol
protocol_imp
r2d2
r2d2_imp
r5d2
r5d2_imp
rebel
rebel2
reborn
rebornacrobat
rebornboss
rebornfencer
rebornforceuser
reelo
remote
rockettrooper
rodian
rodian2
seeker
sentry
shadowtrooper
shadowtrooper2
stcommander
stofficer
stofficeralt
stormpilot
stormtrooper
stormtrooper
stormtrooper2
swamptrooper
swamptrooper2
tavion
test
trandoshan
ugnaught
ugnaught2
weequay
weequay2
weequay3
weequay4
Hidden skins in multi-player mode
The following are skins that cannot be selected at the pause screen, but are part of the game. Press [~] to display the console window, then type "\model" <skin name>. The skin names are as follows.
reborn/boss" (a reborn with a red/dark blue color scheme)
"reborn/acrobat" (reborn with a blue and black color scheme)
"reborn/forceuser" (the reborn in the picture at the pause screen)
"reborn/fencer" (reborn with a green color scheme).
Level selection
Press [Shift] + [~] during game play in single player mode to display the console window. Type "devmap" press [Space", and type the name of the level you want to play. If the level name has more than one word, put an underscore "_" between them, then press [Enter]. For example, to play the Bespin Streets level, type "devmap bespin_streets" and press [Enter].
Listing loaded files
It is possible to view the complete list of files the game is using. Press [Shift] + [~] during game play to display the console window. Type "dir" to list all of the loaded files. If you want to list files of one specific directory, (for example, "music"), type "dir music". If you want to list the files ending with a specific extension (for example, all files ending with .BSP in the "maps" directory), use "dir maps bsp".
Search for commands containing a particular string of characters
You can use wildcards for the "cmdlist" (command list) and "cvarlist" (console variable list) codes to find a command that contains a given string of characters, not only when it begins with the given string. Just enclose your query in asterisks (*). For example, type "cvarlist *saber*" to find all of the console variables that have to do with the lightsaber. Type "cmdlist *restart*" to give you commands for restarting any of the modules of the game engine (such as "vid_restart" or "snd_restart").