Fallout 4 console commands Overview . The console is a debugging tool in the Windows version of " Fallout 4 " . It is useful for altering content while in - game , but may be used to cheat as well . It cannot be used in the console versions or in Survival mode . In order to access the console , you will need to use the key appropriate for your language ( as shown in the list of console keys ) . The HUD will disappear and you will get a prompt ( - - - | ) in the lower left corner of the screen where you can input commands as listed below ( The console will also remember any previously entered commands , which you can scroll through with the Up and Down Arrow keys ) . While the console is open , the game will pause and the camera will freeze . If the left side of the console is not visible , one may need to edit the Fallout4 _ Default . ini file in the installation folder . Increasing the iConsoleTextXPos variable will move the prompt further right into the field of view . " Fallout 4 " does not require turning off an Xbox / PS Controller if you are using one , to use the console . If you are using a controller , simply use your keyboard to enable the console . On commands , targets , shorthands and more . Types . The commands listed on this page will appear in two types and are accordingly formated : Targets . Targeted commands will require a reference as target usually entered before the actual command , as noted by the separating dot in between . For the majority of functions , a Form ID will be needed . For example , if you want your player character ( PC ) to be the target , you can : Leading zeroes . Each item , object , character , etc . has an eight character hexadecimal reference ID . When typing IDs , leading zeroes may be omitted . Multiple commands . You can enter several commands at once to be executed in a row one after the other . Simply separate them with ; between each command , as seen in the below example . Logic . You can use logical operators in your commands in order to have branching conditions . The syntax to do an if statement in the console is as follows . . Explanation : " Note : The console is not case - sensitive . While commands listed here contain capitalization for better readability , it doesn ' t matter how you input them : E . g . , or will all work . " Stats and character manipulation . Character variables . Most can be used by name , e . g . , but the rest you must use the ID . Items , world , and target / reference manipulation . This is easiest if you first click on something in the world with the console open to target it . You may also use to select an object . Settlements . Settlers . will spawn a settler . Settlers spawned this way must be moved to a settlement via the Workshop interface ( default is " R " on PC ) before they can be assigned to work . For those with the Far Harbor DLC , you can replace with to spawn the Far Harbor variant of a settler . This settler will have different randomized looks from the Commonwealth settlers and will have generic dialogue specific to Far Harbor . The xx is based off the load order - 01 if Far Harbor is the first loaded add - on , 02 if the second , etc . If this fails , replace the xx with 10 , 20 , 30 , ect , depending on the load order . Modifying Workshops . These commands modify settlement workshops , which can have an impact on the rest of the settlement . To use these commands target the workshop with your console open . Or , you can use to target a settlement from the following list . Size Budget . The size budget is a combination of triangle counts and draw calls and is configured for each settlement . Each object the player creates in the settlement will use a portion of both in the budget , with more complex objects using up more . The budget itself is tracked as actor values attached to the workbench . Note that in order to use these actor values you must use the numeric id as they do not have a usable console name . The command will allow you to see the current values . The command will let you change the values . The command will allow you to increase or decrease the current values . Positive numbers increase value , negative decreases value . Allows the value to change . Decreasing the 348 and 34A values or increasing the 349 and 34B values will allow you to build more . Decreasing the 348 and 34A values can also be achieved in - game by using this exploit . Note : The budgets are there for a reason , to keep players from building overly large settlements that could negatively impact performance . Using these commands to ignore the budgets could have consequences . ( the first time you use it nothing might happen but as soon as you leave the settlement area you will not be able to access the area again and the game crashes every time you try to get close to your settlement or even fast travel there . ) Settlement resources . Power Food Water Defense Note : These commands can be used to make a resource object produce additional resource types . For example , a pump can be made to produce food and defence , as well as water . This will produce food without a settler assigned to it , since the pump does not normally require anyone assigned to it . This can be a useful workaround where building is restricted , for example to provide food at Boston Airport . Be aware that this trick does not necessarily work with all objects . Adding a new resource to an object that isn ' t already a resource producer means it does not show up in the top bar . Adding power to an object that doesn ' t have a power connection means the power cannot be used . So power can be added to a power conduit , and this will power things connected to it according to the power value available there , but the top bar will not change . Beds In Console Mode , first you need to click on a bed in a settlement . Happiness Enter the console command mode and click on the settlement workshop ( actual object ) before using these commands : Modify with these commands : Note : the ' modav ' command will add to the existing value . Alternatively , you can use the ' setav ' command to set the exact value you want . Papyrus scripts . The Papyrus scripting engine contains a large number of script functions many of which have no equivalent console command . You can call these functions from within the console using the following console commands . Cheat scripts . On PC , place a text file ( . txt ) in Steam \ Steamapps \ Common \ Fallout 4 with any and all of the below commands , ending with a semicolon ( ; ) and a new command on each line . To run the script while in - game , open the console and type without the file - type extension . For example , if the file name is " test . txt " , simply type in - game to run the script and all of the commands will be applied instantly . Using will spawn chest containing every single possible weapon X legendary combination in game . Visual bug glitches & annoyances . There is currently a bug going around that involves locking the imagespace mod of the Recon sight and / or the Night vision sight . Use these two codes to correct them . To completely disable all imagespace modifiers use the following command : This will disable all image space modifications which can hide some effects that tend to be more of an annoyance than a benefit ( i . e . extreme brightness or blurriness when going stealth ) .