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 for that session!''' To re-enable them, exit the game and start it again. Make sure you do this before completing a quest or achievement.

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) Maximum amount is 100, the maximum fame or infamy (idolized or vilified)

If a player wishes to obtain a good reputation with any faction, the sequence of console commands should be as follows:

1. setreputation F 0 0 (i.e. set the infamy to 0)

2. setreputation F 1 100 (set fame to idolized level, or whatever level desired)

Using the addreputation or removereputation commands to achieve the same effect is tricky, as the player does not know the exact value of the player's current reputation. This is important if the player has killed too many Great Khans early in the game and obtained a "vilified" reputation - the player will then be unable to convince the Great Khans to ally with NCR.

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 X - Complete the current quest. (X = Quest ID#)

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. You can get the unique ID of an item by clicking on it while you have the console open, causing it to print out on the command line, preferably after you type "unlock " and a space. Please note that the "unlock" command may not work on a very limited number of locks, safes and/or terminals.

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. Lock 101 will make the item unpick-able (Requires Key).

player.srm - Self repair of items up to your current repair skill. Note that you can't repair all items in one command ('A' on PC) if the total cost of the repair is more caps than you currently have, forcing you to do repair individual items until the total amount needed to repair all items in a single command, is less than your total caps on hand. Regardless of method, all caps "spent" on repairs are paid to you, netting a total cost of zero. This is particularly handy before you sell items, raising their value considerably.

setpccanusepowerarmor 1 - Toggle power armor use; 1 = can use, 0 = cannot

For a full and extended list of all item codes, visit this website: http://faqs.ign.com/articles/113/1130669p1.html [Fallout:NV includes many buried item codes left over from Fallout 3, such as armor & clothing (eg. vault jumpsuits) and other items not naturally found in New Vegas.]

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

player.modav A X - Add or subtract from Skills or S.P.E.C.I.A.L. amount, see above. (Example: player.modav energyweapons 25) +25 to Energy Weapons.

player.getav - Get the current value of Skills or S.P.E.C.I.A.L. amount. See Fallout 3 console commands for list. These can be modified with the modav command.

NPC Manipulation
resurrect - Revives NPC

kill - Kills NPC

addtofaction F X - Makes selected NPC a member of a specific faction. Replace F with a faction ID. Replace X with "1" to make the NPC an ally of the faction or "0" to simply make him/her friendly with it. Be sure to click on each character you want to add to the faction before entering the command. So, for example, to add an NPC to your own Player Character's faction as a friend, you would first click on them and then enter addtofaction 1B2A4 0. Remember you will then need to use the stopcombat function right afterwards if the NPC was already attacking.

removefromfaction F - Removes NPC from a specific faction. (For example, removefromfaction 1B2A4 will remove him/her from your own Player Character's faction). These previous two commands are useful when you need to turn a hostile NPC friendly in order to talk to them/begin a quest related to them that you otherwise couldn't start. Add them to your faction, talk to them & complete their quest, and then remove them from your faction and they will return to being hostile.

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 (infinite health, unlimited ammo, no need to reload, able to carry unlimited items)

tdm - Demigod mode (infinite health, limited ammo, need to reload, able to carry unlimited items)

enableplayercontrols - Enables player controls

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

coc X-Force fast travel to town/area (Example: coc Jacobstown)

tmg - Toggle Acid

Bugs

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


 * Sometimes, when changing your reputation whilst disguised and *after* having attacked a certain faction, they may be hostile even though your reputation with them has changed from bad to good. However, this may be a continuance error and may be rectified after spending enough time away from said faction (though it has yet to be tested).


 * If you cannot pull up the console, check Control Panel - Device Manager - Keyboards for Microsoft ehome MCIR devices. These interfere with the Tilde (console) key.  Remove these devices and restart Fallout New Vegas.  You should now be able to enter console mode. Also works for Fallout 3.


 * The coc command, when used for certain locations, will drop you into a black pit. Can be fixed by reloading the game or using fast traveling somewhere else/ using coc command to go somewhere else. Also using the tcl command to leave. (Untested)