EnhancedAi

Enhanced Ai is a completely new adaptive algorithm which reacts on players´ and other AIs´ actions with both randomness and hardwired behaviour.

First introduce in alpha.0.5.1b.

Latest update: 2021-04-21.

Difficulty
Better reaction on handicaps or advantages.

Basic exploration and looting
Units now have roles and one of them is to be an explorer which means to effectively explore maps or reveal POI (points of interest, like loot) even provoke enemies.

Map awareness
AI now better reacts to situations on the map. Visited and visible hex tiles now generate POI to various heatmaps and by the unit role, AI prepares and sends units there to collect more data or take action.

Hex tile reservation system
Moving units around the map is not that complicated when you know the destination. tile is reserved and AI will try to move units to neighbour hex tile if needed. Units are moved constantly forming even formations. Only a few scenarios will make the unit not to move.

Starting mode, behaviour, modding
AI can start in "starting profile" to boost economics. We added simple mudding options to drive AI behaviour by setting or clearing flags in the local file (in folder TheMysticEditor/mods) or in game by using build-in console (tilde or semicolon, the key under ESC) commands. Try to write "help" there to check syntax.

Aggressive and economic modes
Mystic is a dynamic game and new AI is more dynamic too. Primary is set up in building things and expanding. But when time is right, you will know the AI switched profile to be more challenging.

Coordinated attack
Time to time AI forms attack formation to try to eradicate you. Attacks are far from be the best (as whole AI) but it adds more dynamics and tension to game experience.

Battle simulation
Everything has a cost and AI knows it. Is it worth to go to battle with this unit, or should I retreat? Every movement is predated by calculations which tile to move is the best.

Advanced active defence
The most complicated new thing in AI is active defence. AI checks for threats, their level and who is causing it. If parameters are right AI will send the best unit for the job - defending the area whether it is an outlier farm or heart of your city. AI even tries to be present near buildings until released from that duty. Player attack should be more challenging than ever.

Spell management, terraforming
Spells are a key mechanic of the game so is the terraforming. AI tries to have the most efficient income. Targets terraforming spells near the area as it needs to. or cast an attack spell on to nearby enemy units - again calculating the best possible tile to cast a spell. When a spell is not needed or cannot be casted few turns, it dismisses it and charges up a new spell better - suited for the situation.

Preparations and plans

 * Unique Behaviour for all factions.
 * More difficulty dynamics.
 * Mechanism for long promised Campaign.
 * All spells.
 * Polishing parameters.
 * Improvements in the late game. Currently AI starts to be less effective around Tier 4.