[AI & Difficulty] Intelligent AI v0.3

Distribute and discuss mods that are functional.
Compartany
Posts: 21
Joined: Thu Oct 08, 2020 7:45 am

[AI & Difficulty] Intelligent AI v0.3

Postby Compartany » Sat Nov 13, 2021 4:18 pm

MOD: Intelligent AI
Author: Compartany
Version: 0.3.1.20211114
Base: Into the Breach v1.2.24, Mod Loader v2.6.3, modApiExt v1.14
Code: https://github.com/Compartany/IntelligentAI
Link:
-- [EN] viewtopic.php?f=25&t=38195
-- [CN] https://www.bilibili.com/read/cv13990559
Download:
-- [github] https://github.com/Compartany/IntelligentAI/releases
-- [weiyun] https://share.weiyun.com/7laJWpe3 (alternate)
My MODs:
-- https://github.com/Compartany/ITB-MODs/ ... od-list.md

Do you find the game too easy because enemies' AI is too low? This MOD will completely change it.

You can customize the difficulty factor or just play the [V. Hard] or [Imposs.] difficulty.

How it works:

Code: Select all

- Probability Increased
    - Attacks on special pawns and special buildings
    - Grapple attack targets immobile pawns (e.g. ground Mech that suspends in water)
    - Grapple attack targets Ranged and Science Mechs
    - Move to edges or corners of the map
    - Move to upper part of the map
    - Move to tile between buildings
    - Flying pawns move to tile near TERRAIN_WATER or TERRAIN_HOLE
- Probability Decreased
    - Non-grapple attack targets pawns
    - The phenomenon of pawns being close to each other
    - Injuring friendly pawns
    - Move to Environment tile
    - Move to tile with dangerous item
    - Move to A.C.I.D. tile
    - Move to tile near negative score area
    - Move to tile near TERRAIN_MOUNTAIN
- Others
    - More position oriented when targeting
    - Consider tiles around the target tile when targeting (to ensure that it can still deal effective attacks after being moved if possible)
    - Consider the amount of damage when targeting buildings
    - Optimize the handling of mechanisms involving Frozen, A.C.I.D., Shield, Armor, etc.
    - Optimize Blobber targeting AI
    - Optimize Spider targeting AI
    - Optimize Centipede targeting AI
    - Optimize Psion positioning AI
Last edited by Compartany on Sun Nov 14, 2021 3:01 pm, edited 1 time in total.
Compartany
Posts: 21
Joined: Thu Oct 08, 2020 7:45 am

Re: [AI & Difficulty] Intelligent AI v0.3

Postby Compartany » Sun Nov 14, 2021 1:35 pm

Code: Select all

v0.3.0.20211114

* Understanding ITB battle mechanism, fixing the problems of enemy targeting and positioning that were not effective in the previous version due to various circumstances
* Significant optimization of positioning
* Enhance the influence of positioning on targeting
* Optimize Centipede targeting AI
* Optimize Psion positioning AI
* Consider buildings in Spider targeting