Gamebryo console commands

In Fallout 3 and Fallout: New Vegas, both based on the Gamebryo engine, 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.

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).
 * 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.
 * Some Vista and Windows 7 users must disable/uninstall the "Infrared" device (varies from machine to machine, but has that same line in the name) to access the tilde key. See the Troubleshooting section on the Discussion page for further advice.
 * Those that are using the Microsoft Xbox 360 controller in Fallout 3 should note that the keyboard and mouse will be disabled thus preventing one from bringing up the console. A possible work around would be to temporarily switch the control scheme over to the keyboard and mouse when console use is desired.

Presentation screenshots

 * - toggle free camera; lets you move around the camera at will. To take pictures of your character, make sure you go into third person mode first. Typing will pause the game, while still allowing you to move the camera around in the game.
 * - toggle menus; removes the HUD for even nicer pictures. It will also hide the notification you normally get when the screenshot has been successfully captured, but it will take the shot. If you use soon enough after taking the screenshot, you can see the notification.
 * , fast,, slow moving camera in tfc.
 * , narrow,, wide angle lens. , default lens.
 * - toggle lightbrite mode makes everything well lit, great for dark spots.
 * Note! Toggle Lightbrite will hide your weapons unless in stealth, although you will still be able to use it.

Inventory manipulation

 * - add item to your inventory, at full health.
 * Example: - add one Vengeance to your inventory with full 'health'. This is a list of items in Fallout 3.


 * - add item to your inventory, with a specified condition. Quality should be given in decimal form.
 * Example: will add 1 Gatling Laser at 50% to the player's inventory.


 * - remove item from your inventory; useful to get rid of useless quest items
 * - Show Repair Menu for the player. This allows items to be repaired using the player's Repair skill as though the player were a merchant. Caps are required to repair items as for merchant repair, but they are paid to the player, resulting in no net transfer of caps. Using on NPCs that don't normally repair goods will typically cause the game to crash.
 * - Lists Inventory with object IDs. Suitable for use with
 * equip item from your inventory; useful for equipping items that don't appear in pip-boy inventory.
 * - Changes the currently held weapon's health.
 * Example: Will change the current weapon's health to 80%.

NPC manipulation
List of base_ids and ref_ids to the major named characters.
 * - set an id target. Same as left-clicking, but will work even if the target isn't visible. Required with most of the following commands.
 * , - move player to NPC / move NPC to player.
 * , - add /remove item in NPCs inventory.
 * , - equip /unequip item in NPCs inventory.
 * - display items in NPCs inventory (including those you cannot see in the trading window).
 * - show barter menu with the NPC (useful for inaccessible traders, but could lead to crash if used with non-traders).
 * - opens the selected NPC's inventory (as if they were a companion, or knocked down) and allows you to transfer items to or from your own.
 * - FOSE required - gives the base object id of the NPC, useful for command
 * - restore NPC's health.
 * - make NPC die.
 * - resurrect NPC (will also "reroll" the inventory, meaning you could get different items).
 * - resurrect NPC as if he/she was unconscious (this can give you some silly animation).
 * - sets a faction as an ally with another specified faction. 0=Ally 1=Friend.
 * - sets a faction as an enemy with another specified faction. 0=Enemy 1=Neutral.
 * , - make NPC mortal / immortal.
 * , - delete NPC from the game / make NPC reappear.
 * , - start / stop combat with selected NPC ("stopcombat" will not make an NPC unhostile).


 * - create/clone an NPC and place it at the player.


 * - reset a companions hire quest (if resetting your companion results in him or her giving generic responses to dialogue prompts). List of quest_ids.


 * Multiple followers: By resurrecting and killing Dogmeat you will free a companion slot. Repeat process after hiring someone.
 * Cloning a friend: You may clone companions, but they will lack the ability to trade with you. The base_id "7" will clone yourself.
 * Note the difference: marks the "character sheet" and  marks an instance of the character with location.

Example (commands in order)

 * - target Sydney
 * - move Sydney to the player
 * - add Vengeance
 * - add ammunition to Sydney
 * - equip Vengeance
 * - unequip Combat Armor
 * - make Sydney unkillable
 * - place a new Super Mutant Master at Sydney. Can be repeated for more.

