Fallout: New Vegas console commands

In Fallout: New Vegas, just like in Fallout 3, the console is a debugging tool left by the developers in the PC version of the game. It is useful for developing and quality assurance, but it can also be used to cheat.

WARNING: Using console commands in the Steam version of Fallout: New Vegas will prevent you from obtaining achievements!''' If you shut down and restart the game, they will be enabled again!

To access the console, use the backquote key (`) while in-game (Unpaused). The backquote key shifts to tilde (~) on US keyboards, and the not symbol (¬) on UK keyboards. Other keyboards will differ, but the key is usually to the left of 1, and just under the Escape key (Esc). The key is the top left key under escape, on non-US keyboards. (Example: §, ½ or | on Scandinavian (Swedish, Danish, Norwegian etc), circumflex (^) on German keyboards, ² on French ones, \ or | on Italian Keyboards, ' on Brazilian Keyboards, " on Turkish keyboards). The HUD will disappear and you will get a prompt (|) in the lower left corner of the screen where you can type-in code(s). OR
 * The game will pause, making you unable to look around while using it -be sure to be looking at what you want to change, unlock, etc.
 * The mouse will control a cursor, rather than move the camera; and left clicking will select visible objects, rather than shoot them.
 * The left side of the console might not be visible if you are not using a widescreen display. In this case, type several tabs to move the cursor in before entering your commands. They will still work.
 * Go into your Fallout New Vegas install directory, find Fallout_default.ini (make sure it is not read-only) and open it in notepad. Then use ctrl+f to find the iConsoleTextXPos line and change the 30 to a larger number, 200 for example. This will make the console appear in the right place.

Note: Most commands are the same in Fallout 3 and Fallout: New Vegas because both games use the same engine.

Enter help for the list of all console commands

Player Faction and Reputation
removefromallfactions - Remove player from all factions

addreputation F X Y - Adds player reputation with faction. (F = faction ID, X = 0/infamy or 1/fame, Y = amount)

removereputation F X Y - Removes player reputation with faction. (F = faction ID, X = 0/infamy or 1/fame, Y = amount)

setreputation F X Y - Set player reputation with faction. (F = faction ID, X = 0/infamy or 1/fame, Y = amount) Amount can only be 1

setally F F X Y - Set a faction as allied with another. (F = faction ID, X = 0/friend or 1/ally, Y = 0/friend or 1/ally)

setenemy F F X Y - Set a faction as enemies with another. (F = faction ID, X = 0/neutral or 1/enemy, Y = 0/neutral or 1/enemy)

This is the list of factions in Fallout: New Vegas.

Quest
CompleteQuest - Complete the current quest.

movetoqt - move player to current quest target

showquestlog - show the quest log, everything the player has encountered and done

Getquestcomplete - checks if the current quest is complete. if true = 1 false = 0

sqt - list current quest targets

Inventory and Item Manipulation
player.setweaponhealthperc 100 - Sets weapon health to 100% on equipped weapon

player.additem I X - Get indicated amount of the selected item (I = Item ID, X = amount of the item)

player.additem 0000000F X - Get indicated amount of caps (X = amount)

setownership - make the item yours by mouse right click on item and typing "setownership"(for instance a cabinet or a bed)

unlock - unlock doors, safes, terminals or any other locked containers

lock - lock doors, safes, terminals or any other unlocked containers. Adding a number after lock sets the difficulty. For example lock 1-25 would create an easy lock, lock 0 a very easy, and lock 100 a very hard lock.

player.srm - Self repair of items up to your current repair skill.

player.modpca A X - Add or subtract from Skills or S.P.E.C.I.A.L. amount; A = Attribute (Such as Barter or Luck); X = amount (negatives will decrease the value and positives will increase the value)

For a full and extended list of all item codes, visit this website: http://faqs.ign.com/articles/113/1130669p1.html

NPC Manipulation
resurrect - Revives NPC

kill - Kills NPC

addtofaction 1B2A4 1 - Makes NPC friendly to Player Character

tcai - Toggle all NPC combat AI (NPC doesn't fight)

tai - Toggle all or selected NPC AI (disables AI processing)

Display Manipulation and Debugging
tfc - Toggle Free Camera

tlb - Toggle Light Brite

tcl - No clipping mode

tmm 1/0 - Show/hide all mapmarkers

tdt - Toggle debug display

tlv - Toggle leaves

tg - Toggle grass

tfow - Toggle fog of war on local map

tgm - God mode (also gives unlimited ammo + no need to reload + able to carry unlimited items)

tdm - Demigod mode (infinite health, no unlimited ammo, need to reload, and cannot carry unlimited items)

enableplayercontrols - Enables player controls

movetoqt-Instantly shifts you to the quest spot or next optional quest spot.

Bugs

 * On the Steam version of the game, the console may not appear when playing in hard mode.