Difference between revisions of "Portal:AI"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(adding All Portals link, rearranging things)
m (Reverted edits by 107.123.5.60 (talk) to last revision by [[User:imported>Clearance|imported>Clearance]])
Tag: Rollback
 
(9 intermediate revisions by 6 users not shown)
Line 28: Line 28:


<h2 class="header">Related Pages</h2>
<h2 class="header">Related Pages</h2>
*[[:Category:Packages|Packages]]
*[[AI Package|Packages]]
*[[:Category:Dialogue|Dialogue]]
*[[:Category:Dialogue|Dialogue]]
*[[:Category:Combat|Combat]]
*[[:Category:Combat|Combat]]<!--
*[[Actors and Animations]]
*[[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 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 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]]
*[[How do you set up a scripted conversation between two or more NPCs?|Scripted Conversation between NPCs]]
*[[NPCs, Horses, and you...]]
*[[NPCs, Horses, and you...]]
*[[Creating Dead Actors]]
</div>
</div>
| width=1em | &nbsp;&nbsp;
| width=1em | &nbsp;&nbsp;
Line 49: Line 50:
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">


<div id="esstyle" style="width:auto;padding-bottom:0.5em;">
<h2 class="header">Things you can do</h2>
<h2 class="header">Things you can do</h2>
*Give feedback about this portal on [[:{{NAMESPACE}} talk:{{PAGENAME}}|it's TALK page]]!
*Give feedback about this portal on [[:{{NAMESPACE}} talk:{{PAGENAME}}|its TALK page]]!
*Rewrite the [[Horse for Sale Tutorial]]
*Rewrite the [[Horse for Sale Tutorial]]
*Rewrite the [[Rent A Room Tutorial]]
*Rewrite the [[NPCs At War Tutorial]]
*Rewrite the [[NPCs At War Tutorial]]
*Write a tutorial to make a companion
*Write a tutorial to make a companion
</div>
</div>
<div id="esstyle" style="width:auto;padding-bottom:0.5em;">


<h2 class="header">Tools</h2>
<h2 class="header">Tools</h2>
Line 88: Line 89:
|}
|}
<div style="clear:both"></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>
<div id="esstyle" style="width:auto;text-align:center;padding:1em;margin-bottom:0;">[[Portal:Contents/Portals|All Portals]]</div>
[[Category: Actor Behavior]]
[[Category: Actor Behavior]]

Latest revision as of 09:58, 20 October 2023

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