Changes between Initial Version and Version 1 of XML.Entity.Traits.AI


Ignore:
Timestamp:
Feb 23, 2008, 4:18:59 AM (11 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • XML.Entity.Traits.AI

    v1 v1  
     1Entity action that is controlled by the computer is required to have an Artificial Intelligence attached to it.
     2
     3'''Example:'''
     4
     5{{{
     6        <Traits>
     7                <AI>
     8                        <Behaviour>Support</Behaviour>
     9                                               
     10                        <Stance>
     11                                <List>
     12                                        <Aggress />
     13                                        <Defend />
     14                                        <Avoid />
     15                                        <Stand />
     16                                        <Hold />
     17                                </List>
     18                               
     19                                <Curr>Defend</Curr>
     20                        </Stance>
     21                </AI>
     22        </Traits>
     23}}}
     24----
     25
     26= Behaviour =
     27''BRIEF DESCRIPTION ::'' Behaviour attached to this attribute used especially for gaia animals.
     28
     29'''Not yet implemented.''' Attribute is in XML, but not used much yet.
     30
     31This is the unit behaviours.  Some types of units (animals, and support) are controlled by the computer in the absence of player control.  These are the behaviours that those entities can possess.  If the entity does not have a behaviour then it is assumed to be idle or without action - without the direct intervention of a human player.
     32
     33 * '''Violent'''
     34Will actively attack any unit it encounters, even if not threatened.  (for animals)
     35
     36 * '''Aggressive'''
     37Will attack nearby units if it feels threatened (if they linger within LOS for too long).  (for animals)
     38
     39 * '''Defensive'''
     40Will attack nearby units if attacked.  (for animals)
     41
     42 * '''Passive'''
     43Will never attack units.  (for animals)
     44
     45 * '''Skittish'''
     46Will never attack units. Will typically attempt to flee for short distances when units approach.  (for animals)
     47
     48 * '''Bird'''
     49This behaviour is for birds that constantly fly around the map.
     50
     51= Stance =
     52
     53== Curr ==
     54''BRIEF DESCRIPTION ::'' Initial AI stance when first created, or current stance.
     55
     56'''Not yet implemented.''' Attribute is in XML, but not used much yet.
     57
     58This is the Unit Artificial Intelligence stance that is attached to the entity when it is first created by the player in the game.  This may be changed however after creation by using the GUI.  That information will then be stored in the instance database and updated whenever a player changes a unit's stance.
     59
     60''Here are the available stances:''
     61 * '''Defend'''
     62The default status for all units.  If enemy units come within LOS, the defending units will normally close with the enemy and attempt to defend themselves (or otherwise fire if they are stationary); after eliminating the threat, they will then return to their original position and task or continue on the path originally commanded.
     63
     64 * '''Aggress'''
     65Unit(s) given the command to Attack/Fire while in Aggress stance will pursue that course of action relentlessly, hunting down enemy units even to the point of incurring their own demise (suicidal pursuit), unless the stance is subsequently changed to Defend.
     66
     67 * '''Avoid'''
     68The unit(s) moving along a pre-selected course will attempt to avoid direct confrontation with enemy unit(s) that come within their LOS in attempting to achieve their objective point(s) on the map. 
     69
     70If a unit is unable to attack, they will flee to the nearest possible structure.  They will continue to flee and then garrison inside the structure as long as an enemy is in their line of sight.   If the enemy leaves, they will return to their commanded location.
     71
     72This is the default stance when the Scout command is given; if scout(s) come under enemy fire they will attempt to circumnavigate that fire while at the same time completing their way pointed mission.
     73
     74 * '''Stand'''
     75Units will hold their position on the terrain and not advance to contact with the enemy, but defend themselves if the enemy comes into LOS (ranged) or contact (hacker).
     76
     77 * '''Hold'''
     78Units hold their position like Stand, but they will not attack under any circumstance.  Even if they are attacked.
     79
     80== List ==
     81''BRIEF DESCRIPTION ::'' Lists the stances available to this unit. (The player can use the GUI to select a different stance from this list.)
     82
     83'''Not yet implemented.''' Attribute is in XML, but not used much yet.