~ Forums of Enroth ~
Would you like to react to this message? Create an account in a few clicks or log in to continue.

~ Forums of Enroth ~

The Enroth diehard fan community
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  
Latest topics
» [H3SW 0.8.2] Wheel of Duels
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby DanilaRud015 Today at 00:18

» What are you listening to?
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby Sir Albe 2024-06-20, 07:25

» [H3SW 0.8.2] Fury of Undeads
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby DanilaRud015 2024-06-19, 01:12

» Lego Heroes of Might & Magic
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby GodRage 2024-06-14, 04:47

» The "Monster Yotta Pack" aka the "MYP" from the FoE
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby BoseDrache 2024-06-13, 19:11

» Looking for any HoMM 2 Map Makers From the 1990s
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby BoseDrache 2024-06-13, 18:28

» Songs of Conquest
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitimeby Mishap 2024-06-08, 18:49

Poll
Global announcements should be:
Everlasting, 1 for each project.
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar110%[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar12
 0% [ 0 ]
Temporary, when there is something new to announce.
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar11100%[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar12
 100% [ 6 ]
Holalala... No idea where the Ultimate artifact is.
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar110%[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Redbar12
 0% [ 0 ]
Total Votes : 6
Most Viewed Topics
H3SW: General Graphics discussion
Ragoon's Graphics For HoMM3SW
Introduce yourself
H3SW General Discussion
H3SW Map List: Work in progress
H3SW: Dwelling Development
Forum Admins Feed
The Floody Land
Enrothian Fan Art
Heroes III: The Succession Wars v0.8.1 Beta

 

 [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero

Go down 
AuthorMessage
Unknown_Hero
Mage
Mage
Unknown_Hero


Messages : 778
Quality Points : 78
Registration Date : 2015-09-06

[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Empty
PostSubject: [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero   [Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero Icon_minitime2020-08-08, 20:04

English version 2.1
Map: Blastoff.mx2
Save: a 9875 ai allied hero attacks luna on path 30.GX1

In this scenario, the yellow (human player), orange and purple players are allies.
AI hero Agar (orange) is near allied hero Luna (yellow).

[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero YWwJNx1

End the turn.
AI hero Agar attacks Luna.

[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero YKw45Bb

During the game, it sometimes happens that allied AI heroes attack each other.
This happens when one of the allied heroes is located on the preprogrammed path (the previous turn) of another hero.
Example:
A green hero's pre-programmed path will cause him to capture a sawmill and he will end his movement on that sawmill.
A red hero's pre-programmed path will cause him to capture the same sawmill.
On the next turn, the green hero capture the sawmill and ends his movement on the sawmill.
When the red hero starts moving, he heads towards the sawmill and since the green hero is located on the sawmill, the red hero attacks the green hero despite being his ally.

In the current example, Agar attacks Luna even though it is possible to pass by to reach his destination.

The program should examine the situation before moving the heroes around, to prevent this from happening.

Files: AI hero attacks human ally hero.7z
Files: https://drive.google.com/file/d/1uvNTqhb7PW3HqbRJ2lmN0cIF4p5X3vlH/view?usp=sharing
Back to top Go down
 
[Heroes 2 AI Flaws] AI Hero Attacks Human Ally Hero
Back to top 
Page 1 of 1
 Similar topics
-
» [Heroes 2 AI Flaws] AI Hero Does Nothing For Several Turns
» [Heroes 2 AI Flaws] AI Hero Changes Strong Troops For Less Powerful Troops
» [Heroes 2 Flaws] Visual Hint For Castles With Ocean Access
» [Heroes 2 Editor Flaws] Nameless Town
» [Heroes 2 AI Flaws] Wasted AI Castle Troops

Permissions in this forum:You cannot reply to topics in this forum
~ Forums of Enroth ~ :: Modding Guild :: Heroes of Might and Magic II: Project Ironfist :: Bug Reports :: Original Heroes 2 Bugs-
Jump to: