Difference between revisions of "Portal:AI"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(making the column spacing rigid instead of fluid)
imported>DragoonWraith
(adding All Portals link, rearranging things)
Line 27: Line 27:
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">


<h2 class="header">Tools</h2>
<h2 class="header">Related Pages</h2>
*[[Audacity]]
*[[:Category:Packages|Packages]]
*[[MP3 Conversion Batch-File]]
*[[:Category:Dialogue|Dialogue]]
*[[TES4Gecko]]
*[[: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>
| width=1em | &nbsp;&nbsp;
| width=1em | &nbsp;&nbsp;
| style="width:60%;vertical-align:top;" |<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
| style="width:60%;vertical-align:top;" |<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<h2 class="header">Things you can do</h2>
*Give feedback about this portal on [[:{{NAMESPACE}} talk:{{PAGENAME}}|it's TALK page]]!
*Rewrite the [[Horse for Sale Tutorial]]
*Rewrite the [[Rent A Room Tutorial]]
*Rewrite the [[NPCs At War Tutorial]]
*Write a tutorial to make a companion
</div>
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">


<h2 class="header">Getting Started</h2>
<h2 class="header">Getting Started</h2>
Line 53: Line 49:
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">


<h2 class="header">Related Pages</h2>
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
*[[:Category:Packages|Packages]]
<h2 class="header">Things you can do</h2>
*[[:Category:Dialogue|Dialogue]]
*Give feedback about this portal on [[:{{NAMESPACE}} talk:{{PAGENAME}}|it's TALK page]]!
*[[:Category:Combat|Combat]]
*Rewrite the [[Horse for Sale Tutorial]]
*[[Actors and Animations]]
*Rewrite the [[Rent A Room Tutorial]]
*[[How can I conditionalize dialogue on the sum of two variables, or compare one variable against another?|Advanced Dialogue Conditions]]
*Rewrite the [[NPCs At War Tutorial]]
*[[How can I use one travel package to move an actor to multiple locations?|One travel package for multiple locations]]
*Write a tutorial to make a companion
*[[How do you set up a scripted conversation between two or more NPCs?|Scripted Conversation between NPCs]]
</div>
*[[NPCs, Horses, and you...]]
 
<h2 class="header">Tools</h2>
*[[Audacity]]
*[[MP3 Conversion Batch-File]]
*[[TES4Gecko]]
</div>
</div>


Line 74: Line 74:
*[[I Do Not Have A Greeting Text|I DO NOT HAVE A GREETING]]
*[[I Do Not Have A Greeting Text|I DO NOT HAVE A GREETING]]
</div>
</div>
|}
<div style="clear:both"></div>


<div id="esstyle">
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<h2 class="header">Related Portals</h2>
<h2 class="header">Related Portals</h2>
{|width="99%" style="border:none;"
{|width="99%" style="border:none;"
Line 88: Line 86:
|}
|}
</div>
</div>
|}
<div style="clear:both"></div>
<div id="esstyle" style="width:auto;text-align:center;padding:1em;margin-bottom:0;">[[Portal:Contents|All Portals]]</div>
[[Category: Actor Behavior]]
[[Category: Actor Behavior]]

Revision as of 01:53, 25 April 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

Tools