Fallout 4

Fallout 4

View Stats:
Storm Jan 22, 2016 @ 8:56am
Console command to prevent someone from being killed
I'm trying to set Deezer so that he behaves like Codsworth in that he can't be killed but instead shuts down for a bit and heals up.

I know I saw the console command once regarding some NPC who can die but can't remember who that was or what the name of the command is in order to look it up.

Thanks!

Edit: Based on everyones feedback, here's what to do:
1. Get the base ID of the NPC: help <npc> 0
Example: help goodfeels 0
This will give you their Base ID

2. Set them as essentail: setessential <baseid> 1
Example: setessential d5224 1
This will make them essential

Here are the Base ID and Reference ID for the ones I wanted:
Deezer, BaseID: 890C1, RefID: 89151
Prof Goodfeels, BaseID: D5224, RefID: D5221
Clarabell (Abernathy farm cow), BaseID: 6C507, RefID: 6B9D9

Also, if your Prof Goodfeels keeps disappearing on you, use this to bring him back (he gets disabled when you leave sunshine tidings for >12h causing him to disappear.
prid d5221
enable

Hope this helps!
Last edited by Storm; Jan 22, 2016 @ 11:34pm
< >
Showing 1-15 of 18 comments
Megumeru Jan 22, 2016 @ 8:59am 
set essential IIRC

or was it set as essential? Either one of those
Storm Jan 22, 2016 @ 9:22am 
Originally posted by Megumeru:
set essential IIRC

or was it set as essential? Either one of those

You're a frigging rockstar!

Only problem is, seems you can't set Deezer to be essential. When I use the console command
setessential 89151 1
I get the error, "Invalid actor baes '89151' for parameter Actor Base.

Pity, would have loved not having to do settlement attack missions over and over to try ensure he doesn't die.

Thanks again for your help!
Hmm, if you can't flag him as essential maybe mod his endurance so he has craptons of HP?
89151.modav endurance 999
I know you can alter most of the NPCs/Companions stats with this so it might be worth a try.
Haven't met him, but it could be his ref ID changes upon meeting, as running a help query shows the Deezer NPC to have 890C1 as a ref?
Bored Peon Jan 22, 2016 @ 10:07am 
You might also want to do this with Dr Goodfeels in Sunshine Tidings. He tends to die to supermutants wandering in near the cafeteria.
Bored Peon Jan 22, 2016 @ 10:08am 
Originally posted by R:
Try TIM
also can be used as
toggleImmortalMode
Although this can cause many bugs like headless people, if they should end up being decapitated.
Maybe even floating torsos if you explode them, or they step on a mine.

Ya that command is for YOU, not NPCs.
Mor'finn Jan 22, 2016 @ 10:18am 
You need to use baseid with setessential, not refid.

So for Deezer it would be

setessential 890c1 1
Aries the Grinning Jan 22, 2016 @ 10:26am 
Originally posted by Bored Peon:
You might also want to do this with Dr Goodfeels in Sunshine Tidings. He tends to die to supermutants wandering in near the cafeteria.
Wooowwwww... Far Out :D
Now there's a guy I should have done this for, though I think he just vanishes for me most of the time Be fun to know there'd be a hippy tank roaming the commonwealth spreading some immortal love.
Bored Peon Jan 22, 2016 @ 10:48am 
Originally posted by Aries the Everdying:
Originally posted by Bored Peon:
You might also want to do this with Dr Goodfeels in Sunshine Tidings. He tends to die to supermutants wandering in near the cafeteria.
Wooowwwww... Far Out :D
Now there's a guy I should have done this for, though I think he just vanishes for me most of the time Be fun to know there'd be a hippy tank roaming the commonwealth spreading some immortal love.

Well I paid more attention to him my last couple games. While I was clearing out the settlement to obtain it a couple super mutants showed up and killed him before I could do anything. So I reloaded and sure enough the super mutants appeared behind the cafeteria building and attacked him. This was how I found out he dies, EASILY.

So on my current game when I reached the settlement I shut him down. Which allegedly is supposed to make him inactive (kinda like the robots in Watts I guess.) Well he simply disappeared on me.

I read a post last week abotu a guy who went through a LOT of trouble making him respawn and such. I had to point out he was wasting his time because the NPC dies too easily.

Storm Jan 22, 2016 @ 10:25pm 
Thanks for everyones input, I've updated my question to show all the feedback. What I'm a little confused about though, is what do those [PP] / [EP] mean after the ref id?

I thought that if the first char was E that meant they were essential but after setting Deezer, he's still [PP] and before setting Prof Goodfeels, he's already [EP]
Yhwach Jan 22, 2016 @ 10:28pm 
Originally posted by Storm:
Thanks for everyones input, I've updated my question to show all the feedback. What I'm a little confused about though, is what do those [PP] / [EP] mean after the ref id?

I thought that if the first char was E that meant they were essential but after setting Deezer, he's still [PP] and before setting Prof Goodfeels, he's already [EP]
[T] = Temporary
[D] = Marked for Deletion

= Persistent
[E] = Entity

General:

[PP] = Player-Centric Persistent, applies to NPC's, doesn't always have E
This is mostly used for persistent NPC's,

[EP] = Persistent NPC
E can also mean other things, I'm not sure how the whole flagging thing works for other instances.

Parent / Child:
There are Parent / Child NPC's, where the Parent is the dominant reference, and the child is a duplicate or clone of the Parent, or works off of the parent.

[PP] = Persistent Parent

[EP] = Child / Parent

Last edited by Yhwach; Jan 22, 2016 @ 10:30pm
Bored Peon Jan 22, 2016 @ 10:33pm 
Well the EP is definitely not some sort of code for essential, like I said I watched some super mutants kill him on more than one occaison.

Easy thing to do would be target a few settlers and companions and see what flags they have.

Console commands are a real @#$^% to find a decent list and guide. 90% of the lists and guides are only interested in cheats and item codes for the cheats.

Yhwach Jan 22, 2016 @ 10:34pm 
Originally posted by Bored Peon:
Well the EP is definitely not some sort of code for essential, like I said I watched some super mutants kill him on more than one occaison.

Easy thing to do would be target a few settlers and companions and see what flags they have.

Console commands are a real @#$^% to find a decent list and guide. 90% of the lists and guides are only interested in cheats and item codes for the cheats.
Read my previous post, there's no real way to tell, but I know for a fact that EP / PP mostly relates to a parent child entity connection, and P by itself just means Persistent.
Bored Peon Jan 22, 2016 @ 10:38pm 
Originally posted by Scarecrow:
Read my previous post, there's no real way to tell, but I know for a fact that EP / PP mostly relates to a parent child entity connection, and P by itself just means Persistent.

Yep, the stuff you said made perfect sense. I knew it was some kidn of marker, but I have sene it on enough non-npc items that it could not have meant the essential flag.
Yhwach Jan 22, 2016 @ 10:40pm 
Originally posted by Bored Peon:
Originally posted by Scarecrow:
Read my previous post, there's no real way to tell, but I know for a fact that EP / PP mostly relates to a parent child entity connection, and P by itself just means Persistent.

Yep, the stuff you said made perfect sense. I knew it was some kidn of marker, but I have sene it on enough non-npc items that it could not have meant the essential flag.
I used to think that E meant Essential, but i noticed that NPC's that weren't essential still had that flag, so that couldn't be right.. :/
Bored Peon Jan 22, 2016 @ 10:50pm 
Now what would be really cool would be add a happiness bonus to the rare NPCs. Give them a +10 happiness bonus like the dogs you buy from Gene.

I know it cna be done because someone wrote some nanny bot mod or something that gave all robots a happiness bonus. Someone had a screenshot of Graygarden with the mod and they had like a 109 happiness despite the fact the place did not have beds which is like a -20 modifier to happiness.
< >
Showing 1-15 of 18 comments
Per page: 1530 50

Date Posted: Jan 22, 2016 @ 8:56am
Posts: 18