During gameplay, press ~ for the console and type 'devmapall'. Now type any of the following "Codes" in the console:
Code Effect
god God Mode
noclip No Clipping
notarget Enemies Ignore You
kill Kill Yourself
give all All Weapons, Health, Armor
give health Max Health
give armor Max Armor
give ammo Max Ammo
give (item) # Get # of (item)
npc kill all Kill NPCs
give weaponnum # Get Weapon #
where Tells You Where an Entity is
victory Plays a Sound
drive_atst Ride an ATST
setviewpos ???
levelshot ???
undying ???
taunt ???