Console commands (Fallout 4)/Debugging

An overview of console commands for debugging and mapping $$

Overview
The console is a debugging tool in the PC version of Fallout 4. It is used for altering content while in-game. It cannot be used in the game console versions or in Survival mode.

Debugging and mapping

 * – Searches for item IDs, perk names, and even other commands. Use PageUp and PageDown keys or keyboard equivalents to scroll through the console.
 * matchstring: The search term(s).
 * filter: Integer from 0 to 4.
 * 0 – List all results.
 * 1 – List functions.
 * 2 – List settings.
 * 3 – List globals.
 * 4 – List other forms (optional form type, see below for common examples).
 * form type: 4 character form type identifier (used only when using filter value 4, otherwise ignored), e.g.:
 * AMMO - Ammunition. (All items in the Pip-Boy INV/AMMO display are of type AMMO.)
 * ARMO – Armor and clothing. (All items in the Pip-Boy INV/APPAREL display are of type ARMO.)
 * ALCH - Food, drink and chems. (All items in the Pip-Boy INV/AID display are of type ALCH.)
 * BOOK - All magazines, notes, and a few schematics. (Shown in Pip-Boy INV/MISC display.)
 * CELL – Cells of the maps.
 * FACT – Factions.
 * FURN – Furniture. In Workshop mode, some behave normally (118f4b), some can only be scrapped (ab568), while others can't be manipulated at all (db85e).
 * MISC – Miscellaneous items, including all "junk" items. (All items in the Pip-Boy INV/JUNK display are MISC, as are some items in INV/MISC.)
 * NPC_ – NPCs. (Underscore satisfies the 4 character requirement.)
 * KEYM – Keys.
 * OMOD – Item mods.
 * PERK – Perks.
 * QUST – Quests.
 * SPEL - Conditions affecting a character, for better ("Fortify Health"), or worse ("Alcohol Addiction").
 * STAT – Static objects (uses the display name, not the actual model name).
 * WEAP – Weapons. (All items in the Pip-Boy INV/WEAPONS display are of type WEAP.)
 * Example: – This will list everything - item IDs, perk names, and commands - with "Leather" in the name.
 * Example: – If your search term contains a space, surround it in quotation marks.
 * Example: – Lists all armors with "raider" in their name.
 * Example: – Lists all NPCs with "gunner con" in their name, like "Gunner Conscript".
 * or – Clears the console log.
 * Note: While the command is accepted, it does not clear the console as intended.

Commands

 * or
 * – Enables all locations as discovered to your Pip-Boy with fast travel (Does not update the "locations discovered" statistic in the Pip-Boy 3000 Mark IV).
 * – Disables all map markers.
 * – Adds all map markers as undiscovered without fast travel.
 * or – Gives the player complete immunity to damage, radiation and oxygen starvation underwater. It also gives unlimited ammo and clip, carrying capacity and AP (reloading does use AP with some weapons). RadAway and stimpaks do not work while tgm is active, but power armor fusion cores will still drain, however can be recharged by using the jetpack. In addition, it provides unlimited resources for building items at settlements. Falling from high places will still cause the player to flinch as if taking damage, though no damage will occur, and companions may comment as if you had taken damage as a result.
 * or – Character will still take damage, but health will never reach zero; it does not confer radiation immunity, nor infinite AP or ammo.
 * Warning: This will irreversibly screw up your character should you encounter a kill animation (e.g. Deathclaw evisceration) which can lead to your limbs or head being replaced by gibs causing permanent crippling debuffs (perception or agility at 0), inability to equip gear for the affected slots and all your character's dialogue being skipped (in case of a mauled head). While the visual effects can be solved by entering/exiting power armor, the permanent 0 for SPECIAL stats and your mute player character are impossible to restore and force you to reload a previous save.
 * or – 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. Make sure to click on an empty space to clear any IDs that are being used in the console for this to work,  with no parameters also serves the same purpose.
 * Note: You will still be unable to pass outside the invisible walls at the boundaries of the map.
 * Note: While collisions are disabled, NPCs in the area cannot change location; they will try to walk in whatever direction they were going before collisions were disabled, but will only be able to walk in place. Anecdotal evidence suggests that this inability to move may cause their AIs to re-weight the value of the path they were taking, decreasing it over time from a viable path, to a non-viable or undesirable path, which may negatively affect their movement in the future. (An article on NPC AI capabilities and limitations from someone with a solid understanding of the subject would be helpful.)
 * Note: Sometimes this command does not work. If you enter ToggleCollision and nothing happens, simply save your game and quit to the desktop. When you restart the game, the command should work.

