Jump to content

NPC Ai Deactivated after PC Death


kyd462

Recommended Posts

[sOLVED] :thumbsup:

 

This is very frustrating... I'll try to break it down into steps to understand what's going wrong...

 

 

01. I have placed a Boss NPC in a new WorldSpace

02. The NPC has 3 Ai Packages: 2 are combative, and 1 is a wander

03. I use console > coc to enter the area

04. The Boss works as he's supposed to, (first throwing the 1 grenade in his inventory), and I let him kill my PC

05. The game reloads my last save (OR - I've also chosen "Load" from the main menu)

 

(this is for testing... some people will die in battle, and want to try again, right?)

 

06. I use console > coc to enter the area... again.

07. The Boss throws the one grenade he has in his inventory, then stands still...

08. I approach the Boss and he stands still, even at close range while shooting at him.

09. I Shoot the Boss directly next to him, and he slowly follows me

10. The Boss follows until he is in range of a grenade to pick-up, which he will throw then stand still again.

 

In short... He's supposed to be running all around the arena picking up grenades and throwing them at the PC whether the PC is right next to him, or 2048 units away! It works fine after a fresh launch, but if the PC dies, or the Player Re-Loads, the Ai is broken.

 

I am at a loss for words as to how frustrating this is to me at this point. :dry:

Link to comment
Share on other sites

This is very frustrating... I'll try to break it down into steps to understand what's going wrong...

 

 

01. I have placed a Boss NPC in a new WorldSpace

02. The NPC has 3 Ai Packages: 2 are combative, and 1 is a wander

03. I use console > coc to enter the area

04. The Boss works as he's supposed to, (first throwing the 1 grenade in his inventory), and I let him kill my PC

05. The game reloads my last save (OR - I've also chosen "Load" from the main menu)

 

(this is for testing... some people will die in battle, and want to try again, right?)

 

06. I use console > coc to enter the area... again.

07. The Boss throws the one grenade he has in his inventory, then stands still...

08. I approach the Boss and he stands still, even at close range while shooting at him.

09. I Shoot the Boss directly next to him, and he slowly follows me

10. The Boss follows until he is in range of a grenade to pick-up, which he will throw then stand still again.

 

In short... He's supposed to be running all around the arena picking up grenades and throwing them at the PC whether the PC is right next to him, or 2048 units away! It works fine after a fresh launch, but if the PC dies, or the Player Re-Loads, the Ai is broken.

 

I am at a loss for words as to how frustrating this is to me at this point. :dry:

 

Are you using a script on the NPC or a quest to switch between packages? If you are doing script commands such as EVP too often you can freeze them up

Link to comment
Share on other sites

Are you using a script on the NPC or a quest to switch between packages? If you are doing script commands such as EVP too often you can freeze them up

 

The "Boss" is a Behemoth, and I have the default script attached, (BehemothAchievmentSCRIPT).

 

I gave him a custom Combat Package that prefers Ranged attacks, and I also gave a melee weapon, which he'll use if I get right up in his face and shoot him, but he still wont follow me...

 

I should also mention that I've placed other default (vanilla) creatures in the arena with him, and they all have the same problem when I return after a death/re-load. They only shoot from where they stand, and do not travel anywhere or give chase.

 

[edit] There is also a fully mapped NavMesh, so it's not that.

Link to comment
Share on other sites

Are you using a script on the NPC or a quest to switch between packages? If you are doing script commands such as EVP too often you can freeze them up

 

The "Boss" is a Behemoth, and I have the default script attached, (BehemothAchievmentSCRIPT).

 

I gave him a custom Combat Package that prefers Ranged attacks, and I also gave a melee weapon, which he'll use if I get right up in his face and shoot him, but he still wont follow me...

 

I should also mention that I've placed other default (vanilla) creatures in the arena with him, and they all have the same problem when I return after a death/re-load. They only shoot from where they stand, and do not travel anywhere or give chase.

 

[edit] There is also a fully mapped NavMesh, so it's not that.

 

I've read about problems with navemeshes if the mod doesn't have the esm bit set. I think this describes your problem:

http://forums.bethsoft.com/index.php?/topic/1090167-really-annoying-ai-package-issue/page__p__15898460__hl__navmesh%20problem__fromsearch__1entry15898460

Link to comment
Share on other sites

I've read about problems with navemeshes if the mod doesn't have the esm bit set. I think this describes your problem:

http://forums.bethsoft.com/index.php?/topic/1090167-really-annoying-ai-package-issue/page__p__15898460__hl__navmesh%20problem__fromsearch__1entry15898460

 

Interesting... Thank you very much for the link! I'll have to make a backup of my .esp and try converting it to an .esm

 

So, just to clarify... The navmesh itself is not fixable; Converting to an .esm is essentially the workaround solution?

 

Whooo... I'm glad it wasn't something I should have foreseen like bad code, messed up packages, or something else.

 

Thank You. :thumbsup:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...