Difference between revisions of "Portal:AI"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Qazaaq
imported>Qazaaq
(better)
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
__NOTOC__ __NOEDITSECTION__
<div id="esstyle">
<div id="esstyle">
<h2 class="header">The Scripting Portal</h2>
<h2 class="header">The AI Portal</h2>
{{Portal:AI/Description}}
{{Portal:AI/Description}}
</div>
</div>
Line 12: Line 12:
<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle" style="width:333px;float:right;">
<h2 class="header">Things you can do</h2>
<h2 class="header">Things you can do</h2>
*Rewrite the [[Horse for Sale Tutorial]]
*Rewrite the [[Rent A Room Tutorial]]
*Rewrite the [[NPCs At War Tutorial]]
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle" style="width:333px;float:right;">
<h2 class="header">Getting Started</h2>
<h2 class="header">Getting Started</h2>
*[[Dialogue Tutorial]]
*[[Basic NPC Creation Tutorial]]
*[[Basic NPC Patrols Tutorial]]
*[[A beginner's guide, lesson 6 - Quest Dialogue]]
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle" style="width:333px;float:right;">
<h2 class="header">Related Pages</h2>
<h2 class="header">Related Pages</h2>
*[[:Category:Packages|Packages]]
*[[:Category:Dialogue|Dialogue]]
*[[:Category:Combat|Combat]]
*[[Actors and Animations]]
*[[How can I conditionalize dialogue on the sum of two variables, or compare one variable against another?|Advanced Dialogue Conditions]]
*[[How can I use one travel package to move an actor to multiple locations?|One travel package for multiple locations]]
*[[How do you set up a scripted conversation between two or more NPCs?|Scripted Conversation between NPCs]]
*[[NPCs, Horses, and you...]]
</div>
</div>


<div id="esstyle" style="width:333px;float:left;">
<div id="esstyle" style="width:333px;float:left;">
<h2 class="header">Tutorials</h2>
<h2 class="header">Tutorials</h2>
*[[Basic NPC Patrols Tutorial]]
*[[My First Shop]]
*[[Audio Settings For Dialogue Video Tutorial]]
*[[Dialogue Tutorial]]
*[[Fix dialogues in localized non english versions]]
*[[Removing default dialog tutorial]]
*[[Unclean Dialogue]]
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle" style="width:333px;float:right;">
<h2 class="header">Troubleshooting</h2>
*[[TES_Construction_Set#The Construction Set v1.0|Generate lip sync files with the CS v1.0]]
*[[Fixing the AddTopic Bug]]
*[[Common Mistakes]]
*[[Performance Problems]]
*[[Obscure Bugs]]
*[[I Do Not Have A Greeting Text|I DO NOT HAVE A GREETING]]
</div>
<div id="esstyle" style="width:333px;float:left;">
<h2 class="header">Tools</h2>
<h2 class="header">Tools</h2>
*[[Audacity]]
*[[MP3 Conversion Batch-File]]
*[[TES4Gecko]]
</div>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div style="clear:both"></div>
<h2 class="header">Troubleshooting</h2>
</div>


<div id="esstyle" style="width:333px;float:right;">
<div id="esstyle">
<h2 class="header">Related Portals</h2>
<h2 class="header">Related Portals</h2>
{|width="330" style="border:none;"
{|width="666" style="border:none;"
|width="165"|
|width="72"|
|
*[[Portal:Quests]]
*[[Portal:Quests]]
|width="165"|
|
*[[Portal:Scripting]]
*[[Portal:Scripting]]
|
*[[Portal:Building and Editing]]
|}
|}
</div>
</div>
Line 47: Line 83:


[[Category: Actor Behavior]]
[[Category: Actor Behavior]]
<!-- to make sure the edit buttons don't float through the article -->
<div style="clear:both"></div>

Revision as of 19:37, 21 January 2008

The AI Portal

AI or artificial intelligence is the part of modding that controls what actors do. It can be one of the most easy parts, but at the same time it's one of the aspects that requires a great deal of testing and tweaking to get right. In Oblivion the behavior of actors is controlled by the actor's active package. The current time and conditions on the actor's packages control which package becomes active. Packages can be influenced by scripts in various ways.

Featured

Basic NPC Patrols Tutorial

Patrols can be a tremendous boon when trying to make an area feel more lifelike. This tutorial will share a technique for quickly creating a very basic two-point ("ping-pong") patrol and getting it in-game. The user should have a basic understanding of NPC, package, and pathgrid editing with the CS.

The very first thing we want to do is create an NPC to put these packages on. Open the NPC "BanditMeleeMale2" and give it the new ID "MyPatrolTemplate01". More on why we chose this ID later. Open the AI panel on this new NPC. We can delete the standard bandit packages, but it's a good practice to leave a basic wander at the bottom of every NPC's package stack as a failsafe. Go ahead and remove BanditSleep4x4 and BanditGruntWanderExterior now.

Things you can do