The console is already enabled in the Mac OS version, and can be opened by pressing ~ or ` before entering a command. To enable it in the Windows version, right-click on the game's shortcut, select Properties and then add the following to the end of the Target field:
Target: "C:\..\MOHAA.exe" +set ui_console 1
After clicking Apply then OK, start the game and open the console, then enter cmdlist for a list of commands, only some of which are listed below:
Command
Effect
coord
Display current coordinates
gameversion
Display game version
listinventory
List inventory
Command
Effect
kill
Mission failed
restart
Restart mission
toggle cg_3rd_person
Toggle third person view
Enabling the console and cheats with the Medal of Honor: Allied Assault shortcut will also do so for the Spearhead and Breakthrough expansion packs (but not vice versa). The following can also be added to the end of the Target field to skip the intro and be taken directly to the Map Room (main menu):
To enable the following console cheats in the Windows version, right-click on the game's shortcut, select Properties and then add the following to the end of the Target field:
+set developer 1 can be omitted since patch 1.11. Click Apply then OK. To enable these cheats in the Mac OS version, hold down Shift just after opening Medal of Honor: Allied Assault (before it loads) and a small window will pop up, into whose Argument field the following should be entered:
Argument: +set cheats 1 +set thereisnomonkey 1
Alternatively, once the game has opened, open the console and enter set cheats 1 , set thereisnomonkey 1 and then killserver , then load game.
Command
Effect
dog
CHEAT: godmode ON/OFF
fullheal
TESTING: You used the full heal.
wuss
All weapons and maximum ammunition
Command
Effect
noclip
noclip ON/OFF (walk through walls)
notarget
notarget ON/OFF (enemies ignore you)
tele x y z
Teleport to coordinates x y z
You can simply enter wuss to get all weapons and maximum ammunition. Alternatively, enter spawn or give weapons/code.tik, where code is one of the following: