Jump to content

Photo

NPC ai packages going bonkers

help please with ai packages

  • Please log in to reply
11 replies to this topic

#1
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

Hello to everyone. Today I have a bit of problems with AI packages for my Npc. The biggest problem is that the Package won't terminate when it's schedual is up. Meaning Its for 12 to 4, but its 5 and the pack is still on. Another one is that when they reach their furnature, they use it for like 5 seconds when for 2 hours needed.

 

Packs used. Eat, Sandbox, sleep (Sleep has no problems). And when in combat, all of them freez up like they are watching, even when its done. Causing them to be immune to nonvats gernades.


Edited by Tangyboxhead, 25 September 2013 - 12:31 PM.


#2
pkleiss

pkleiss

    Pseudo Supreme Being

  • Members
  • PipPipPipPip
  • 1,496 posts

1) To use furniture, try a travel package.

2) If a package won't end, check your flags: Must Complete (among other reasons) can keep a package from ending.

3) The freezing in combat can also be due to incorrect flag settings or possible navmesh issues.

4) Packages are chosen from the top down. It's possible another package, higher in the list, is being chosen over the one you want, if the conditions aren't set just right.

5) Screen shots of the important info from the packages would really help in these types of cases. It's hard to tell just what is set and what isn't from a brief description. There are so many variables to AI packages.



#3
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

ALrigt, thank you, I will take a few pics and post. You've been very helpful.



#4
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

Umya_zps49fea0ca.png

 

Pic for ai packs. And Navmesh is Fine



#5
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts
  • Now NPC wotn sto psleeping......

EDIT: ALso NPC was at mechanic, now back to vault dweller, lemme seeif fix


Edited by Tangyboxhead, 26 September 2013 - 12:40 AM.


#6
pkleiss

pkleiss

    Pseudo Supreme Being

  • Members
  • PipPipPipPip
  • 1,496 posts

I really wanted to see the data tabs (package default tab, flags, schedule, conditions) of the package forms, not the list of partial package names from the NPC form. Still, I can glean a bit from this.

 

First off, you only need 1 sandbox package and it should be listed last and have no time/duration settings. This will make it the default package that will be chosen when no other package works. You need a default package or your NPCs can get stuck doing nothing.

 

Explain to me why you have three sandbox packages in a row: from 5-7, 7-10 & 10-12? Aren't they all the same? Maybe one is your use furniture package???

 

Regardless, you should start by removing all but two packages, the sleep and default sandbox - in that order. Get those working properly before adding, let's say, the first eat package to the top of the list. Get those three working, then add your second eat package (under the first), and so on. Again, to use furniture, you'll want a travel package with a must reach location flag.



#7
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

I used the Three sandboxes so that the NPC uses only 3 furnitures, not all the stools. Because I want her to be a maintenance worker and use wall-repair, but if theres only one Package she will use all of the furnitures

 

The project is quite big, 15 NPC's . I also deleted her and gave up, so let me repeat what I got from this. You want me to ad a sandbox to enable the ability to use furniture, then use travels to use the selected furniture? and Have 2 eat packs for eating and a sleep.

 

I understand all of this, but I'm also getting something about schedualed time not allowed?

 

Thank you, I will try this.

 

EDIt: found out if NPC is givin a race of none, Geck crashes. Geck seems to only like white people )=

Edit two:  Alright I got the sleep pack working right,It took a while since I didn't see that the Sanbox had to be last.


Edited by Tangyboxhead, 26 September 2013 - 12:38 PM.


#8
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

Gosh dangit Now sleep pack wont termiante



#9
Tangyboxhead

Tangyboxhead

    Enthusiast

  • Members
  • PipPip
  • 147 posts

Fixed



#10
pkleiss

pkleiss

    Pseudo Supreme Being

  • Members
  • PipPipPipPip
  • 1,496 posts

You don't need multiple packages to use specific furniture. You can control all that by ownership. Just set the ownership of the furniture/idle markers to the NPC you want to exclusively use them. If you don't want an NPC to use an idle/furniture just set it's ownership to a faction that the the NPC doesn't belong (like the player, or one you make up).

 

If you only want to use three specific furnitures, you can also try using a patrol package with the three furniture markers as the patrol points. Using a patrol package will require that the NPC use these furnitures in a specific order for a random time, not random furniture for a specific time.

 

However, if you want the NPC to use one furniture marker for 2 hours and then another for two hours and then another for two hours, you should use three travel packages instead of three sandbox.







Also tagged with one or more of these keywords: help, please, with, ai, packages

Page loaded in: 1.069 seconds