Difference between revisions of "Portal:AI"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(er. adding div back, in the correct place this time.)
imported>DragoonWraith
(commenting out Actors and Animations (dead link))
Line 30: Line 30:
*[[:Category:Packages|Packages]]
*[[:Category:Packages|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]]

Revision as of 01:57, 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