Jump to content

NPC ai packages going bonkers


Tangyboxhead

Recommended 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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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