Neverwinter Nights: Enhanced Edition

Neverwinter Nights: Enhanced Edition

View Stats:
wzrdkllr Jan 3, 2021 @ 12:08am
Is there a way to make an NPC invincible using console commands?
The situation:
Me and my girlfriend are playing through a module from NW Vault called An Ancient Heart, and it doesn't have a lot of walkthroughs, and is fairly old so I don't think I can ask the creator or something. There's an NPC that is important to the main quest named Commander Kosef who is very prone to dying. Without him, we get stuck and we can't progress the story. Problem is, as a ranger and a rogue, it is damn near impossible for me as the only healer to keep him alive throughout the quest, which is a huge battle with giants and orcs.
Can anyone suggest a way to keep him alive using console commands, exploits, or anything like that? Thank you in advance.
I love this game a lot but I just keep having game-breaking problems like this that make me have to quit my module. The same thing happened to me while I was playing chapter one of the Aielund Saga.
< >
Showing 1-10 of 10 comments
Tesseract Jan 3, 2021 @ 12:43am 
Two suggestions: you could set his CON really high, and you could spawn high level healing items to use on him. List of console commands and list of item resrefs, if you're not aware:

https://nwn.fandom.com/wiki/Console_command
https://gamefaqs.gamespot.com/pc/188666-neverwinter-nights/faqs/24467

Useful items might be:
nw_it_medkit004 - Healer's Kit +10
nw_it_mpotion012 - Potion of Heal
Axer Jan 3, 2021 @ 5:15pm 
You can dynamically set things to plot/invisible but there's no direct console command to do it , instead even better it's got a menu !
Here is how:
tilde ~ to bring up console
Debugmode 1
(all commands case sensitive, but to save time if you forget the exact casing, typing captial D, than pressing tab will autocomplete the command, than space and 1 and done)

Now on the keyboard, press period (.) , this will bring up a nice debug menu that lets you do a lot of stuff. Click creatures to show all the npcs/monsters in the area, and select the guy, than press either toggle invulnerability or toggle immortality.

Invuln sets the plot flag, so they can take no damage ever
Immortality is a little nicer for normal play since they can still take full damage, but can never go below 1hp, so can't die. (So you can at least sort of roleplay your trying to heal him)

Other handy secrets if you get stuck:
The plus key (+) on the numpad lets you teleport to where your mouse cursor is. So if the module author screwed up and theres a plot locked door that a key failed to drop for, you can teleport past it. (If it's a transition door, well not so much, thats more complex to fix)

You can also toggle this anytime you want, so if the story of that modules requires him to die later, you can unset it.

If you wanna get really technical, you could download lilith, which is an ingame super utility that lets you change everything about NPC's. But its complex to install and use so probably best to just use my first suggestion. But yea if you learn how to use it, you can essentially use it to fix any module issues on the fly. I've played plenty of super buggy modules and still completed them thanks to it.
But yea its hard to get it to work, some ppl report the latest version on the vault works for them, but for me I had to dig up an old version and mess with it a bunch to get it to work.
Last edited by Axer; Jan 3, 2021 @ 5:20pm
Shiroi Ren Jan 3, 2021 @ 7:20pm 
Hmm... Why not just ressurect this imbecile after he dies?
wzrdkllr Jan 3, 2021 @ 10:15pm 
Originally posted by Shiroi Ren:
Hmm... Why not just ressurect this imbecile after he dies?
Because I don't know how to do that
Lady MacBeth Jan 3, 2021 @ 10:47pm 
Originally posted by BARFCHUGGER:
Originally posted by Shiroi Ren:
Hmm... Why not just ressurect this imbecile after he dies?
Because I don't know how to do that
Well you said your girlfriends playing a rogue. So as long as she has sufficient levels of Use Magic Device she can use raise dead and resurrection scrolls on him. (assuming they are available in the module)
Last edited by Lady MacBeth; Jan 3, 2021 @ 10:48pm
Shiroi Ren Jan 3, 2021 @ 11:03pm 
Raise Dead scroll should be usable by any class. I don't know about Resurrection though.
wzrdkllr Jan 4, 2021 @ 1:32am 
Originally posted by Ming:
Originally posted by BARFCHUGGER:
Because I don't know how to do that
Well you said your girlfriends playing a rogue. So as long as she has sufficient levels of Use Magic Device she can use raise dead and resurrection scrolls on him. (assuming they are available in the module)
Oh, well his body disappears right after he dies so we wouldn't be able to do that i think
allenayen96 Jan 4, 2021 @ 8:21am 
Originally posted by BARFCHUGGER:
Originally posted by Ming:
Well you said your girlfriends playing a rogue. So as long as she has sufficient levels of Use Magic Device she can use raise dead and resurrection scrolls on him. (assuming they are available in the module)
Oh, well his body disappears right after he dies so we wouldn't be able to do that i think
That is the reason why I sell any Resurrection and Raise Dead scrolls I find
allenayen96 Jan 4, 2021 @ 8:38am 
Originally posted by Axer128:
You can dynamically set things to plot/invisible but there's no direct console command to do it , instead even better it's got a menu !
Here is how:
tilde ~ to bring up console
Debugmode 1
(all commands case sensitive, but to save time if you forget the exact casing, typing captial D, than pressing tab will autocomplete the command, than space and 1 and done)

Now on the keyboard, press period (.) , this will bring up a nice debug menu that lets you do a lot of stuff. Click creatures to show all the npcs/monsters in the area, and select the guy, than press either toggle invulnerability or toggle immortality.

Invuln sets the plot flag, so they can take no damage ever
Immortality is a little nicer for normal play since they can still take full damage, but can never go below 1hp, so can't die. (So you can at least sort of roleplay your trying to heal him)

Other handy secrets if you get stuck:
The plus key (+) on the numpad lets you teleport to where your mouse cursor is. So if the module author screwed up and theres a plot locked door that a key failed to drop for, you can teleport past it. (If it's a transition door, well not so much, thats more complex to fix)

You can also toggle this anytime you want, so if the story of that modules requires him to die later, you can unset it.

If you wanna get really technical, you could download lilith, which is an ingame super utility that lets you change everything about NPC's. But its complex to install and use so probably best to just use my first suggestion. But yea if you learn how to use it, you can essentially use it to fix any module issues on the fly. I've played plenty of super buggy modules and still completed them thanks to it.
But yea its hard to get it to work, some ppl report the latest version on the vault works for them, but for me I had to dig up an old version and mess with it a bunch to get it to work.
You forgot one thing DebugMode 0 (that is a zero not a o)
Lady MacBeth Jan 4, 2021 @ 10:19am 
Originally posted by BARFCHUGGER:
Originally posted by Ming:
Well you said your girlfriends playing a rogue. So as long as she has sufficient levels of Use Magic Device she can use raise dead and resurrection scrolls on him. (assuming they are available in the module)
Oh, well his body disappears right after he dies so we wouldn't be able to do that i think
gotcha, well if you don't want to make him immortal you could give him a ton of heal pots (the full heal ones) and just let him heal himself nonstop. Assuming hes smart enough to do it. I haven't played in years, so I can't remember how good they are about using potions.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jan 3, 2021 @ 12:08am
Posts: 10