Welcome Guest ( Log In | Register )

> A question regarding AI for morrowind, how to make NPCs attack creatures.
jack cloudy
post Jul 11 2006, 02:41 PM
Post #1


Master
Group Icon
Joined: 11-February 06
From: In a cold place.



Title says it all. I want to learn how to mod so I'v taken on a rather ambitious idea. Anyway, my question regarding AI.

What I want to do is make certain NPCs attack creatures on sight, similar to what a guard does when one of those annoying Cliffracers follows you into town. The only problem is, I have no idea what to do.

According to the help file of the Construction set, an NPC attacks creatures automatically if they're of the class 'guard'. Except, my NPCs are best described as mercenaries so I don't want them to arrest the player like a guard would for all sorts of crimes.

Does anyone know what makes a guard attack creatures? Any help would be very appreciated.


--------------------
Fabulous hairneedle attack! I'm gonna be bald before I hit twenty.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Ibis
post Jul 12 2006, 08:41 AM
Post #2


Mouth
Group Icon
Joined: 30-March 06
From: Florida Moon-filled Sleepless Nights



Jack why don't you have a look at the guard script and just copy the part that combats invading creatures into a script for your mercenaries. Don't include any part about arresting people or other guard duties. Just make your own unique Mercenary Script of the part you want. Might work.

Yeh but like the fish said ... go into your NPCs AI button and make the fight level high and the run level nonexistent and they will fight anything. Make hello low and confidence high. That should work.

This post has been edited by Ibis: Jul 12 2006, 08:43 AM


--------------------
IPB Image <--- Moon Cookiies for all who join @ TESFU

User is offlineProfile CardPM
Go to the top of the page
+Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 2nd August 2025 - 02:35 PM