Gamebryo console commands

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 tilde key (~) while in-game (Unpaused). 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 left side of the console might not be visible if you are not using a widescreen display.
 * 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.)
 * Vista laptop & desktop 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 "Bugs" section (Below) for further info.

For nice 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.
 * - toggle menus; removes the HUD for even nicer pictures (it will not notify you when the screenshot has been successfully captured but it will function)
 * , fast,, slow moving camera in tfc.
 * , narrow,, wide angle lens. , default lens.

Inventory manipulation

 * - add item to your inventory, at full health.
 * for instance: - add Vengeance to your inventory. http://community.livejournal.com/fallout_ru/91089.html 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. This lets you use caps to repair items instead of parts.
 * This command is best used as . Trying to use NPCs that don't normally repair goods will typically cause the game to crash. uses your own repair skill.

NPC manipulation

 * - set an id target. Same as clicking, but will work even if the target isn't visible.
 * - set NPC as unkillable.
 * - create/clone an NPC and place it at the player.
 * - displays items in NPCs inventory.
 * - Show Barter Menu with the NPC, may crash if not used with Traders(useful if traders are inaccessible like Lydia Montenegro, after helping the ghouls).
 * - equip item in NPCs inventory.
 * - unequip item the NPC has currently equipped. (Works for Weapons and Clothing/Armor)
 * - move player to NPC

The following commands require that you first type and Enter to select the NPC. Then type...
 * - move NPC to player
 * - kills NPC
 * - Will restore NPC's health (can be used with too)
 * - resurrect NPC (Will also "reroll" the inventory, meaining you could get different items!!)
 * , - disable and enable the NPC in the game (total vanish, reappearing)
 * , - starts or stops combat with the selected NPC. Warning: Stopcombat will not make an NPC permanently unhostile, and may immedeatly resume attacking the player if s/he is in sight.

(Note the difference: marks the "character sheet" and  marks an instance of the character with location.) There is a list of the base_ids and form_ids of the major named characters.


 * Note: Sometimes resetting a companion NPC will result in him/her giving a generic response to dialogue prompts. To fix this, reset the follower's hire quest using resetquest quest_id in the console. A list of quest IDs is given here.

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

However it might not work all the time.

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; it will peak normally (100 for skills, etc). Negative values lowers the variable.
 * - set a value
 * - add a perk
 * - remove a perk
 * - toggle male/female
 * - open the menu to change the name of the player
 * - open the menu to change the race and face of the player
 * warning changing your characters race disables all of their perks and need to be removed and added again to work.
 * - advance one level
 * - set level
 * - A total agerace of -1 results in being a child, 1 an adult, and 2 an elderly person. (ex: player.agerace -3 makes you a child no matter what agerace you currently are)
 * , - give player karma or xp

Example

 * - add Power Armor Training
 * - set Small Guns 100, to the maximum of 100
 * - lower Intelligence by 5 (minimum 1)
 * - Loses 1,000 Karma

Warnings
If you max all your skills to 100 and then level, you will freeze your game, as you cannot advance through the level up screens if you can't assign all of your skillpoints. (This issue has been addressed with current patches.) A similar issue happens if you aquire all perks. It is highly recommended that you choose to advance your level to 20 (with the console)- or 30 if you have installed Broken Steel - then use your console to make any remaining skills 100 and perks 10.

Note: This problem can be avoided by using "CloseAllMenus" from the console at the level-up screen.

Note: If level screen reappears multiple times, "player.setlevel #" to a lower level will stop it.

Note: (Tested on PC version) When the prompt menu comes up for you to assign all your skill points, simple press A (Continue) and you won't have the game freeze up. It also works for the Perk menu. If you maxed your S.P.E.C.I.A.L, choosing Intense Training, you can continue without assigning a point. (Tested on both Patched and Un-patched version)