FOV

 * or – Puts the game in a frozen state, even when leaving the console. Useful in combination with tfc and tm to line up perfect screenshots. Type again to resume the game.
 * or – The angle of the game camera's horizontal Field Of View settings in degrees. Higher values make more of the world around you fit on screen, but also distort the image more.
 * or - Sets both FOVs to the default of 70 degrees.
 * The second argument can be omitted, but this will set the first-person FOV to 70 (which is the default).
 * Warning: This command has been known to mess with the Pip-Boy screen causing it to appear zoomed in too far, blocking your view to the various tabs at the top of the Pip-Boy as well as most items oriented on the left-hand side of the screen. If this problem occurs, you can attempt to remedy this by adjusting the FOV. If adjusting the FOV doesn't work, you will need to load a previous save, before you altered the FOV settings.
 * or – Decouples the camera from the character, allowing you to move it independently in 3rd person view (limited in range to extent of current uGridsToLoad cells setting)
 * – Additionally freezes all animations, useful for screenshots.
 * or – Changes the Freefly camera movement speed.
 * – Half movement speed.
 * – Default speed.
 * – Double movement speed.
 * or – Toggles UI overlay display (including console). This command hides all available menus and User Interface displays. It also hides the console. It does however not disable any menus or UI displays. They will all still accept user interaction or commands. As such the console can be used to enter commands even though they can not be seen. Type tm again to toggle the menus to be visible again.
 * Note: This can be used to hide the UI for screenshots.
 * – Takes a screenshot without removing any HUD elements. Screenshot is stored in the root "Fallout4.exe" directory, and named "ScreenShot#.png". Use in conjunction with to make the console and HUD invisible for a better screenshot.
 * Note: The destination directory and name of screenshot files can be customized by editing (and creating, if necessary) the file "Fallout4Custom.ini" in the same directory as both "Fallout4Prefs.ini" and the "Saves" subdirectory (typically your "Documents\My Games\Fallout4\" directory). In the  section of the file, add a line that starts with   and concludes with the path to the desired directory and the prefix for screenshot file names.
 * Example:
 * The final part of the path,, becomes the prefix of screenshot file names. If omitted, the file names will consist only of one or more digits, followed by the ".png" extension. If included, as in this example, the names will begin with "ScreenShot" and end with the usual digits and ".png" extension.
 * The number that will be used in the name of the next screenshot is stored on the  line of the   section of the "Fallout4Prefs.ini" file, found in the same directory as "Fallout4.exe".
 * If the path to the desired directory does not include spaces, or other problematic characters, the surrounding double quotes may be omitted.

Additional

 * or – Enable/Disable/Edit God-Ray
 * or – Teleports the player to the specified cell's center.
 * – Teleports to the pre-war version of Sanctuary Hills from the intro.
 * – Teleports to a test cell containing most of the items in the game.
 * – Teleports to the Red Rocket Truck Stop, a gas station between Sanctuary Hills and Concord.
 * or – Writes console output to the specified file.
 * Note: While the command is accepted, no file or contents are ever generated.
 * or – Executes specified list of commands as defined by a text file (.txt) placed in the game's directory. Only enter the raw name without file type endings.
 * Example: to load the contents of 'testfile.txt', placed in the installation directory.
 * - Toggles fog of war on local map.
 * or – Toggles grass display.
 * or – Toggles Trijuicing. [Unknown]
 * or – Toggles distant LOD display.
 * or – Toggles sky display.
 * or - Toggles pre-culling.
 * or – Toggles water display. Useful when exploring underwater regions. It time-outs in a few seconds so you have to reenter the command. It also deactivates when you move into another cell.
 * or - Toggles cell and cell quad borders.
 * or – Toggles wire frame mode.
 * – Hotload Plugin. Used after and edit and save of the esp in CK or FO4Edit.  This allows immediate testing of edits without the need to exit the game and reload.  Prior to saving the ESP, you must first run FCF in game.
 * – Force close files. Closes all masters and plugins, releasing the file handle to the esp so that it can be saved to from CK or FO4Edit.  See HLP.
 * or – "Fast quit", immediately closes the game.
 * or – Removes current blood splatter, dust from explosions and similar screen effects.
 * or – Creates a save file with the given name.
 * Note: Saved game is not listed in the default list of saves. To find the save created with command "SaveGame" you need to select "Load -> Select Character -> Show All Saves".
 * or – Loads the entered save file.
 * or – Sets multiplier on in-game time. For example, 1.0 is standard time, 0.5 is slow mo, and 0.25 is even slower.
 * Warning: Can break quite a few things. Safe values are 0 to 25. Above 50 drops framerate and higher crashes the game.
 * or – Enable/Disable/Edit the rim lighting that is used on character models. Character Light can also be applied to other models that currently do not use it. It can also be removed from models.
 * or – Turns character lighting on/off which is an artificial light the game applies to characters/creatures.
 * Note: Case sensitive so cl on will work but CL ON will not.
 * - Sets the strength of the character lighting. Will have no effect if character lighting is off. The default value is 0.02 and it is also case sensitive.
 * Example: cl rim 0.02