Gamebryo console commands

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. The Xbox 360 equivalent of this is Complicators Fallout 3 Save Editor, but it has a lot less uses and doesn't use the same commands.

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 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, \ or | on Italian Keybooards.)
 * Some 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.
 * The game will pause as well, making you unable to look around while using it -be sure to be looking at what you want to change, unlock, etc.

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.
 * - toggle lightbrite mode makes everything well lit, great for dark spots.

Inventory manipulation

 * - add item to your inventory, at full health.


 * Example: - add 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 id's suitable for using with
 * - Changes the currently held weapon's health.


 * Example: Will change the current weapon's health to 80%.

NPC manipulation

 * - set an id target. Same as clicking, but will work even if the target isn't visible.
 * - set NPC as unkillable.
 * - set unkillable NPC to be killable again.
 * - 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, meaning you could get different items!!)
 * If you type, then it will make the NPC stand up again, as if it was unconscious. Beware that this can give you some silly results, especially when it involves gibs.
 * , - 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 immediately 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, 85 for resistances, 10 for S.P.E.C.I.A.L., 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
 * - 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: 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
 * Set's player's max carry weight to 5000

Warnings
(warnings about issues successfully addressed by patches removed due to redundancy)

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.

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
 * - 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
 * - 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.
 * or - 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(Reload does use AP)(confirmed with some weapons), ammo, carrying capacity and stops item degradation.
 * - toggle clipping, The world looks cool as your form moves like a ghost through anything, entering forbidden areas (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 MaT5892 ]


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


 * ---Traders.txt---

To execute the command, you would type This prevents traders from dying (Doc Hoff, Crow, Lucky Harith and Crazy Wolfgang).
 * Note that there is NO need to put a space between the command and the batch file . The console is also not case-sensitive, therefore the execution of this batch can simply be done by typing in.


 * If they are already dead, this will resurrect them.
 * If they are not dead, which would be the case most of the time, this MAY reset the NPC's inventory. However, it will not affect any of your 'investments.'
 * This will only keep the actual trader alive - the caravan guards and Brahmin will still be vulnerable.
 * As a bonus and solution to end the frustration of only having weapons that can only repaired up to 85% condition (by Wolfgang), I've added the lines   that would cause the four traders to have the ability to fully repair all armours and weapons.
 * If you do NOT want this feature, simply remove the four  lines that I've added in. Otherwise; Enjoy!!!


 * ---AwesomeWeapons.txt---

This batch gives you some of the weapons that are not available through normal game-play. These are either unique weapons that specific NPCs use or cut-content. The execution of this batch in-game will add; "Highwater Trousers" Missile Launcher (the weapon used at the SatCom Array NW-05a missile launch), Mysterious Stranger's .44 Magnum (instant-kill no matter what), Sonora's 10mm, Behemoth's fire hydrant and Law Dog.

[ Traders & Awesome Weapons made by TheFev ]

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)

Activate-activates object, opens doors that are activated elsewhere (Note: select object first)

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 and Windows 7:


 * 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" &gt; "System and Maintenance" &gt; "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 &gt; System &gt; Hardware &gt; Device Manager &gt; Human Interface Devices &gt; 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).

For Vista 32 and 64 bit http://www.fallout3nexus.com/downloads/file.php?id=1711 its a mod for the Console and works

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.

You should try this first:
Tested and working method under Vista and Windows 7:

http://www.cheathappens.com/show_board2.asp?headID=74895&titleID=14053

This will work not only for Fallout 3, but all other games that use the "~" for console, AND lets you use your MS remote.

-Seconded

-Thirded. I tried many other fixes (to no avail), but this one worked permanently on the first try.

This was an insta-fix for any laptop w/ a built-in detacheable remote. It also has less technical gobble-degook than registry entry edits, (and their eventual complications), and isn't nearly as sketchy as uninstalling and reinstalling the device/driver. A+ perma-fix for media centre comps/laptops.

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 -&gt; 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