Jump to content

Creature Guard problem


MrSly

Recommended Posts

I've been working on getting a Minotaur to guard a shopkeepers shop. All that I've been able to do is get the AI to function as the Minotaur comes to work, stands in his spot all day, and wander at night. I've created a faction for the owner and added the minotaur to the owners faction, but still doesn't work. Here are the problems I face:

 

* When I steal something, and the owner yells at me, the minotaur doesn't do anything at all. (I set his Aggresion to 5 and Responsibility to 100)

 

* When I hit the minotuar, the shop owner attacks the minotaur, too. (Tried changing type from creature to humanoid and giant) (and put them both in a new common faction)

 

* I have the minotaur in a corner, to watch the shop, but he always faces the corner, never turns around. (no idea how to get him to face the right direction)

 

Any help with the above would be appreciated!

Link to comment
Share on other sites

I've been working on getting a Minotaur to guard a shopkeepers shop. All that I've been able to do is get the AI to function as the Minotaur comes to work, stands in his spot all day, and wander at night. I've created a faction for the owner and added the minotaur to the owners faction, but still doesn't work. Here are the problems I face:

 

* When I steal something, and the owner yells at me, the minotaur doesn't do anything at all. (I set his Aggresion to 5 and Responsibility to 100)

 

* When I hit the minotuar, the shop owner attacks the minotaur, too. (Tried changing type from creature to humanoid and giant) (and put them both in a new common faction)

 

* I have the minotaur in a corner, to watch the shop, but he always faces the corner, never turns around. (no idea how to get him to face the right direction)

 

Any help with the above would be appreciated!

Just because the two are in the same faction doesn't mean that they will help eachother. Make sure their dispositions toward eachother are at 100, no less. Making the faction have a disposition modifier within the faction (faction to faction) of 200 should account for any negatives they might have. Make the Minotaur have an aggression of 10, and confidence above 60. Responsibility on both should also be high. You should also make sure that the player is getting flagged as a criminal when stealing (may be changed by having stealing mods active) since the minotaur may not assist if you are still lawful. You should also make sure that you do not have any evil flagged factions on the minotaur or the shop keeper.

 

The shopkeeper attacking the minotaur suggests that something is wrong with their dispositions.

Link to comment
Share on other sites

Thank you so much! That solved the shopkeeper attacking the minotaur! One down!

 

I've been monkeying with all of their disposition settings for the past few hours. I put another shopkeeper in the shop now, just for testing. I have it so that if I attack one shopkeeper, the other will attack me, too. Just what I wanted. But the minotaur still won't do anything. And he still faces the corner all the time. I'm trying to:

 

* Get the minotaur to attack me if I steal anything (and get caught)

 

* Attack me if I attack either shopkeeper

 

* Face away from the corner

 

I'm guessing that the first two are actually ONE setting, just two outcomes.

Link to comment
Share on other sites

I had an idea, and added the BrumaGuard faction to the minotaur. That didn't work, but I was wondering if maybe I was on the right track with adding factions? I can't see anything that is different about the guards that they respond to cries for help. I'm going to try changing the guard to a Nord, just to see if that makes any difference.

 

Does anyone know if this action is a function of a faction?

Link to comment
Share on other sites

I had an idea, and added the BrumaGuard faction to the minotaur. That didn't work, but I was wondering if maybe I was on the right track with adding factions? I can't see anything that is different about the guards that they respond to cries for help. I'm going to try changing the guard to a Nord, just to see if that makes any difference.

 

Does anyone know if this action is a function of a faction?

Guards are defined by class. Creatures cannot have a class. However that dynamic should not be the situation here since when you steal something, you will get seen by the shopkeeper, who will attack you. When the shopkeeper attacks you, the minotaur, having high faction with the shopkeeper should assist the shopkeeper. Or atleast, that's how it should go. The minotaur will never react directly to you stealing an item because the minotaur is a creature, and thus has a simpler AI.

 

At this point, your best bet might be to just script the behavior and be done with it. If the player has stolen something, you can check if the player is within the line of sight of the minotaur, and if the player is detected, and force the minotaur to attack the player.

Link to comment
Share on other sites

Thanks for the information and ideas Vagrant0!

 

Yeah, I thought your idea of having a faction with a +200 on it would put the minotaur on the same side as the shopkeeper. I changed it to +300 to see if that would help. I attack the shopkeeper and the minotaur just stands there.

 

Scripting sounds like the answer. However, I'm VERY new to scripting, I can modify a script a LITTLE, wouldn't have any idea how to do one on my own. Is there anyplace I can find a script like the one I'd need for this application?

 

It would have to handle noticing stealing, or attacking the shopkeeper (or maybe the shopkeeper faction?). I'm guessing these things would be different.

 

Would it be possible (easier) to check if the shopkeeper was attacking the player, and then force the minotaur to attack as well?

 

I did notice that if the player is caught stealing something of very low value, the shopkeeper just yells for help, but doesn't attack the player. May want the minotaur to intercede at this point... Maybe a combination of the two approaches to handle both issues may be the best.

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...