8000 Combat, AI behavior, in instant and automatic combat modes, the AI causes troops to be lost when the combat could be won without loss (0.9.7 4208) · Issue #4254 · ihhub/fheroes2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Combat, AI behavior, in instant and automatic combat modes, the AI causes troops to be lost when the combat could be won without loss (0.9.7 4208) #4254

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8000 Open
1 task done
LeHerosInconnu opened this issue Sep 25, 2021 · 3 comments
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
Milestone

Comments

@LeHerosInconnu
Copy link

Preliminary checks

Describe the problem requiring a solution

In fheroes2, in instant and automatic combat modes, the AI causes troops to be lost when the combat could be won without loss.

In fheroes2:

AI:

2021-09-25.15-38-47.mp4

Player:

2021-09-25.15-39-25.mp4

AI:

2021-09-25.15-42-35.mp4

Player:

2021-09-25.15-43-11.mp4

Here are the save files:
AI instant combat bad choice.zip

Describe the possible solution

Make the AI smarter. :D

Additional info

No response

@LeHerosInconnu LeHerosInconnu added the improvement New feature, request or improvement label Sep 25, 2021
@oleg-derevenetz oleg-derevenetz added the AI Artificial intelligence behaviour label Sep 25, 2021
< 8000 /div>
@oleg-derevenetz oleg-derevenetz added this to the 0.9.9 milestone Sep 25, 2021
@ihhub ihhub modified the milestones: 0.9.9, 0.9.10 Nov 5, 2021
@ihhub ihhub modified the milestones: 0.9.10, 0.9.11 Dec 5, 2021
@ihhub ihhub modified the milestones: 0.9.11, 0.9.12 Dec 23, 2021
@ihhub ihhub modified the milestones: 0.9.12, 0.9.13 Feb 7, 2022
@ihhub ihhub modified the milestones: 0.9.13, 0.9.14 Mar 7, 2022
@ihhub ihhub modified the milestones: 0.9.14, 0.9.15 Apr 9, 2022
@ihhub ihhub modified the milestones: 0.9.15, 0.9.16 May 7, 2022
@ihhub ihhub modified the milestones: 0.9.16, 0.9.17 Jun 12, 2022
@ihhub ihhub modified the milestones: 0.9.17, 0.9.18 Jul 11, 2022
@ihhub ihhub modified the milestones: 0.9.18, 0.9.19 Aug 10, 2022
@ihhub ihhub modified the milestones: 0.9.19, 0.9.20 Sep 11, 2022
@ihhub ihhub modified the milestones: 0.9.20, 0.9.21 Oct 10, 2022
@ihhub ihhub modified the milestones: 0.9.21, 1.0 Nov 12, 2022
@ihhub ihhub added this to the 1.0.8 milestone Aug 14, 2023
@ihhub ihhub modified the milestones: 1.0.8, 1.0.9 Sep 11, 2023
@ihhub ihhub modified the milestones: 1.0.9, 1.0.10 Oct 11, 2023
@ihhub ihhub modified the milestones: 1.0.10, 1.0.11 Nov 18, 2023
@ihhub ihhub modified the milestones: 1.0.11, 1.1.0 Dec 23, 2023
@LeHerosInconnu
Copy link
Author

Another save for this (1.0.12 8369):
Before instant combat 01.zip

In fheroes2:

2024-02-08.14-40-01.mp4

@zenseii
Copy link
Collaborator
zenseii commented Feb 8, 2024

Another save for this (1.0.12 8369): Before instant combat 01.zip

In fheroes2:

2024-02-08.14-40-01.mp4

@LeHerosInconnu. I see that the point here is that the enemy hero shouldn't be allowed to retreat, which is a bit different from what the issue title describes. Perhaps it should be a separate issue?

@LeHerosInconnu
Copy link
Author
LeHerosInconnu commented Feb 8, 2024

@zenseii,

Another save for this (1.0.12 8369): Before instant combat 01.zip
In fheroes2:
2024-02-08.14-40-01.mp4

@LeHerosInconnu. I see that the point here is that the enemy hero shouldn't be allowed to retreat, which is a bit different from what the issue title describes. Perhaps it should be a separate issue?

I think both could be solved at the same time, because it's a question of teaching the AI to take into account the speed of opposing troops in the attack order of its troops, so as to leave the opponent no chance when possible. :)
But if you think it should be separate, let me know and I'll open a separate issue.

@ihhub ihhub modified the milestones: 1.1.0, 1.1.1 May 22, 2024
@ihhub ihhub modified the milestones: 1.1.1, 1.1.2 Jul 13, 2024
@ihhub ihhub modified the milestones: 1.1.2, 1.1.3 Sep 15, 2024
@ihhub ihhub modified the milestones: 1.1.3, 1.1.4 Oct 23, 2024
@ihhub ihhub modified the milestones: 1.1.4, 1.1.5 Nov 27, 2024
@ihhub ihhub modified the milestones: 1.1.5, 1.1.6 Dec 30, 2024
@ihhub ihhub modified the milestones: 1.1.6, 1.1.7 Feb 16, 2025
@ihhub ihhub modified the milestones: 1.1.7, 1.1.8 Mar 23, 2025
@ihhub ihhub modified the milestones: 1.1.8, 1.1.9 May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Artificial intelligence behaviour improvement New feature, request or improvement
Projects
None yet
Development

No branches or pull requests

4 participants
0