Jump to content

AIPackage Help needed and some other Questions


unperfek7

Recommended Posts

Im working on an NPC but I dont get it with these packages.... basically I want him to do these things in this order

 

00:00 - 06:00 Sleep

06:00 - 08:00 Stay at Home ( means - hang around IN his apartment and nowhere else )

08:00 - 10:00 Eat

10:00 - 14:00 Sandbox

14:00 - 15:00 Eat

15:00 - 20:00 Sandbox

20:00 - 21:00 Eat

21:00 - 00:00 Go home and stay there

 

I made his home in a new Cell but I want to add it to the Underworld Map....but then , how do I tell him to stay just in his apartment and nowhere else in the underworld map ?

 

When I lock the door to his apartment with a key and add that key to his inventory , does he automacially use the key when he needs to go through the door ? like , does he even recognice that he got the key to it ?

 

And how do I make him to lock his door for the time he sleeps (00:00 - 06:00) ? and open it when he wakes up ? like in Rivet City and that....

Link to comment
Share on other sites

In the Sandbox AI Package, make sure you untick "wandering". When i had that ticked mine would regularly wander out of their buildings as the door was within the radius i'd set.
Link to comment
Share on other sites

When you setup the sandbox or any of the packages you can set it specifically for the new cell that you make. You can also use conditions to guide the specifics if need be. To get the door thing you can set the options on the flag page to lock and unlock doors. When you have the door placed in the map you can either give him owenership or link it to the npc. Then when he performs the sleep package he'll unlock/lock the doors as you specify on the flag's page.
Link to comment
Share on other sites

Ok it works ( almost )

 

I got him to do this now:

 

0-6 Sleep

6-8 Stay at Home

8-10 Eat

10-20 Patrol

20-22 Eat

22-0 Stay Home ( but HERE is a problem....I made him a new apartment in the underworld right UNDER the 9th Circle Bar, and there is the xmarker..and now , when he gets out of the ninth circle he stays at the TOP. because the radius of the xmarker is not very big. but now when I wait 1 hour he gets in his apartment.....but that sucks I want to watch him going in his apartment :/. I cant make his xmarker bigger because then he wouldnt stay at home. so is there a solution for this ? I hope you understand my problem....See Picture !!!! )

 

EDIT: omg...wtf is that it looks like it works but somehow not. he just went out of the ninth circle and to back to his apartment and then I loaded the savegame again and now it doesnt work...wwtf ? sleep.gif

 

another problem -> 8-10 eat does not work, he doesnt go to the bar. he just hangs around at home again....[censored] bethesda with your [censored] bugged AI packages sleep.gif screw you !

 

http://img9.myimg.de/balbalbalalbld54d1_thumb.jpg

 

Also...Ive played around with the Lock at Location and Lock at Start of Package ect....it seems that when I check the flag "Lock Door at start of package" ( to lock the door to his apartment )at the 8-10 Eat package, he doesnt go out of his apartment...(but he got the key) he just stands at 1 point. why that ?

Link to comment
Share on other sites

Just calm down and look over stuff. I was the same way when I first started with AI packages. If you are using flags such as "Continue when PC near" then the actor will continue their current package if you are around.

 

Lets say you have that flag activated for eating. You stand there waiting for him to get up and leave. He will not so long as you are around.

 

Packages are also evaluated in the order they are listed in the actors ai profile. So if you don't have them sorted, it might take longer for your actor to move to the next one.

 

Overall, ditch all the flags you have except for fallout behavior. Then test your packages and add flags back as you need them. The best way to test them is adding 1 thing at a time. Once you know 1 works add the next. So as soon as a problem occurs you know what is specifically causing it.

Link to comment
Share on other sites

I've deleted all AI packages except for the one "Eat"....and only the Fallour Behavior Flag is ticked.....he still refuses to go in the 9th Circle Bar at 8am-10am..... the thing is, that he actually DOES it at 8pm-10pm

 

so wtf?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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