How to make console command presets in Fallout 4

Fallout 4 Batch (4)

Fallout 4 is best on the PC, not just because it just looks and runs best, but because console commands let you role-play a superhero, stage massive monster battles, or let you experiment with fashion no matter where you are. Problem is, typing in every command every time you boot up the game can take a bit of time. Luckily, there’s a super easy way to expedite the process by making simple batch files.

Fallout 4 directory

Saveloc

First, you’ll need to make a new .txt file using whatever program floats your boat. I’m a Notepad++ man myself. Type all the console commands you’d like to execute at once on separate lines in the text file, name it something simple you’ll remember, and then save it directly to your primary Fallout 4 directory.

Once you’re in game, hit the tilde key to open the console as normal, and then type “bat [file name]” to execute all of the file’s commands at once. I’ve yet to really stretch the limits of creativity with batch files, but I’ve been using them to do a few things with quite a bit less typing. Here’s a few examples.

Enable CPU multithreading

Off by default and difficult to change in the .ini files, making a batch file to take care of enabling CPU multithreading is a cinch. Some players have reported that it helps with hitchiness and framerate issues, so it might be worth giving a shot.

//enable CPU multithreading
tMta ON
tMtrdfl ON
tMtr ppld

The information behind the slashes just denotes what that command does. They’re completely unnecessary, but if you end up making some complex batch files, it might be worth denoting what is what. Save the text file to your Fallout 4 directory, open the game, enter the console, type "bat juiceme" (or whatever name you chose).

Turn into an invincible nuclear skyscraper

Enabling god mode and setting player scale are pretty simple, but it can be hard to memorize every command or lookup item IDs each time you need to spawn something. Make breaking the game easy by throwing them all in a batch file. In this one, it enables god mode, gives me a Fat Man, makes me massive, and able to jump with the power of 200 Jordans. Entering the batch command feels like pressing the Fun Button. Throw something like this into a text file.

//GRONNIFER SMASH (God mode, jumps, and scale increase)
tgm
setgs fJumpHeightMin 2000
setscale 5

//Adds Fat Man
player.additem 000BD56F 1

//SPECIAL maxed out
player.modav strength 10
player.modav perception 10
player.modav endurance 10
player.modav charisma 10
player.modav intelligence 10
player.modav agility 10
player.modav luck 10

Press the tilde key, enter "bat smash" (or whatever you named it) and let the power flow through you. Make sure you go into third person and click on yourself so the batch knows what object to apply the scale settings to.

Have an impromptu Super Mutant and Raider battle

Batch files let you assign behaviors and spawn specific amounts of NPCs into the world all at once. Phil gave us a detailed tutorial on how to make it work, so let’s expedite the process. First, I made the ‘battlechill’ batch file, which just spawns a few behemoths and raiders on my location, turns off their aggressive AI, and gives me god mode. (Be careful though, if you use multiple batch files that have redundant commands, you might be turning things on and off without realizing it.) Here's an example to work with:

//Toggle AI
tai

//Toggle combat AI
tcai

//Toggle god mode
tgm

//Monster spawns :D - 5 Super Mutant Behemoths vs 20 Raiders
placeatme 000bb7dd 5
placeatme 000f757b 20

They'll spawn right on you, so you might have to turn on no clip (tcl) to get through.

The next batch file is just the on switch, which returns the NPCs their normal behaviors. Name it whatever you like (battlekill in my example), hit it, and watch the mess unfold.

//Toggle AI
tai

//Toggle combat AI
tcai

Or just turn the tide of the battle yourself. Just be sure you don't lose yourself.

These are just a few examples of how to lump together console commands. Used for chaos or convenience, they save a good amount of pecking out abstract commands and researching obscure object ID numbers. Feel free to share your own batch files in the comments.

James Davenport

James is stuck in an endless loop, playing the Dark Souls games on repeat until Elden Ring and Silksong set him free. He's a truffle pig for indie horror and weird FPS games too, seeking out games that actively hurt to play. Otherwise he's wandering Austin, identifying mushrooms and doodling grackles. 

Latest in Fallout
Male and Female Vault Dweller holding guns and cresting a hill with ruined city in background
The New Vegas remake of the Fallout 3 that never was just got its first demo, not to be confused with the straight-up remake of the cancelled Fallout 3 or, indeed, Fallout 3
Lucy smiling while using her pip boy
Ella Purnell dreads being typecast for her 'poop finger' in Fallout: 'This finger is the bane of my life'
Fallout 76 - a player in a vault suit gives a thumbs up
Fallout 76's former project lead says it's still his favourite game he worked on, but the initial reception was demoralising: 'I got yelled at in an Apple Store, I'll never forget'
Mortimer Goth swanning around inside a New Vegas casino built inside the Sims 2
A Fallout: New Vegas fan is so fed up waiting for a remake he's decided to do it himself. The twist? He's making it in the Sims 2
Maybe I'll finally stop getting lost in Fallout: New Vegas' Bison Steve Hotel thanks to this new minimap mod
A jumpsuit-clad Lucy, played by Ella Purnell, emerges from a vault in the Fallout TV series.
Ella Purnell and Walton Goggins sure are excited for everyone to see Fallout season 2: 'No one's going to be able to predict what happens. There's some big twists this time around'
Latest in Features
OneXPlayer 2 pro on a table
I never thought a handheld PC bloated with Windows could replace my Steam Deck, but after gaming on an old OneXPlayer 2 Pro I can see now I judged it too harshly
Beyond the Ice Palace 2 screenshots
I’m not sure what’s weirder: that someone made a sequel to a completely forgettable 37-year-old game I played as a kid, or that it was actually worth the wait
Screenshot of Children of Clay showing a mysterious clay model
Five new Steam games you probably missed (March 10, 2025)
A goalkeeper in a plague mask wields an axe
Silent Hill gets a soccer league in FEAR FA 98, and you can play the demo now
The Sims 4 - stacks of laundry machines in a small laundromat small business next to chairs with laundry
The best part of The Sims 4 Businesses & Hobbies expansion is just coming up with fun small business ideas
Obenseuer
This brutalist life sim gave me a free tenement block to renovate, but my mushroom addiction kept getting in the way