Action<TAgent> | abstract class | IAction<TAgent>, IAction | 9 | Actions and decisions, Docks |
ActionComponent | abstract class | MonoBehaviour, IActionSettings | 9 | Actions and decisions: The settings every action has: |
ActionComponentSet | class | MonoBehaviour | 1 | Actions and decisions: A MonoBehaviour whose child ActionComponents make up one set of choices. |
ActionDecider<TAgent> | class | IActionDecider | 7 | Actions and decisions: Holds the possible targets and the current set (PossibilitySet), and picks the best action. |
ActionFinishedHandler | delegate | | 0 | Callback for an AI action that finished or was cancelled, used by BasicActiveAction.Finished and Cancelled. |
ActionSet<TAgent> | class | | 4 | Actions and decisions: The actions to choose from, split into BaseActions (no target) and TargetActions. |
ActionSettingsUsedHandler | delegate | | 0 | Event handler for an AI action being used, passing the running action. Used by IActionSettings.Used. |
ActionTarget<TAgent> | struct | IActionTarget | 4 | Actions and decisions: A struct: an action, its target (or null) and its score. |
ActiveAgentMoveCloser | class | BasicActiveAgentMoveCloser<AgentMoveCloserSettings> | 0 | Actions and decisions |
ActiveAgentRotateClose | class | BasicActiveAgentMoveCloser<AgentCircleCloserSettings> | 0 | Actions and decisions |
ActiveAttackDirectionReact | class | BasicActiveAction<Agent, AgentAttackDirectionReactSettings> | 1 | Actions and decisions |
ActiveBlockCanceleableWander | class | ActiveWander | 1 | A wander action that cancels itself when the agent's walker is blocked, or when it needs a target and has lost it. |
ActiveCircleReposition | class | BasicActiveAction<Agent, AgentCircleRepositionSettings> | 1 | Actions and decisions |
ActiveCircleTarget | class | BasicActiveAction<Agent, AgentCircleTargetSettings> | 1 | Actions and decisions |
ActiveCrawl | class | BasicActiveAction<Agent, AgentCrawlSettings> | 1 | Actions and decisions |
ActiveDelayEnterSet | class | BasicActiveAction<Agent, AgentDelayEnterSetSettings> | 1 | Actions and decisions |
ActiveDeleted | class | BasicActiveAction<Agent, AgentDeletedSettings> | 1 | Actions and decisions: Destroys the creature's whole entity, through AltaCoroutine.DelayCall. A creature can despawn itself this way. |
ActiveDisabled | class | BasicActiveAction<Agent, AgentDisabledSettings> | 1 | Actions and decisions |
ActiveDistanceFromTarget | class | ActiveNavigation<ActiveDistanceFromTarget, Agent, AgentDistanceFromTargetSettings> | 0 | Navigation action that makes the agent wander relative to its target's ground position, used to keep or gain distance from it. |
ActiveEat | class | BasicActiveAction<IInteractAgent, AgentEatSettings> | 1 | Action where an agent eats its target: it interacts with it, waits Delay, then destroys it. With IsImmediate the target is destroyed at once. |
ActiveFaceTarget | class | BasicActiveAction<Agent, AgentFaceTargetSettings> | 1 | Actions and decisions |
ActiveFollow | class | ActiveNavigation<ActiveFollow, Agent, AgentFollowSettings> | 1 | Navigation action that follows the agent's target until within reach, or gives up when the target gets too far and hasn't hurt the agent enough. |
ActiveIdle | class | BasicActiveAction<Agent, AgentIdleSettings> | 2 | The running idle action for an agent, made from AgentIdleSettings. It waits a random duration and can turn to face or follow the target while it does. |
ActiveInteractApproach | class | ActiveNavigation<ActiveInteractApproach, Agent, AgentInteractApproachSettings> | 1 | Navigation action that walks up to the target and then runs CanReach, or CantReach if the target is too high or low. |
ActiveJumpAt | class | BasicActiveAction<Agent, AgentJumpAtSettings> | 1 | Action where the agent leaps at its target with set velocity and gravity, finishing when it lands. Tells an IJumpAttacker agent it is jumping. |
ActiveNavigation<TThis, TAgent, TSettings> | class | BasicActiveAction<TAgent, TSettings> | 1 | Base for creature actions that walk the agent to its target. Applies speed and acceleration from the settings and finishes when the navigator reaches the target. |
ActiveNest | class | ActiveNavigation<ActiveNest, Agent, AgentNestSettings> | 1 | Night action: the agent walks to the nearest free Nest of its type and sleeps until the time of day passes StartTired. With no nest it wanders. |
ActiveRegainControl | class | BasicActiveAction<Agent, AgentRegainControlSettings> | 1 | Actions and decisions |
ActiveSchmeecheeFlee | class | BasicActiveAction<Schmeechee, SchmeecheeFleeSettings> | 1 | Schmeechee action that runs away from its target until far enough, cancelling if it gets stuck. |
ActiveSchmeecheeFlip | class | BasicActiveAction<Schmeechee, SchmeecheeFlipSettings> | 1 | Schmeechee action that flips it back over when upside down: a pop animation, then an impulse and spin. |
ActiveSchmeecheePlant | class | BasicActiveAction<Schmeechee, SchmeecheePlantSettings> | 2 | Schmeechee action where it buries itself in the ground and sleeps for a while, then pops out. |
ActiveSchmeecheePlay | class | BasicActiveAction<Schmeechee, SchmeecheePlaySettings> | 1 | Schmeechee action where it runs around at random, slowing as its energy runs down, then finishes. |
ActiveSwapActionSet | class | BasicActiveAction<Agent, AgentSwapActionSetSettings> | 2 | Actions and decisions |
ActiveThreaten | class | BasicActiveAction<Agent, AgentThreatenSettings> | 1 | Action where the agent faces and threatens its target. If the target comes too close it finishes and switches to the ChangeTo action set; if it leaves, it cancels. |
ActiveWander | class | ActiveNavigation<ActiveWander, Agent, AgentWanderSettings> | 0 | Navigation action that makes the agent wander, up to HeuristicMaximum. |
Agent | abstract class | Target, IAgentDebugger, ILinkedAgent, +4 more | 30 | Agent: The AI parts run on the server only. |
Agent.ChannelEvent | class | | 2 | A Unity event an agent fires on one hook event channel (by array index in Agent.ChannelEvents). Server-only unless marked as networked. |
Agent<TThis> | abstract class | Agent | 8 | Agent: The AI parts run on the server only. |
AgentAttackDirectionReactSettings | class | RandomTimedActionComponent | 1 | Action component that runs ActiveAttackDirectionReact on a random timer, using an AttackDirectionCoreSettings asset. |
AgentCircleCloserSettings | class | AgentMoveCloserSettings | 1 | Move-closer settings that also circle around the target, run by ActiveAgentRotateClose. |
AgentCircleRepositionSettings | class | TimedActionComponent | 6 | Settings for ActiveCircleReposition: a short sidestep around the target, left or right, by a set angle. |
AgentCircleTargetSettings | class | RandomTimedActionComponent | 3 | Settings for ActiveCircleTarget: the agent circles its target at a set distance on a random timer. |
AgentCrawlSettings | class | RandomTimedActionComponent | 8 | Action settings for a creature crawling over surfaces for a random duration (ActiveCrawl). Sits under an action set on the creature prefab. |
AgentDelayEnterSetSettings | class | ActionComponent | 2 | Settings for ActiveDelayEnterSet: wait a random time, then switch the agent to another action set. |
AgentDeletedSettings | class | ActionComponent | 0 | Settings for ActiveDeleted, an action with no target that destroys the creature's whole entity. Server only; put it in an action set to let a creature despawn itself. |
AgentDisabledSettings | class | ActionComponent | 0 | Settings for ActiveDisabled, an action with no target that does nothing. Server only. |
AgentDistanceFromTargetSettings | class | AgentNavigationSettings | 2 | Settings for ActiveDistanceFromTarget: walk to a random reachable point found around the target, optionally the one most on the creature's own side. Server only. |
AgentEatSettings | class | ActionComponent | 2 | Settings for ActiveEat: grab the target item with the creature's Interactor and destroy it after a delay. Server only; used for creatures that eat dropped food. |
AgentFaceTargetSettings | class | ActionComponent | 1 | Settings for ActiveFaceTarget: turn the creature until the target is well inside its view cone. Server only; the creature must implement IHasViewCone. |
AgentFollowSettings | class | AgentNavigationSettings | 4 | Settings for ActiveFollow: chase the target with the pathfinder until close, giving up past a distance unless the target has hurt the creature enough. Server only. |
AgentIdleSettings | class | RandomTimedActionComponent | 10 | Settings for a creature's idle action: how long it lasts, whether it faces or follows its target during set time windows, and a chance to wander to a new spot. Its action is ActiveIdle. |
AgentInteractApproachSettings | class | AgentNavigationSettings | 7 | Settings for ActiveInteractApproach: follow the target until close, then start one of two follow-up actions depending on whether its height is in reach. Server only. |
AgentJumpAtSettings | class | RandomTimedActionComponent | 5 | Settings for ActiveJumpAt: launch the creature's rigidbody at the target and finish when it lands. Server only. |
AgentMoveCloserSettings | class | ActionComponent | 3 | Settings for ActiveAgentMoveCloser: slide the creature's rigidbody straight toward the target, without pathfinding, until it is a set distance away. Server only. |
AgentNavigationSettings | abstract class | ActionComponent | 5 | Base for a creature action component with movement settings for getting to its target. |
AgentNestSettings | class | AgentNavigationSettings | 6 | Action component that sends an agent to the closest free nest of a type to sleep at night. Runs ActiveNest on the server's AI. |
AgentRegainControlSettings | class | RandomTimedActionComponent | 4 | Settings for ActiveRegainControl: wait until the creature's body has nearly stopped moving after being knocked about, then optionally switch action set. Server only. |
AgentRollUpInPlace | class | BasicActiveAction<Agent, AgentRollUpInPlaceSettings> | 1 | Actions and decisions |
AgentRollUpInPlaceSettings | class | ActionComponent | 4 | Settings for AgentRollUpInPlace: turn the creature's body upright on the nearest ground surface, then optionally switch action set. Server only. |
AgentSwapActionSetSettings | class | ActionComponent | 3 | Action component that switches the agent to another ActionComponentSet and then runs for a fixed duration. |
AgentThreatenSettings | class | RandomTimedActionComponent | 4 | Settings for ActiveThreaten: face the target for a random time, switching to another action set if it comes close and cancelling if it goes far. Server only. |
AgentUpdater | class | MonoBehaviour | 8 | AgentUpdater, Update modules: A scene MonoBehaviour. Ticks only on the server. |
AgentWanderSettings | class | AgentNavigationSettings | 2 | Settings for ActiveWander and ActiveBlockCanceleableWander: walk to a random reachable point near the creature. Server only. |
AiHook | class | AiHook<ActionComponent> | 0 | Actions and decisions: Base: runs code when the action starts, finishes or is cancelled. |
AiHook<T> | abstract class | MonoBehaviour, IAiHook | 0 | Actions and decisions: Base: runs code when the action starts, finishes or is cancelled. |
And | class | Operator | 3 | Logical AND in the unused Prolog-like logic engine (Predicate, KnowledgeHolder). Yields every pair of left and right results whose bindings agree, with weightings multiplied. |
AnimatedBoolAiHook | class | AiHook | 0 | Actions and decisions |
AnimatedFloatAiHook | class | AiHook | 0 | Actions and decisions |
AnimatedFloatTransitionAiHook | class | AiHook | 0 | Actions and decisions |
AnimatedLayerAiHook | class | AiHook | 0 | Actions and decisions |
AnimatedTriggerAiHook | class | AiHook | 0 | Actions and decisions |
Atom | class | BaseAtom | 6 | A named symbol in the unused Prolog-like logic engine. Define turns it into a fact or rule that a KnowledgeHolder can be told about. |
Atom<T1, T2, T3, T4> | class | BaseAtom | 4 | A four-argument named symbol in the unused Prolog-like logic engine, with typed Define overloads. |
Atom<T1, T2, T3> | class | BaseAtom | 4 | A three-argument named symbol in the unused Prolog-like logic engine, with typed Define overloads. |
Atom<T1, T2> | class | BaseAtom | 4 | A named AI logic atom that takes two terms. Define turns it into a weighted definition the AI can reason with. |
Atom<T> | class | BaseAtom | 4 | A named atom in the AI knowledge system that takes one typed term. Other versions take zero to four terms. |
AttackDirectionAnimationBoolSettings | class | AttackDirectionAnimationSettings | 0 | Asset that drives an animator bool from where the target's weapon is: true when the direction is positive. Used by AttackDirectionCore for attack-direction reactions. |
AttackDirectionAnimationBoolSettings.BoolAnimation | class | IAttackDirectionAnimation | 0 | Per-creature driver made by AttackDirectionAnimationBoolSettings: sets a networked animator bool from the attack direction. |
AttackDirectionAnimationFloatSettings | class | AttackDirectionAnimationSettings | 0 | Asset that drives an animator float from where the target's weapon is, easing it toward 0, 0.5 or 1 for directions -1, 0 and 1. Used by AttackDirectionCore. |
AttackDirectionAnimationFloatSettings.FloatAnimation | class | IAttackDirectionAnimation | 0 | Per-creature driver made by AttackDirectionAnimationFloatSettings: eases a networked animator float toward a value set by the attack direction. |
AttackDirectionAnimationLayerLerpSettings | class | AttackDirectionAnimationSettings | 0 | Asset that drives an animator layer weight from where the target's weapon is: 1 for a positive direction, 0 otherwise. Used by AttackDirectionCore. |
AttackDirectionAnimationLayerLerpSettings.LayerAnimation | class | IAttackDirectionAnimation | 0 | Per-creature driver made by AttackDirectionAnimationLayerLerpSettings: sets a networked animator layer weight, which lerps on its own. |
AttackDirectionAnimationSettings | abstract class | ScriptableObject | 2 | Asset that makes an attack direction animation helper for a creature's animator parameter. |
AttackDirectionCore | class | | 3 | Drives an agent's attack-direction animations (a layer weight plus side and up directions) from where its target's attacks come from. Made by AttackDirectionCoreSettings and updated each frame. |
AttackDirectionCoreSettings | class | ScriptableObject | 8 | Settings asset that makes a creature animate in response to where its target is attacking from (above or either side). GetCore makes the runtime AttackDirectionCore. |
AttackDirectionReactAIHook | class | AiHook | 0 | Actions and decisions: Drives animation from the direction of the target's attacks. |
AttackParameters | struct | | 3 | An attack a target is making: how much damage it would do and where it is. AI reads these from Target.Attacks to react to incoming hits. |
Babu | class | Agent<Babu>, IHasViewCone, IInteractAgent, +4 more | 5 | Other creatures, Creature data |
BaseAtom | class | Term | 5 | A named constant term in the AI's logic system (predicates, compounds and variables used for creature reasoning). Its nested Definition pairs a compound with a goal and a weighting. |
BaseAtom.Definition | class | IAtomDefinition | 6 | A rule in the creature knowledge system: when the compound holds, the goal predicate follows, with a weight that fades as the event it came from ages. |
BasicAction<TAgent, TActive, TSettings> | class | Action<TAgent> | 5 | Actions and decisions |
BasicActiveAction<TAgent, TSettings> | abstract class | BasicActiveAction<TAgent> | 2 | Actions and decisions |
BasicActiveAction<TAgent> | abstract class | IBasicActiveAction<TAgent>, IActiveAction | 10 | Actions and decisions |
BasicActiveAgentMoveCloser<T> | abstract class | BasicActiveAction<Agent, T> | 1 | Base for running actions that move a creature straight at its target without pathfinding. Faces the target each tick, cancels if it's lost or too far, and leaves the movement to the subclass. Server only. |
BasicSense | class | Sense | 5 | Targets and senses: A fixed value the target gives off, from its BasicSenseSet. Up to 32 of these. |
BasicSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<BasicSense> | 0 | Editor menu item for making a BasicSense asset (under the Township creatures create menu). Does nothing at runtime. |
BasicSenseSet | class | | 7 | Targets and senses |
Chance | class | TargetOperation | 3 | Scoring rule that rolls a dice on every evaluation: returns success with probability chance, otherwise failure. Made by CreateTargetOperation.Chance. |
ChanceOperation | class | TargetOperationComponent | 1 | Prefab component that adds a Chance scoring rule to its action, from the scoring child object it sits under. Renames its GameObject to show its values. |
Character | class | | 5 | A named character in the AI knowledge system with its own atom and knowledge, optionally owned by a parent character. |
CollisionImpulseReader | class | MonoBehaviour | 0 | Component that turns strong collisions with rigidbodies into a 0 to 1 strength and passes it to an IReceiveImpulseFromCollision on the next frame. |
Compound | class | Predicate, ITerm | 2 | A Prolog-style term with a functor and arguments in the AI knowledge system, such as likes(x, y). Evaluates by unifying with known definitions. |
CompoundPart | class | Term, ICompoundPart | 6 | A list of terms (a first term and the rest) in the AI's logic system, used when unifying compounds. |
CreateTargetOperation | static class | | 12 | Static factory for the common TargetOperation scoring rules used by actions in code and by the scoring components on prefabs. Server only, like the decider. |
DataAtom<T> | class | Atom, IData<T>, ITerm | 4 | An atom carrying a value (for example a position) in the unused Prolog-like logic engine. |
Day | class | | 4 | One day in an AI History, holding the events registered on it. |
DeathFern | class | Agent<DeathFern> | 1 | Other creatures, Creature data: Death Fern, Mother Fern, Vine Attack Fern, Targeted Geyser (also inside Chute Gcore Dynamic), Gotera Ash Bomb, Turabada Spawner Reactive |
DebugResults | class | | 4 | Holder for action scoring results, probably meant for AI debugging. Nothing else in the code uses it. |
DistanceOperation | class | TargetOperationComponent | 1 | Older prefab scoring component for the target's distance (or squared distance). In the editor it migrates itself to a SenseOperation. |
DistanceSense | class | Sense | 2 | Targets and senses |
DistanceSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<DistanceSense> | 0 | Editor menu item for making a DistanceSense asset. Does nothing at runtime. |
DistanceSquaredSense | class | Sense | 1 | Targets and senses |
DistanceSquaredSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<DistanceSquaredSense> | 0 | Editor menu item for making a DistanceSquaredSense asset. Does nothing at runtime. |
Dragonfly | class | Agent<Dragonfly>, IHasViewCone | 4 | Other creatures, Creature data: Dragonfly, and the Dais animals: Dais Base, Dais Variant, Dais Red, Antler, Antler Red, Child and Child Red Variant |
EmptyAttackDirectionAnimation | class | IAttackDirectionAnimation | 1 | Do-nothing IAttackDirectionAnimation used by AttackDirectionCore when a layer, side or up animation isn't set. |
Event | class | | 7 | One remembered event in an AI's History: some knowledge atoms that fade over a lifetime. Events form a linked list of the active ones. |
EventChannelAiHook | class | AiHook | 0 | Actions and decisions: Fires a channel event when the action starts and another when it ends. |
EventChannelTimedAiHook | class | AiHook | 0 | Actions and decisions: Fires channel events at set delays after the action starts. |
FaceTarget | class | MonoBehaviour, INetworkSerialized | 5 | Component that turns a creature's head bone toward its current target, within a maximum angle, and syncs the head rotation to clients. The server drives it; nothing in code calls it, so prefab events probably do. |
Facing2DSense | class | Sense | 1 | Targets and senses |
Facing2DSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<Facing2DSense> | 0 | Editor menu item for making a Facing2DSense asset. Does nothing at runtime. |
Facing3DSense | class | Sense | 1 | Targets and senses |
Facing3DSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<Facing3DSense> | 0 | Editor menu item for making a Facing3DSense asset. Does nothing at runtime. |
FacingOperation | class | TargetOperationComponent | 1 | Older prefab scoring component for how much the creature faces the target. In the editor it migrates itself to a SenseOperation. |
FailTargetOperation | class | TargetOperation | 2 | Scoring rule that always returns 0, so a required rule built from it switches its action off. Returned by CreateTargetOperation.Fail after logging an error. |
FireBug | class | Agent<FireBug>, IReceiveImpulseFromCollision | 5 | Other creatures, Creature data: A catchable bug that lights up when shaken. |
FixedStatChangeHook | class | StatChangeHook | 0 | Actions and decisions |
Formula<T> | class | TargetOperation | 3 | Scoring rule that runs a function you supply on the agent (cast to T) and the target. Made by CreateTargetOperation.Formula; built-in creature actions use it for custom checks. |
GizmosHelper | class | MonoBehaviour | 2 | Editor debugging helper that draws a small sphere at a static position in the Scene view. Nothing in the code creates it. |
Gotera | class | Agent<Gotera>, IHasViewCone | 4 | Common creatures, Creature data: Gotera; Gotera Ash, Birch, Redwood and Walnut Variant |
GreaterGotera | class | Agent<GreaterGotera>, IAgent, ITarget, +2 more | 3 | Common creatures, Creature data |
Grounded | class | TargetOperation | 3 | Scoring rule on the creature itself, not the target: one value when its walker is grounded, another when it's in the air. Made by CreateTargetOperation.Grounded. |
GroundedOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a Grounded rule. It has no multiplier, so its weight is always 1. |
History | class | | 11 | A timeline of days and knowledge events for the experimental AI reasoning system. Time is in days (1.0 is one day). Only created by the test Intelligence component. |
HookAction | internal struct | | 2 | Internal per-agent runner for an attack direction reaction hook. Updates its AttackDirectionCore each LateUpdate while the agent has a target. |
HookEventChannel | enum | | 21 | Named channels (A to T, or None) an AI agent can fire hook events on, mapped to channel events set on the agent. |
HurtSense | class | Sense | 1 | Targets and senses: agent.Hurt for that target. |
HurtSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<HurtSense> | 0 | Editor menu item for making a HurtSense asset. Does nothing at runtime. |
IAction | interface | | 8 | Actions and decisions |
IAction<in TAgent> | interface | IAction | 1 | Actions and decisions |
IActionDecider | interface | | 3 | Picks an AI agent's actions from the targets it knows about. ActionDecider<TAgent> implements it; reach it through Agent.GeneralActionDecider. |
IActionSettings | interface | | 9 | Settings every AI action has: its weighting and the rules for cancelling it. Implemented by ActionComponent. |
IActionTarget | interface | | 2 | A possible target for an AI action, with the weight it scored. |
IActiveAction | interface | | 8 | Actions and decisions |
IAgent | interface | ITarget, ITargetPointer, INetworkEntityBehaviour | 24 | The interface for an AI creature's brain, implemented by Agent. Decisions and actions run on the server; the server registers live agents with AgentUpdater. |
IAgentDebugger | interface | | 0 | Empty marker interface for AI agent debuggers. |
IAiHook | interface | | 1 | A component that adds effects to the ActionComponent on the same GameObject. ActionComponent finds these and initializes them the first time the action is used. |
IAtomDefinition | interface | | 4 | A piece of knowledge in the creature knowledge system: a compound and a goal, with a weight that fades as the event it came from ages. |
IAttackDirectionAnimation | interface | | 4 | One animator parameter (bool, float or layer weight) that shows which way a creature is about to attack. AttackDirectionCore drives three of them: layer, side and up. |
IBasicActiveAction<in TAgent> | interface | IActiveAction | 1 | A running action that can be started on an agent of type TAgent. BasicActiveAction implements it and BasicAction calls Start on a pooled instance. |
ICompoundPart | interface | | 2 | A term split into a head and the rest, used by the unused logic engine when unifying terms. Predicate and CompoundPart implement it. |
IData<T> | interface | ITerm | 0 | AI logic term that carries a value of type T. Implemented by Variable<T> and DataAtom<T>. |
IHasViewCone | interface | | 1 | Implemented by AI that has a ViewCone for sight checks. |
IInteractAgent | interface | IAgent, ITarget, ITargetPointer, +1 more | 1 | A creature that can grab things with an Interactor, so it can run ActiveEat. |
IJumpAttacker | interface | | 1 | Combat, damage and death: ActiveJumpAt calls it at the start and end of a jump. Spriggull charges its beak with it. |
ILinkedAgent | interface | | 5 | What AgentUpdater needs from a creature AI to schedule it. Agent implements it explicitly; agents are kept in a linked list sorted by priority. |
Intelligence | class | MonoBehaviour | 7 | Unfinished experiment with a Prolog-like knowledge system (who owns, hates and attacked whom, with fading memories). Awake only builds a hard-coded test with frogs and toads and logs a query; no creature uses it. |
IntelligenceExtensionMethods | static class | | 2 | Helpers for the unused logic engine. |
InverseLerpSenseSelf | class | TargetOperation | 3 | Scoring rule that reads a sense with the creature as both requester and target, mapped onto 0 to 1. Made by CreateTargetOperation.Sense with isTarget false. |
InverseLerpSenseTarget | class | TargetOperation | 3 | Scoring rule that reads a sense of the target, mapped onto 0 to 1. Made by CreateTargetOperation.Sense; most scoring rules on prefabs end up as this. |
IReceiveImpulseFromCollision | interface | | 1 | Implemented by things that want to know the strength of a collision impulse they took. |
ITarget | interface | ITargetPointer | 13 | Targets and senses: Anything a creature can consider. Target implements it, so every creature is also a target for other creatures. |
ITargetExtensions | static class | | 1 | Extension methods on ITarget. |
ITargetPointer | interface | | 1 | Anything that can name an AI target for itself. Every ITarget and agent is one, and so are things like SeedSpray; hit code uses it to find who to blame for a hit. |
ITerm | interface | | 3 | A term in the small Prolog-style logic engine in Alta.Intelligence (atoms, variables, compounds). Probably not used by the shipped creatures; nothing outside that namespace uses it. |
KnowledgeHolder | class | | 7 | A store of known events and rule definitions for the creature knowledge system. It can have a parent, whose knowledge also counts. |
Lifetime | class | TargetOperation | 2 | Scoring rule on the creature's age: seconds since it was created, mapped from minimum to maximum onto 0 to 1. Made by CreateTargetOperation.Lifetime. |
LifetimeOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a Lifetime rule. |
Not | class | Predicate | 2 | Logical NOT in the unused Prolog-like logic engine, with weightings: a half-true goal gives a half-true result. |
OldSenseOperation | class | TargetOperationComponent | 2 | Older prefab scoring component that names its sense with the SenseOld enum. In the editor it replaces itself with a SenseOperation once a matching sense asset exists. |
Operator | abstract class | Predicate | 2 | Base for predicates that join two other predicates (such as and), in the creature knowledge system. Evaluates the left side, then the right side with the left's bindings. |
Or | class | Operator | 3 | Logical OR in the unused Prolog-like logic engine: yields every result of the left side, then every result of the right. |
Phantom | class | Agent<Phantom>, IHasViewCone, IListenToMiningEcho | 9 | Other creatures, Creature data: A night creature that can be solid or immaterial. Prefabs: Phantom (2 health) and Phantom Head (0.5 health, takes double spiritual damage). |
PickupAgent | class | MonoBehaviour | 3 | Other creatures: public class PickupAgent : MonoBehaviour, for creatures you can hold. |
PlayerCharacterTarget | class | Target | 5 | Targets and senses: PlayerCharacterTarget : Target is the player's target component. |
PlayerLikeSpectralGhost | class | Phantom | 2 | Other creatures, Creature data: A phantom dressed as a player (prefab "Spectral Ghost", 2 health; it uses the phantom's passive set and destroys itself on death). |
Plus | class | Operator | 3 | A combining operator in the unused Prolog-like logic engine. It behaves exactly like And: agreeing results with weightings multiplied. |
Predicate | abstract class | ITerm, ICompoundPart | 13 | Base for a logic term in the AI knowledge system: a functor with argument terms that is evaluated against a KnowledgeHolder to produce weighted results. Operators combine predicates. |
ProgressStatChangeHook | class | StatChangeHook | 1 | Actions and decisions |
ProjectileShooter | class | MonoBehaviour | 3 | Component that spawns and fires a projectile from a creature, aimed forward or at its target with some random spread. Server only; nothing in code calls Shoot, so prefab events probably do. |
ProjectileShooter.AimMode | enum | | 4 | How a ProjectileShooter aims: straight forward, at the target, or mixing forward and target direction per axis. |
RandomTimedActionComponent | abstract class | ActionComponent | 3 | Base for AI action components that run for a random length of time, set in the inspector (5 to 7 seconds by default). |
RaycastGrounded | class | TargetOperation | 3 | Scoring rule that checks for ground near the creature's body with a ray or sphere, returning one value when ground is found and another when not. Made by CreateTargetOperation.RaycastGrounded. |
RaycastGroundedOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a RaycastGrounded rule. It has no multiplier, so its weight is always 1. |
RaycastGroundedOperationType | enum | | 3 | How the RaycastGrounded AI evaluator checks for ground: a ray straight down in world space, a ray down in the agent's local space, or a sphere overlap. |
RepeatIfHasTarget | class | MonoBehaviour | 2 | Component that fires a prefab event at a fixed rate while its creature has a target. Server only; it disables itself on clients. |
Result | class | | 5 | One answer to a creature AI logic query: the term bindings that make it true and its weight. |
RotateToTargetWorldXZ | class | NetworkEntityBehaviour, INetworkSerialized | 3 | Networked component that turns a jointed body part toward the creature's target (or a default point) by driving a ConfigurableJoint around its X axis. The server picks the angle and syncs it; both sides apply it. |
RVOBlockedOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds an RVOBlockedValue rule: one value when the creature's walker is blocked, another when it isn't. |
RVOBlockedValue | class | TargetOperation | 2 | Scoring rule on whether the creature's walker is blocked by local avoidance. Made by CreateTargetOperation.RVOBlocked. |
SameTarget | class | TargetOperation | 3 | Scoring rule that returns one value if the target is the creature's current target and another if not. Used to make creatures stick to or switch targets. |
SameTargetOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a SameTarget rule. |
Schmeechee | class | Agent<Schmeechee> | 16 | Other creatures, Creature data: A mushroom critter that runs about, plants itself in the ground and can be picked up. It's a rigidbody that steers itself with forces, not a walker. |
Schmeechee.Operation | class | TargetOperation | 2 | Other creatures: A scoring rule for "grounded" or "upside down". |
Schmeechee.OperationType | enum | | 2 | Which Schmeechee state a Schmeechee AI operation checks: Grounded or UpsideDown. |
SchmeecheeFleeSettings | class | ActionComponent | 1 | Settings for ActiveSchmeecheeFlee: a schmeechee steers and pushes itself away from its target. Server only. |
SchmeecheeFlipSettings | class | ActionComponent | 0 | Settings for ActiveSchmeecheeFlip: an upside-down schmeechee pops itself back over with an impulse and torque. Server only. |
SchmeecheeOperation | class | TargetOperationComponent | 1 | Prefab scoring component for schmeechees: one value when the schmeechee is grounded (or upside down), another when it isn't. |
SchmeecheePlantSettings | class | RandomTimedActionComponent | 0 | Settings for ActiveSchmeecheePlant: a schmeechee buries itself in the ground and sleeps for a random time, then pops out. Server only. |
SchmeecheePlaySettings | class | ActionComponent | 0 | Settings for ActiveSchmeecheePlay: a schmeechee runs about at random until it tires or gets stuck. Server only. |
SeedSpray | class | NetworkEntityBehaviour, ITargetPointer | 6 | Combat, damage and death |
SeedSpray.BasicImpactSyncArguments | struct | | 11 | Network copy of a seed's hit, sent by the server so clients apply the same impact to the struck entity's ImpactDetector. |
SeedSprayManager | class | NetworkEntityBehaviour | 2 | Combat, damage and death |
Sense | abstract class | GeneralValue | 6 | Asset for something an AI agent can measure about a target (distance, visibility and so on) as a number. Sense assets are loaded from Resources/Senses. |
SenseOld | enum | | 20 | Old list of AI senses (noise, movement, danger, distance, view cone and so on), still used by the older sense operations. |
SenseOperation | class | TargetOperationComponent | 2 | Prefab scoring component that adds a sense rule: a sense asset read on the target or the creature, mapped onto 0 to 1. The older scoring components migrate to this one. |
SenseSetup | class | | 3 | A serialized pair of a sense and a value, used in AI settings. Still supports the old SenseOld enum for older assets. |
Spriggull | class | Agent<Spriggull>, IJumpAttacker, IInteractAgent, +4 more | 5 | Common creatures, Creature data: It decides every 0.5 s, slower than other creatures (0.1 s). Its sets live in the "Spriggull AI" prefab: |
SpriggullFlail | class | MonoBehaviour | 0 | Component on a spriggull that starts its flailing action when it is hit hard by a rigidbody on its hit collider. The flail only starts on the server. |
StatChangeHook | abstract class | AiHook | 0 | Base AI hook that grabs a stat on the creature or its target when its action starts, and lets subclasses change it at the start and end. FixedStatChangeHook and ProgressStatChangeHook build on it. |
StatOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a StatValue rule on a stat of the creature or the target. The shipped "Aggroing Stat" rules are this. |
StatValue | class | TargetOperation | 2 | Scoring rule on a stat of the creature or the target, mapped onto 0 to 1. Made by CreateTargetOperation.Stat. |
Target | class | NetworkEntityBehaviour, ITarget, ITargetPointer | 15 | A networked thing that AI creatures can sense and attack, with optional health and interactable links. Only active on the server: on clients it disables itself (and by default its GameObject). |
TargetCollector | class | MonoBehaviour, IBuildRendererBakeable, IBuildBakeable | 4 | Component that gathers targets for an agent within a radius. Registers itself with its agent on Awake; TargetCollectorManager adds and removes targets by distance. |
TargetCollectorManager | static class | | 3 | Static list of every registered target on the server (creatures, players, anything with a Target). Each creature decision walks the whole list to add or drop targets by distance. |
TargetOperation | abstract class | | 3 | Actions and decisions: One scoring rule. float Evaluate(Agent agent, ITarget target), plus a Weight. |
TargetOperationComponent | abstract class | MonoBehaviour | 1 | Base component that supplies a TargetOperation for AI target scoring. Its object is renamed to match the operation in the editor. |
TargetPointer | class | MonoBehaviour, ITargetPointer | 1 | Component that points at a Target elsewhere on the prefab, so code looking up an ITargetPointer on this object finds that target. |
TargetResult | class | | 2 | Debug record of how one target scored for an agent's actions. |
TargetResult.Result | class | | 4 | Debug record of how one AI action scored against a target. ActionDecider passes null for it in this build, so it is probably unused. |
Term | abstract class | ITerm | 5 | Base of terms in the AI's logic system (atoms, variables, compounds). Unify matches two terms in the Prolog style. |
ThresholdListener | class | | 3 | Small holder for a threshold value and an event raised when it's crossed. Nothing else in the code uses it. |
TimedActionComponent | abstract class | ActionComponent | 1 | Base for a creature action component that runs for a set duration. |
True | class | Predicate | 2 | The always-true goal in the unused Prolog-like logic engine. A definition with no goal uses it, making it a plain fact. |
Turabada | class | Agent<Turabada>, IHasViewCone | 6 | Common creatures, Creature data: On death it turns off collision and sets the animator bool named by killedAnimatorBoolean ("Killed" by default) directly on the Animator, on each side. |
Variable | class | Term | 7 | A numbered logic variable in the unused Prolog-like logic engine. Two variables are equal when they share a number and belong to the same definition. |
Variable<T> | class | Variable, IData<T>, ITerm | 1 | A logic variable that stands for a value of type T (for example a position) in the unused logic engine. |
VelocityLimit | class | TargetOperation | 2 | Scoring rule on the creature's own speed: one value while its rigidbody is slower than a limit, another when at or above it. Made by CreateTargetOperation.VelocityLimit. |
VelocityLimitOperation | class | TargetOperationComponent | 1 | Prefab scoring component that adds a VelocityLimit rule on the creature's speed. |
VelocitySense | class | Sense | 1 | Targets and senses: target.GetVelocity(), which is always 0. No shipped sense uses it: "Velocity" is a BasicSense. |
VelocitySense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<VelocitySense> | 0 | Editor menu entry for creating a VelocitySense asset. |
ViewConeOperation | class | TargetOperationComponent | 1 | Inspector component that adds a view cone sense check to an AI action's target scoring. Its OnValidate migrates it to the newer sense operation setup. |
ViewConeSense | class | Sense | 1 | Targets and senses: How far inside the creature's ViewCone the target is. Only for creatures with IHasViewCone (turabada, gotera, babu, dragonfly, phantom). |
ViewConeSense.Create | class | AltaMenuItemBase.Assets.Create.Township.Features.Creatures.ScriptableObject<ViewConeSense> | 0 | Editor menu entry for creating a ViewConeSense asset. |
Wyrm | class | Agent<Wyrm> | 14 | Common creatures, Creature data: A wyrm lives underground. Its body and colliders are hidden until it emerges. It has no walker: it turns its body in place toward its target. |
Xor | class | Operator | 3 | Logical XOR operator for the AI's predicate system. Written as A ^ B. |