Dungeon Siege
eXpert Artificial Intelligence Auto v0.6 
By Ivann Alvarado & Amanda Hartin
candy7man@hotmail.com hartinamanda@hotmail.com
April 20, 2002

=========================================================================
Please send any questions, comments or suggestions to candy7man@hotmail.com and/or hartinamanda@hotmail.com.  We always appreciate feedback and criticism and will try to help the best we can. Now for the goodies...

=========================================================================
ON THIS RELEASE v0.6
- First release.  Note that this is identical to the normal eXpertAi but except that players characters are fully automated.  Also know that in testing the only way we got the effects to take place is if the game was created from scratch.  So you need to start a new game if not this mod will behave exactly as the normal eXpert Ai.

=========================================================================
VERSION HISTORY
-Version v0.6
- First release

=========================================================================
INSTALLATION
- Simply unzip this into your *resources* folder for Dungeon Siege (e.g. C:\"your path"\Dungeon Siege\Resources).  This will add a new file eXpertAI.dsres into your resources folder.  This file contains just the modified files for this siegelet and DOES NOT overwrite any game files (so no backup needed).  Then just start the game normally.

NOTE: This mod replaces AutoUsePotions since this is more robust.

ALSO NOTE:  If you load from a saved game, the monsters that were created PRIOR to the save WILL NOT use this new AI.  This is because the game engine needs to create a monster in order to load the new AI.  Don't worry once you walk a little bit further into the game, it will create the smarter monsters (which you can tell since their names will have the prefix "eXpert").

=========================================================================
SO WHAT DOES IT DO?

This Ai was created to provide a more challenging experience for the player by making monsters more intelligent in battle tactics (sorry guys, no more cheap tactics like creeping up on packs of monsters in order to lure them away one by one ;) ) and this is the AUTO version, meaning that player characters are REALLY smart in that they do a multiple things automatically. 

More specifically this is what this siegelet adds to monster's and characters AI :

- Players take mana and life potions automatically if health of mana drops below 15%
- Players will run away from battle when wounded and no potions are available.
- Players will NOT follow fleeing monsters.
- Players know about their environments and so can fight almost on their own.
- Players protect each other.
- Players can now understand that objects (such as trees and bushed) can hide monsters.

For Monsters:

- Monsters will try to run away from a battle when their health is < 25% AND they are being attacked. 
- Monsters will run away when wounded but come back when not in danger anymore.
- Monster flee further.
- Monsters will protect each other.
- Monsters understand the basic idea that you go for a Magic caster first then others.  This means that they will *USUALLY* have targetting preferences.
- Monsters alert other monsters around them when they spot an enemy (no more cheap tactics).
- Monsters will pursue you much longer when you are running away.
- Monsters will engage you in battle from a longer distance.
- Monsters are more aware of their suroundings (scan their environment more often).
- Monsters can see further.
- Monsters will remember for a longer where you went when you dissapeared out of their sight.
- Monsters are less limited in their movement range.    
- Monsters now autoregenerate life and mana just as your characters do.
- Monsters may try to use potions if they have them (about 25% of the time).
- Other minor tweaks.

=========================================================================

NOTE TO DUNGEONEERS:  You can incorporate this AI in any mod you are working on since it uses a separate tank file, but read the disclaimer below.

=========================================================================
DISCLAIMER
- Permission is granted to distribute this siegelet in anyway or form as long as all the files included in this archieve are included and have not been modified in any shape or form withour prior consent from both Ivann Alvarado and Amanda Hartin.  Also commercial usage of this siegelet is prohibited.
- This work is out of pure enjoyment for gaming and so we cannot be held accountable if this siegelet causes any problems with your game or system.  Please take caution on where you download things from.

