Today, the editor has collected some codes for you Fallout 4 friends ~ I hope it will be useful to you ~ In the game, press the "~" key to open the console. Enter the "player.additem code quantity" to get the corresponding number of props.
Use the NPC code "player.moveto code" to teleport yourself to him, or "prid code" (select him) and then use "moveto player" to teleport him to you.
tgm invincible mode
tdm harmless mode
player.advlevel Upgrade 1 level
player.setlevel # Set the player level to #
tcl turns on/off wall penetration mode
tim Buddha mode
tmm 1 shows all locations on the map
kill Kill the target NPC
player.additem 0000000f # Add bottle cap
player.additem 0000000a # Add lock opener
player.modav[variable]# Add the specified attribute value to
player.modav carryweight #Set the weight value to #
tai turns AI on/off
tdetectAI completely ignores player presence
tcai turns NPCs aggressive on/off
resurrect Resurrect the target NPC
resurrect[id] resurrects the creature with the specified ID
kill[id] kills the creature with the specified ID
tmm 1 Activate all Pip-Boy map markers
killall kills all NPCs and creatures in the current area
caqs Complete all tasks in the main plot
coc qasmoke teleports to a private testing room (owns all items)
coc[cell edid] is sent to the specified cell
help[text] View target item ID
player.additem[ID] # Get the specified ID item (# is the quantity)
player.showinventory or player.inv lists the IDs of inventory items
player.equipitem[object id] Equipment inventory item with specified ID
sexchange change gender
setgs fJumpHeightMin # Set the minimum jump height
player.setav speedmult #Set running speed multiplier
player.setav[variable]# Modify the basic value to #
player.forceav[variable]# Modify the specified value to #
player.addperk[PERK code] Add PERK
setgs iHackingMaxWords 1 Hack the terminal
setgs iTerminalDisplayRate 1000 speeds up terminal display
setgs
fXPDeathRewardHealthThreshold 100.0 Part of the experience gained when your companion kills the enemy belongs to you.
advancepcskill[advskill] adds 1 point to the specified skill branch
setScale #Change the size of target objects and characters (# is 1-10)
getScale displays the target object and character size
unlock Unlocks the specified locked item
lock # Lock the specified item (# is the difficulty of unlocking)
zap deletes the specified item
markfordelete permanently deletes the specified item
setopenstate[0 or 2] sets the activation state of the target object: 0 is off, 2 is on
setownership changes the ownership of the target object
player.placeatme[object id][stack amount]# brush props or units at the specified location
(When [stack amount] is 1, it is a prop)
player.moveto[ref id] Move to the specified item (note that it must be in the same area)
set timescale to[scale] Set the game time passage speed: The default is "30"
set gamehour to[time] Set game time (in hours)
tfc free perspective
tm turns on/off menu and UI interface display
getcurrenttime displays the current game time
getgs[string] View game setting values
scof[filename] outputs console cheat codes to the specified file
bat[filename] executes cheat codes in the specified file in batches
cls cleans console input traces
This game has a built-in cheat MOD~ I won’t list too many codes here. I recommend using the built-in cheat MOD~