User talk:Sockmonkeh

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

We need a good tutorial somewhere on here for creating and adding a custom NPC fromt he beginning to the end.Sockmonkeh

What are you looking for? It would be simple to write a quick tutorial on creating an NPC and setting up race, appearance, and some simple AI packages. If you're looking to create unique dialogue that could be a little more involved.JBurgess

I'm just looking for something to hold my hand through the process of making an NPC that roams the country-side, fighting bandits or whatever if he encounters them. Just something real basic for someone who hasn't even used the CS. Eventually, I'd like to make such a wandering NPC that can follow the player upon request and perhaps even trade with the player.Sockmonkeh

I stayed up and slaved all night, figured it out.[edit source]

Well, it's not much but I have a custom NPC named Winter Schultz living in a new house in the Imperial City Waterfront area. All he does right now is hang around his house, go out to lunch, wander around the docks, and goes home to sleep, but I'm gonna' learn all the scripting, AI packages, and conversation nonsense next. I may even put out a small tutorial to help people in my shoes.Sockmonkeh 12:21, 4 April 2006 (EDT)

Glad you were able to figure it out. Maybe the new tutorial will still be able to help you out somewhat.JBurgess 21:03, 4 April 2006 (EDT) 21:03, 4 April 2006 (EDT)

I now have him wait around and do what he already did in his house until the players comes and talks to him. At that point, he gives the player a quest that cannot be completely called "Find Winter Schultz" and tells the player to come find him if he ever needs a hand. The quest marker points to Winter so you can always track him down. He then begins making use of his script.

The first thing he does is decide whether he wants to go to a dungeon or a city. There is a 20% chance he will want to go to a dungeon. When deciding what dungeon or city to go to, he bases his choice off of a random percentage of the distance to each possibility, chosing the smallest result. He is then loaded up with a Travel package to take him all the way there, allowing him to fight things on the way if he wants to.

I'm now adding functionality for the player to speak to him at any point and ask him to group up or go away. The next step is to have him do things when he reaches he destinations. For dungeons that means a little dungeon crawling and for cities that means rest, eating, and hanging around town for a while. I will eventually be messing with his CombatAI and once I have completed him I will add another guy who lives in Skingrad, making them interact if they encounter each other. Sockmonkeh 11:50, 5 April 2006 (EDT)

Oh, I'll be throwing this whole process into a tutorial once it's completed so that anyone can easily create their own little wanderers like this. Mine are based on my roomates. :) Sockmonkeh 11:53, 5 April 2006 (EDT)