NPC reset example (in order)

 * - target Sydney
 * followed by - disable and enable, make sure the NPC is active
 * followed by - kill and resurrect, reset the NPC
 * - move NPC to player (or to move the player to Sydney.)

Stats and character manipulation

 * - set player scale; is default;  is small,  is big,  is huge (not recommended to use indoors)
 * - read out a character value, for instance karma, intelligence or smallguns.
 * - modify a value; the value will max out at its normal maximum value (100 for skills, 85 for resistances, 10 for S.P.E.C.I.A.L., etc). Negative values lowers the variable.
 * Note: When changing maximum carry weight, note that changes are relative to your current carryweight. Specifying a value adds that number to your current carryweight, ex. if your carryweight is currently 500, will result in 500+150=650, and  will result in 500-150=350.
 * - set a value
 * - add a perk
 * - remove a perk
 * - toggle male/female (remember to remove your facial hair if you're changing male to female otherwise it will stick!)
 * - open the menu to change the name of the player
 * - open the menu to change the race and face of the player
 * Changing race will cause the perks to be disabled, requiring you to remove and add them again.
 * - advance one level
 * - set level
 * - set level cap (has to be set every time the game is started)
 * - A total agerace of -1 results in being a child, 1 an adult, and 2 an elderly person. (ex: makes you a child no matter what agerace you currently are)
 * , - give player karma or xp

Example

 * - add Power Armor Training
 * - set Small Guns to 100, the maximum
 * - lower Intelligence by 5 (minimum 1)
 * - Loses 1,000 Karma
 * Set's player's max carry weight to 5000

Warnings

 * Be extremely careful when using setscale to large numbers like 10. You may seem big and powerful, but a very small drop-off (in comparison to your size) will be fatal. Cliffs look very tiny from 50 feet up, but still kill you as if you were normal size. Additionally cells will still only load as if you were normal size, and moving through un-spawned cells can cause the game to crash.
 * Refrain from using ForceAV instead of ModAV, especially if you want to revert the change later. ForceAV overrides the automatic calculation of actor values, and nothing will affect that actor value again aside from another ForceAV or a ModAV. For example, with a carryweight of 200, a will cause the player to have a carrying capacity of 5000. Getting an extra point of strength will not change that capacity, even if you ForceAV the carryweight back to 200 before getting the additional point of strength. On the other hand, a  will result in a carrying capacity of 5200, getting an additional point of strength will cause that to increase appropriately, and a subsequent  will place the value back where it should be based on Strength.

Items & world manipulation
This is easiest if you first click on something in the world with the console open, to target it.

- Set the scale of an item in game. Usually requires a save/reload for the new scaling to take place.

- Allows you to change item, character, or world object name.(works until you restart the game)

- Prints out the scale of the item in the console.
 * - unlock doors, safes, terminals or any other locked container; you can of course also . Adding a number after lock sets the difficulty. For example lock 1 would create an easy lock, lock 0 a very easy, and so on.
 * - activate an item, say a door, that is normally operated by a switch
 * - make the item yours (for instance a cabinet or a bed)
 * - place an item next to the player; for many items only a of  is valid
 * - sets the timescale, the ratio determining how fast game time moves relative to real time; the default setting is 30. For example, setting the timescale to 1 would cause one second to pass in game time for every second in real time.

It is also possible to change the current weather.


 * - forces weather. Replace &lt;ID&gt; with a Form ID from one of these:

EditorID                        FormID DefaultWeather                  0000015E GNRRoofOvercast01               0001E3F0 gUrbanCloudy01                  00059869 gWastelandClear01               0005CF9C gWastelandCloudy                0005C88D InvertedDaylightWeather         000B362D InvertedDaylightWeatherTenPenny 00052928 InvertedDaylightWeatherWarm     000BC39B MegatonCloudy01                 0001D776 MegatonFalloutDecay             0006A076 SuburbanCloudy                  00017906 TranquilityClear                0002BF97 UrbanDeep                       00065952 UrbanDeepInner                  0006CA4E UrbanDeepInnerCitadel           000BE1FF UrbanDeepInnerDCMall            000BE1FE UrbanDeeplnnerDCMONtop          0003A236 UrbanDeeplnnerMamaDC            000BE3E2 UrbanOvercast                   000154E5 UrbanOvercast01Intro01          00022BD5 WastelandClear                  00064609 WastelandClearMegaton           00054E12 WastelandClearNoLighting        000B419E WastelandDecay                  0005A728 WastelandEast                   0003D438 WastelandEastOasis              00054E1D WastelandNorth                  00027DF3

Quests

 * - move player to current quest target
 * - show the quest log, everything the player has encountered and done
 * - checks if the current quest is complete. if true = 1 false = 0
 * - reset quest
 * - list all quest objective levels (stages). Use with setstage.
 * - gets the objective level of a quest.
 * - sets a quest to an objective level useful for resetting bugged scripts
 * - sets all currently obtained objectives for the quest to a completed status. However, setstage must be used to obtain the next objective level (if any) in order to proceed normally, useful for bypassing a bugged or broken objective
 * - list current quest targets
 * - list quest variables
 * - change quest variable to value NOTE: Requires quotes around the base id of the quest
 * Example: In New Vegas, will fix Raul's quest if you've already spoken to Ranger Andy before you recruit him.

(getquestcomplete isn't working in New Vegas)

Game

 * - save current game with description
 * - save current game with description and output a .txt file with game information.
 * - load a game from a previous named save
 * - name your save whatever you like. For example, "Primm Sheriff"
 * - exits the current game, displays some credits, then goes to the starting menu.
 * or - exits Fallout 3 without going through any menus.
 * - save and quit

Debugging and mapping

 * - Turns on all Pip-Boy map markers.
 * - Toggles fog-of-war in the Pip-Boy local map.
 * - Toggles "god mode" which gives the player invincibility to damage and radiation. It also gives unlimited ammo, carrying capacity and AP (reloading does use AP with some weapons) and stops item degradation.
 * - Toggles clipping, which enables the player to move in any direction, including through solid objects and/or empty space. (A.K.A. "noclip"). It allows you to "fly" over an area and view it or get unstuck from a location.
 * - Kills all NPCs in the area.
 * - Teleports the player to the specified cell.
 * - Writes console output to the specified file.
 * - Executes specified list of commands as defined by a text file (.txt)

Batch Examples
To create a batch file all you need to do is place a plain text file with the commands you wish to execute in the root directory of the game - the same folder that contains falloutlauncher.exe.


 * This example file allows you to experience the game as if you were a very powerful Super Hero (or Villain). By executing this list you will (in this order) Save the game, Toggle God Mode, Toggle Clipping Mode, Increase Running Speed (though not to an insane amount), Increase Speech skill to max, Show all map markers, Toggle fog-of-war, Add fun weapons and ammo (Alien Blaster, Fat Man, Experimental MIRV, Lincoln's Repeater and Frag Grenades). To execute these commands, you would type


 * ---FuturePlayer.txt---


 * This prevents traders Doc Hoff, Crow, Lucky Harith and Crazy Wolfgang from dying, and if they are already dead, this will resurrect them - the caravan guards and Brahmin will still be vulnerable. Using allows the traders to fully repair armor and weapons. To execute the command, you would type


 * ---Traders.txt---

Screen positioning
Some users can't see the left-most columns of text in the console; they can only see the end of statements, and can't see what they're typing, unless it's very long. This is known to impact some users without widescreens. Fortunately, this can be easily fixed by increasing the iConsoleTextXPos figure in the Fallout.ini file to about 200, using a text editor like Notepad. More details can be found on the Discussion page. This can be fixed by turning off caps lock and then tapping the shift key.
 * You can use a command like to see if the console works. Even though you can't see the editing line or the cursor, it will flood the console with text.
 * Alternatively you can repeatedly press TAB before entering a command, this way the text gets pushed to the right and will be readable without affecting the entered text.
 * If you press the caps lock key while in console, it could leave you only able to type in caps lock even after turning caps lock off. (Confirmed in Windows 7)

Accessing console
It's common for Vista users and some XP users to be unable to access the Console. Please see the Troubleshooting section of the Discussion Page for advice.