Also, be extremely careful when using setscale to large numbers like 10. You may seem big and powerful, but a very small dropoff (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. Plus cells will still only load as if you were normal size, and moving through un-spawned cells can cause the game to crash


 * Note: Fixed in latest patch.

Items & world manipulation
This is easiest if you first click on something in the world with the console open, to target it.
 * - unlock doors, safes, terminals or any other locked container; you can of course also.
 * - 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

It is also possible to change the current weather.


 * - forces weather. Replace  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
 * - complete quest
 * - reset quest
 * - list all quest objective levels (stages). Use with setstage.
 * - sets a quest to an objective level useful for resetting bugged scripts
 * - list current quest targets

(raw quest base id list here)

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
 * - exits the current game, displays some credits, then goes to the starting menu.
 * - exits Fallout 3 without going through any menus.
 * - END GAME

Debugging and mapping

 * - turn on all Pip-Boy map markers.
 * - toggle fog-of-war in the Pip-Boy local map.
 * - toggle god mode; gives you invincibility to damage and radiation, unlimited AP, ammo, carrying capacity and stops item degradation.
 * - toggle clipping, you can move through anything (aka "noclip"), disables physics engine
 * - kill all NPCs in the area
 * - teleport to cell
 * - write console output to the specified file
 * - Executes specified list of commands as defined by a text file (.txt)

Batch Example
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 (in other words, the same folder as falloutlauncher.exe)

This example file allows you to experience the game as if you were a very powerful Super Hero (or Villian):


 * ---FuturePeter.txt---

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


 * ---ammo.txt---

this one gives you alot of ammo and some grenades / mines

[ ammo made by MaT ]


 * ---Info.txt---

This batch shows the most relevant information about NPCs and enemies. Select a NPC or enemy and type

To find all the positions of a selected object (x position, y position, z position; x angle, y angle, z angle) all at once you can use the bat command with a text file containing the getpos and getangle commands. Example:


 * ---Pos.txt---

To execute the command, you would type

Advanced use
Two very handy commands:

Kill-kills the selected unit (Note:must first select an NPC)

Unlock-unlocks any selected locked item (Note:if door is protected by electricity or some other contraption this will not work)

All commands applying to the player, npcs or items can be used on any of those, with varying result.


 * has already been used like this in the examples above.

Example

 * - target Sydney
 * - show Sydney's inventory - and has the same effect
 * - check her Small Guns skill
 * - make her very small

To get every hex code available in game type in console (i.e. ).

NOTE: Those codes are not  type and they will NOT work with  command

Position
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 (a 4:3 screen like 1600x1200, 800x600, etc. - not 5:3 or 16:9 widescreen). Fortunately, Fallout 3 has an easy fix for this.

The position of console text can be set in the Fallout.ini file. In Windows XP at:


 * C:\Documents and Settings\\My Documents\My Games\Fallout3\FALLOUT.INI

For Vista:


 * C:\Users\\Documents\My Games\Fallout3\Fallout.ini

Open the file in a text editor like Notepad. Search for "iConsoleText".
 * Set iConsoleTextXPos to 200 or so. Higher figures move console text to the right. This is the main problem.
 * IConsoleTextYPos should be approx. 100 or 200 less than your Y resolution. Lower figure moves it up (0 is the top of the screen).

An example for a 1280x1024 (XxY) 5:4 display: Setting           Default  New Setting  Notes iConsoleTextYPos    940        900      Y (up/down) pos is 100-200 less than your Y res (here, 1024) iConsoleTextXPos     30        200      X (left/right) position is higher (which moves it to the right)

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.

Other bugs
It's common for Vista users and some XP users to be unable to access the Console. Following are some possible causes & solutions:

"Infrared Device" drivers interfere with the "Tilde" (~) key being able to access the Console, so must be disable/uninstalled.

Here's a direct quote from Bethesda Softworks Technical Support: "If you have a new system with the Microsoft eHome devices, these will conflict with the program being able to read the scan code for the tilde key from the keyboard. Those Microsoft eHome devices or drivers need to be disabled in order to allow the game to "see" the tilde key being pressed.  The MIRC (Microsoft Infrared Remote Control) seems to disable the tilde (~) key in both Oblivion and Morrowind. Simply disconnecting the MIRC from the USB port will fix this issue."

To Unistall/ Disable the conflicting device(s), try the following steps:

Open up the "Start" menu, go into "Control Panel" > "System and Maintenance" > "Device Manager". Click "Human Interface Devices". If you see "Microsoft eHome Infrared Transceiver", right-click and uninstall it. If not, then locate the driver with the word "Infrared" in it's name elsewhere in the Device Manager and uninstall. Unfortunately, when you turn-off and then restart your pc, it will automatically reinstall the driver. As a result, you'll have to repeat the uninstall procedure whenever you go to play and wish to have access to the Console.

-or-

[Temp Fix] Control Panel > System > Hardware > Device Manager > Human Interface Devices > uninstall Infrared driver (don't ask me why but this driver interferes).

If using a controller, you have to switch back to mouse/keyboard control to get the console, switching to mouse/keyboard control will occasionally crash the game to desktop, so save before you try, just in case. (Tested with 360 controller on Vista 32)[Works also on Vista x64 with xbox 360 controler]

It has been reported that the console will not work with some Vista 32 and 64 bit systems with NO fix. Those people can only hope for a mod that solves this (example - the ring of console in Oblivion).

HOWEVER, try this, before giving up and using the ring of console.

This editor has no infrared device drivers, and tried this. It worked.

Open regedit (Go into Command Prompt and type in regedit... this will open a new window.)

Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters

There should be an entry named OverrideKeyboardSubtype with a type of REG_DWORD and a value of 2. Set the value to 0 and reboot.

now, uninstalling the IR drivers in the device manager (if you have them) will work to enable the console to come up.

if you don't have any IR drivers, then just doing the reg change should fix it for you.

Ring of Console fix
Follow the steps on the page to help activate the console. The page can be found at here.

You must have the original ring of console as well.

NOTE: This is only for users who CAN NOT under any circumstance open the console. Please try other solutions before resorting to this option, you might save yourself some time. This mod is in a beta, so use at your own risk.

This mod works in the same way as the Ring of Console, and the item is gained after you escape from the vault.

Console Key Binder fix
An easier alternative to the Ring of Console fix would be the Console Key Binder mod, removing the hassle of equipping/unequipping an item. The file can be found here.

This mod allows you to bind another key to open the console (default is F4) which is very useful if your tilde key does not work. Take note, however, that this mod requires Fallout Script Extender (FOSE). FOSE can be found here.

Microsoft eHome remote/receiver
If you use the Microsoft eHome remote/receiver (official media centre remote and USB receiver) you'll notice under your device manager you have a new device named Microsoft eHome MCIR 109 Keyboard; this is the cause of the tilde key not working. It also affects your plus, minus, parenthesis, hash, @, and slash keys remapping them to different functions. (some are even Kanji characters)

NOTE: Many "ITECIR" (infrared) drivers under the device manager also cause the same issue.

Solution is as follows and will not affect the functionality of your Media Centre remote:

1. Go into Device Manager -> Keyboards.

2. Right-click "Microsoft eHome MCIR 109 Keyboard", choose "Update Driver" ("Update Driver Software" on Vista).

3. Choose "Browse my computer for software" (XP users tell it not to install automatically and say you'll specify the location, then when it asks you where you would like it to search for drivers choose the option to choose from a list) then "Let me pick from a list of device drivers on my computer".

4. Make sure "show compatible hardware" is checked, then select "HID-compliant device" and click next. Click any remaining "OK" or "Finish" buttons after Windows has installed the driver.

AutoHotKey Fix
AutoHotkey is a free, open-source utility for Windows, used to remap keyboard or mouse buttons. If your "Tilde" (~) key isn't recognized in Fallout 3, one fix is to install AutoHotKey, and in the script used by the program, assign the "~" to another key. For example, to turn "F12" into a "~", use the line:

F12::~

Now "F12" will be recognized as the command line button.

YouTube Videos
Fallout 3 timescale:, God Mode and placing multiple creatures: QSO1jA5Lqh4 — XKMHWLXcypU