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 can also be used to access cheats.

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.

.INI Files
Those of you who cannot seem to get the console to appear, pay attention: You should always double-check all your .ini files when modifying your game, especially doing so significantly. On Windows Vista and Windows 7, these should be located in the following locations, assuming C:\ as your install drive: C:\Users\ \Documents\My Games\FalloutNV On older OSs, look in ...\My Documents\My Games\FalloutNV. This folder will contain two .INIs: The final .INI can be found in: C:\Program Files\steam\steamapps\fallout 3\ If you're not using Steam (a.k.a D2D, etc.), consult the documentation that came with your version. This folder's contents are non-modifiable by default if you have UAC turned on. Either disable it (not recommended), or edit the Security tab in the folder's properties panel to allow you access. This folder will contain one .INI: Make a backup of all .INIs before changing them. This is just a general good-practice rule for all data file editing, and it simply involves either making a copy of the file and placing it wherever you like, or making a copy and then changing the original file's extension to something like Fallout_Prefs.ini_bak. The idea here is that these .INI files can often be the solution to simple problems like not being able to access the console. Fallout New Vegas ships in most cases with the console enabled for PC. This can be verified by looking for the bAllowConsole=1 string value under the [Interface] section. Furthermore, the console can (and if you're planning on using it a lot, should) be altered via these .INI files to allow more console text to be shown on-screen. Assuming a minimum of 768 pixels of vertical display resolution (720p monitor), you can change the following values under the [Menu] heading: iConsoleVisibleLines=XX Replace XX with a number 25 or greater, depending on your resolution. iConsoleHistorySize=XXX Replace XXX with a number 2x-20x the original value. This is important, as it will enable you to scroll through the console's history. It is doubtful that mere text will add any taxing to your RAM, CPU, or GPU, so go nuts with this value if you like, tested up to 9001.
 * FalloutPrefs.ini, which contains whatever changes you made in the Options Menu of the Launcher, plus whatever has been carried over from in-game saved preferences and edits to the other .INIs. This is the best .INI to start with, as far as changing things is concerned.
 * Fallout.ini, which is read-only by default, and yes, there is a good reason for that. Windows may require administrative privileges to make it writable.
 * Fallout_default.ini, which should not be messed around with because it sets the default values for all game settings and the other .INIs. So only change the values inside it if you really aren't seeing the changes you've made to Fallout_Prefs.ini, but ideally there should be very few reasons to change this file.

Console History
You can scroll through the console's history with your keyboard's Page Up key, and scroll back down with the Page Down key, assuming you are using a standard QWERTY keyboard.

This is an extremely helpful function if you've extended the console's history in the .INI files, and especially useful with the console command, which will display a list of all possible console commands (requires a good deal of reading). You can only see the entire list if you've increased the iConsoleHistory value to higher than the factory settings.

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. In order for the commands to work you must simply type out the ref_id without the <>.
 * , - 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. List of Fallout 3 Faction IDs
 * - sets a faction as an enemy with another specified faction. 0=Enemy 1=Neutral. List of Fallout 3 Faction IDs
 * , - 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). The higher your scale is, the faster you run and the stronger you hit. Smaller scales do the opposite.
 * - 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). A negative number lowers the variable.
 * Note: modav adjusts the value up or down by the specified amount, and changes are relative to the current value. For example, if your carryweight is 500, will result in a carryweight of 650 (500+150), while  will set your carryweight to 350 (500-150).
 * - set a value
 * - add a perk or trait
 * - remove a perk/trait
 * - toggle male/female male.
 * - open a menu to change the name of the player
 * - open a 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.
 * - Open a menu to change traits
 * - open a menu to change the player's hairstyle
 * - open a menu to change the appearance of the player's face
 * - 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
 * Sets 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. It is suggested to use the no-clip command 'tcl' so that the player won't fall.
 * 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.

- Deletes the specified object ref. Useful for getting rid of objects that can't be added to your inventory.

