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
jack cloudy
post Jul 13 2006, 08:46 AM
Post #2


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



Ahem, I've tried a few things without much luck but I won't give up yet. Anyway, to answer Toroabok's question, here's the current idea for the mod.

The Mod:

When going to Seyda Neen, the player (known as PC from now on) might see a shack behind the lighthouse. Entering that shack brings the PC in contact with an angry Dremora Lord who is a servant of a Khajiit, Ro-El the Wacky.

Said Dremora is willing to transport the PC to 'the path that is no path' so said PC can drag Ro-El back to the shack. (The Dremora really doesn't like cleaning and would appreciate it if this Ro-El came to send him back to Oblivion.)

After passing the path, the PC arrives on an isolated island far away from Vvardenfell. On the island will be a couple of ruins, some more things and a castle that is under siege by the local wildlife. Said castle is held by a mercenary gang and the PC can get some quests from the self-appointed leader.

And Ro-El? Oh, he's around somewhere.


Edit: I now believe that the guard AI is hidden somewhere within the main code. I'll just make them into guards and customize their stats, skills and dialogue.

This post has been edited by jack cloudy: Jul 13 2006, 08:54 AM


--------------------
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
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 20th June 2025 - 11:38 AM