A few small AI package problems, I'm making progress though. -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 11 years ago

I've been experimenting and testing packages these last couple of days. Which has been surprisingly time-consuming and tedious, it's like little change, save, shut down cs, load up oblivion, load unmodded save in modded area, hit "T" wait, quit, repeat. Anyway... I've started with my priestess and priest. They are both supposed to have complicated behavior and are the important people who run the important building everyone has to visit. Theirs is the only communal building whose function is fixed to a strict schedule. (Stores don't have mass) :D The problem I have with the little church is I can't figure out how to make a group of people all go in and use the pews at the same time, without making individual packages centered around each pew. Basically the church is supposed to have 3, 2 hour masses every weekday, with people arriving and genuflecting the hour before the mass. I made sucessful test packages that basically go like this: Use item at--at 8am--near reference (a facing xmarker)--genuflect token, 1 count. travel- 8am for 1 hour--near reference-the pew (one of eight) Use item at--9am for 1 hour--near reference-the pew, ponder token 1, 1 count use item at--10am for 1 hour--same as previous package. What I would like is a general package that I can give people where after they've gone to the church and genuflected, they find a seat on their own. Then I'll make general use item at packages, followed by another seat finding package, then the last use item at package, and the last find seat package. This way I don't end up with what I have: praymon8left1 praymon8right1 praymon8 right\left 2,3,4 praymon9 useitemat right\left 1,2,3,4 praymon10 useitemat right\left 1,2,3,4 You can see how this starts to be a lot (a lot) of packages. As opposed to praymon8 find seat, praymon8 use , find seat, use. The find package has come the closest (I've also tried travel, use item at and ambush), but I don't think I'm using it properly. The people all come in, look for a pew (furniturecathedralpew is the target) find one, touch it with their hands then sit, except they tend to sit sideways in the air in front of where they should be sitting. Then they get up and start wondering. I know I'm overlooking something obvious. I feel like I'm close, but am missing something. The second problem I'm having is with the priestess. Her behavior is pretty much set. She wakes up, prays for an hour, eats for 2, goes to the church, genuflects, blesses herself, conducts mass (use item at--preach token, travel, use, travel), then leaves the church for the bakery. At the bakery she uses the give item at token in front of the merchant (which makes it look like shes paying for something) then sits down for a drink. The problem is instead of drinking like she is supposed to she looks like she is yawning. I know the package is set up properly, I think the problem is that she also has eat packages. I added them after I made the work related packages, and the first time I play tested after adding them it was the eat packages that were wierd. After a little while it became the drink (use item at) package. Maybe I am doing somehthing wrong? Or npcs aren't supposed to have both eating and drinking behavior? Then she conducts another mass, leaves to the inn, pays, eats, conducts another mass, goes and bathes and then sleeps. The last problem I'm having is with the cast magic package. I've set up a chain of events where my priest leaves the city, goes to the stable, gets on a horse and rides to a fort down the road. He gets off the horse, goes inside the fort, then to its roof. He is then supposed to cast a spell (a new spell I made called love to you all, which is an area heal spell) he doesn't. I looked at the arcane university at the training rooms and it looks like instead of cast magic they have use item at packages, where the item is a magic scroll. So I made a new scroll with a new enchantment. Instead of casting a spell he just read the scroll like it was a book. Then the game crashed. Again, I feel like I'm doing something wrong here. After the spell (I removed the package) he conducts mass like the priestess and returns to the city. One last little thing, is there a way to add and remove clothes from npcs? I have 4 bathkeepers (2 in the public baths, 2 in the royal baths) who don't wear clothes. They aren't nude and I don't want nudity but fully clothed people going into shower stalls and swimming in the pools looks wierd. And half naked bathkeepers walking the streets also looks odd. It's so cool to watch my little guys (and gals) walk around the city though. :cya: I made you :cya:. Thats right you walk to that bakery. Oh he got on the horse at 8 just like hes supposed to, excellent.




Guest

I didn't make it!

0 XP

 
#2 11 years ago

OK I've more or less figured out a solution to my first problem, though there is a new snag. After they genuflect at the xmarker I use an "eat" package with no idle anims and skip fallout behavior checked. That provides the behavior I was looking for. The only problem is that after the following ponder package, when the new eat package is selected, the npcs wander to find a seat (which is fine for the first package, but wierd in the second) instead of just sitting at the seat they were just sitting in. I tried making the location "near current location" setting its value to 1, but they still wonder. I haven't had any luck with the magic casting though. And if worse comes to worse, I'll just see if making a aaadrinktoken will make my npcs look like they are drinking. Any help on any of these problems would be appreciated. Thank you.




Guest

I didn't make it!

0 XP

 
#3 11 years ago

I realized I was making a mistake with the "drink" package. I had to make the item used the bottle of ale, not the middle class mug. I'm still hoping for solutions to some of the other problems, but I've kind of put them aside for the moment. I can just swap out the details or add or remove things from the other packages later, and I don't want to waste any more time when I have basically functional behavior.




Badha1rday

Nature's best screw up.

132,255 XP

27th July 2005

0 Uploads

12,663 Posts

0 Threads

#4 11 years ago

Is that a triple post I see?

It would be good if it works ;)




Guest

I didn't make it!

0 XP

 
#5 11 years ago

OK I've made this video to show the progress I've made, as well as demonstrate the problems I'm having. The church is especially wierd because it is the first time I am testing a full proper mass, as it will look in the new release. As opposed to what I was doing, which was using test npcs\packages directly outside the church. The npcs at the first mass are regular npcs coming to the church from their native positions throughout the city. Mainly the video centers around the actions of my priestess Dhola Bella. Her (corrected) drinking behavior isn't shown because of problems in the church. Again this video is to kind of show that, yes I am making progress, though I am having a few problems that I obviously need help with. :D http://youtube.com/watch?v=m_rHUj_AWcc




Guest

I didn't make it!

0 XP

 
#6 11 years ago

I can't seem to find any way of getting the behavior I want. When they all arrive some just stand there, others wander... I really need some help with this. I can't figure out what I'm doing wrong. I'm open to any and all ideas. Please help, thank you.




Guest

I didn't make it!

0 XP

 
#7 11 years ago

sorry, i dont know. but i know you should be posting in bethesda's offical forums instead, methinks. theres other places that would help you more, like the oblivion editing wiki forums.

Bethesda Game Studios Forums (in the obliv mods forums)

and probably Main Page - The Elder Scrolls Construction Set Wiki

theres a forum in there somewheres