MantisBT - VCMI
View Issue Details
0003006VCMIAI - Adventure Mappublic2018-09-08 11:352023-04-12 16:59
0003006: AI doesn't recruit creatures from the town
I was testing the latest version and found AI seldom recruit creature from their towns, even my heroes close to their town, they have no defense action. I think it might be put into priority and it would affect the game.
No tags attached.
Issue History
2018-09-08 11:35By003New Issue
2018-09-08 16:13WarmongerNote Added: 0007643
2018-09-08 16:13WarmongerStatusnew => confirmed
2018-09-08 16:13WarmongerSeveritymajor => feature
2018-09-20 12:44By003Note Added: 0007646
2018-09-20 15:33WarmongerNote Added: 0007647
2018-09-21 07:55By003Note Added: 0007648
2018-09-21 08:02misioklesNote Added: 0007649
2018-09-21 08:17By003Note Added: 0007650
2018-09-21 08:24By003Note Edited: 0007650bug_revision_view_page.php?bugnote_id=7650#r3533
2018-09-21 08:31By003Note Added: 0007651
2018-09-21 08:33By003Note Edited: 0007651bug_revision_view_page.php?bugnote_id=7651#r3535
2018-09-21 08:50NullkillerNote Added: 0007652
2018-09-26 08:59By003Note Added: 0007654
2022-03-16 12:43PovelitelNote Added: 0008122
2023-04-12 16:59IvanStatusconfirmed => acknowledged

2018-09-08 16:13   
AI defending towns is not implemented yet.
2018-09-20 12:44   
Only need it recruits creatures from the town everyday.
2018-09-20 15:33   
That was changed in ResourceManager branch, now AI only recruits units when it needs to.
2018-09-21 07:55   
Maybe it need to be recovered. Now it is extremely easy.
2018-09-21 08:02   
AI development is the most hardest and sophiticated thing to compose. You can read this topic and help with making good algorithms and task for AI. [^]
2018-09-21 08:17   
(edited on: 2018-09-21 08:24)
I think so. Now I only find AI seldom recruit creatures and very easy to eliminate. If they recruit creatures every day and put them into their towns, it would not be in this. I really know about defending AI should be very hard. Even in original H3, a little maneuver can break the AI's defense(maybe just use Dimension Door or put some low speed creatures in mines..)..

2018-09-21 08:31   
(edited on: 2018-09-21 08:33)
It is very hard for AI to determine when is the 'suitable time' for recruiting. Maybe they need a easier algorithm. Now even my heroes can reach their town only one step, it still not a 'suitable time' for them..

2018-09-21 08:50   
Defense logic is required. Also we can try to use heroes from the tavern and push them through standard AI logic like we already bought them. AI pathfinder when asked to visit a tile by such hero will request to buy him first.
2018-09-26 08:59   
Any updates for current AI? Or just making a new AI for recruiting armies?
2022-03-16 12:43   
@By003 Try to play with Nullkiller AI from the develop. As for a bot, it plays pretty well, although many things have not yet been implemented in it. (Only in the launcher don't forget to switch the AI)