- 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. Also note that if you change the name of a non-unique object, such as a Tin can or a Knife, all of the other objects like it will be changed)

- 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, but if you try to make a safe or cash register and things like that yours, you will still lose Karma and there's almost no point.)

- 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.


 * Warning: Altering the timescale will cause the game to crash if NPCs spawned using placeleveledactoratme or movetoplayer enter into combat.

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

Some of the Oblivion weather types work in Fallout 3, to be determined by another:

thunderstorm (Kvatch)    08BBC Paradise                 370CE overcast                 38EEC snowing                  38EED clear                    38EEE foggy                    38EEF cloudy                   38EF0 thunderstorm             38EF1 raining                  38EF2 oblivion default         32e15 oblivion electrical      67198 oblivion storm (Oblivion) 67199 oblivion mountain fog    671A1 oblivion storm (MQ16)    6bC8B oblivion storm (Tamriel) 836D5 oblivion sigil           C0999 Sigil Whiteout           C42DE SE32 Gloom Storm         15883 SI Test Bliss Clear      41775 SI Clear Blue            44F58 SI Cloudy                44F59 SI Fog                   44F5A SI Rain                  44F5C SI Thunderstorm          44F5D SE09 Summoning Weather   452B5 SI Clear 01              6D221 SI Clear 03              6D222 SI Test Ash              71D2F SI Overcast              77B28 SI Waiting Room          77B56 SI Ordered Fringe        77C0A SI Clear                 78801 SI Mania Fog             79D76 SE13 Jiggy Weather       825A6 SI Clear Trans           8EF42

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.
 * - start all quests
 * - setquestobject <1> will set the NPC or item to quest object or not (1 is, 0 not)

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.

Player Faction and Reputation

 * - adds player reputation with a faction, the value will max out at its normal maximum value of 100. The variable will determine if the amount is added to the faction's fame or infamy, 0=infamy, 1=fame.


 * - removes player reputation with a faction, the value will max out at its normal minimum value of 0. The variable will determine if the amount is added to the faction's fame or infamy, 0=infamy, 1=fame.


 * - sets player reputation with a faction, the value will max out at its normal minimum and maximum values of 0 and 100. The variable will determine if the amount is added to the faction's fame or infamy, 0=infamy, 1=fame.


 * Examples:
 * - adds 50 fame to the Boomers faction.
 * - removes 50 fame from the Boomers faction.
 * - sets fame for the Boomers faction to 50.
 * Note: If a player wishes to obtain a idolized reputation with any faction, they must both increase fame value to above 80 and reduce infamy value to below 13.


 * - removes player from all factions, including the "Player" faction. (This may be problematic; if so, entering  will fix the problem.)


 * - sets factions' allied status with each other. The variable will determine the status of each faction to the other, 0=friend, 1=ally.


 * - sets factions' enemy status with each other. The variable will determine the status of each faction to the other, 0=enemy, 1=neutral.


 * Example:
 * - will set Boomers' allied status for BoS to allies, and BoS allied status for Boomers to friends.

Debugging and mapping

 * - Fully activates all Pip-Boy map markers, making them both visible on the map and available as fast travel destinations. Note, however, that it does not update the "locations discovered" statistic in the Pip-Boy 3000.
 * - Toggles fog-of-war in the Pip-Boy local map.
 * - Toggles "god mode" which gives the player invincibility to damage, radiation and oxygen underwater. It also gives unlimited ammo, carrying capacity and AP (reloading does use AP with some weapons) and stops item degradation.
 * -Toggles "demi-god" mode which gives invincibility to damage but not unlimited ammo, almost like god mode
 * - 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 and various older models of Windows Vista)

Accessing console
It's common for Vista users and some XP users to be unable to access the Console. A Common reason on Windows 7/ Vista is to disable any infared devices in the "human interface device" portion of the device manager. Please see the Troubleshooting section of the Discussion Page for additional advice.