Highwaymen Problem

Post » Thu Apr 29, 2010 1:33 am

I'm new at this and I'm trying to make the highwaymen not initiate conversation with the player on sight like they do. Don't ask why.

Anyway, I deleted the Ambush AI package in the highwaymen's AI, and I got them (basically by destroying their script) to not ask the player for gold. However, for some reason they still approach you on sight and force conversation, though they don't ask for gold, and are non-hostile.

So, is there something I'm missing here because I don't see why they are still approaching me when I deleted the Ambush package.
User avatar
Joey Avelar
 
Posts: 3370
Joined: Sat Aug 11, 2007 11:11 am

Post » Wed Apr 28, 2010 10:06 pm

I'm new at this and I'm trying to make the highwaymen not initiate conversation with the player on sight like they do. Don't ask why.

Anyway, I deleted the Ambush AI package in the highwaymen's AI, and I got them (basically by destroying their script) to not ask the player for gold. However, for some reason they still approach you on sight and force conversation, though they don't ask for gold, and are non-hostile.

So, is there something I'm missing here because I don't see why they are still approaching me when I deleted the Ambush package.

The problem is not the AI, it's the script attached directly to the NPC. If you open one of the Highwaymen in the CS and look in the box just below the Name field (not the ID), you will see a box with the BanditRobberSCRIPT selected. Click on this box and scroll all the way to the top of the script list and select None. Your Highwayman should now attack the Player instead of trying to talk.
User avatar
N3T4
 
Posts: 3428
Joined: Wed Aug 08, 2007 8:36 pm

Post » Thu Apr 29, 2010 8:25 am

What I'm trying to do is make the bandits oblivious to the player. So I put their Aggression to 5. (this is all something wierd I'm doing for myself, its because I think it's dumb that the bandits are like, "Hey, there's a guy, let's kill him!"

I had already figured out how to make them not ask for gold. They don't ask for gold anymore. I got that result by removing the script, like you said.

However, the bandit still walks up to the player and initiates conversation, as in it forces the conversation menu. Though, all they says is a generic greeting, like "Hello."

I don't want the bandit to approach and start conversation. So I deleted the AI package "Ambush" and all the bandit is left with is a "Wander" package. So it doesn't make sense to me why the bandit is functioning like he is still following the Ambush package.

Okay, I told the bandit in-game to evaluate his package and he stopped walking toward me and picked wander. So... how do I make this happen automatically, because the dude doesn't have ambush in his package list, it's just he was already on it from the start so...yeah.

Also, if I put the line "evaluatepackage" into the bandits' script, which has the condition OnLoad, it doesn't do anything. Even if I stand a few hundred feet away and Wait for three hours, which should cause the bandit to re-evaluate his AI package, he doesn't...
User avatar
Lewis Morel
 
Posts: 3431
Joined: Thu Aug 16, 2007 7:40 pm

Post » Wed Apr 28, 2010 6:28 pm

*snip*
I don't want the bandit to approach and start conversation. So I deleted the AI package "Ambush" and all the bandit is left with is a "Wander" package. So it doesn't make sense to me why the bandit is functioning like he is still following the Ambush package.

This is likely because you used an existing save. Try loading a clean save or making a new character and see what happens with it.
User avatar
Marine x
 
Posts: 3327
Joined: Thu Mar 29, 2007 4:54 am


Return to IV - Oblivion