MantisBT - VCMI
View Issue Details
0002987VCMIAI - Adventure Mappublic2018-08-03 00:242023-04-12 16:59
tukkek 
Warmonger 
highmajorhave not tried
acknowledgedopen 
LinuxDebianBuster (testing)
0.99 
 
0002987: AI spamming heroes to the exclusion of everything else
I'm playing my first scenario on VCMI and I must have seen the AI build two or three dozen heroes. I know there's some legitimate strategies that involve spamming heroes but it seems clear to me that this is a problem with the AI.

Most of these heroes had only one stack of units, with one unit in it. I think maybe two or three had a token army with maybe a 20-sized stack. Practically all others (80% or 90%) had one stack of 1 unit with them.

When I reach their town, it is literally unguarded so I walk in and take it - only to see that there are close to 250 units not hired. Meanwhile the AI was recruiting three of four heroes per turn and giving them no units at all (which funnily enough kept me busy defeating a handful of them each turn so I had trouble reaching the castle lol).

I'm playing on normal difficulty but even then this barely sounds like any semblance of proper behavior, so I must assume it's a bug. The AI didn't even bother to leave one of the 30 heroes with 1 stack of 1 unit home to guard the castle, so I just walked right in after defeating 3-4 heroes per turn for several turns in a row.
I played the first scenario on the single-player game list on Normal difficulty. Said AI was the blue player on the island to the south, still on the surface map.

Data files are from GOG's Heroes 3 Complete.
Some heroes seemed to stay in place and do nothing for many turns at a time, but most of them were moving about (probably not doing much at all with their 1 unit's worth of an army).

I have tagged this issue as major/high priority because honestly I might as well have played this game with no AI at all. It was absolutely worthless and really, pretty much as good as having no AI at all.

This might sound a little bit dire but other than that I'd like to take the opportunity to thank everyone involved in VCMI - the game runs like a charm, from installation to the launcher to the game itself, it's more feature-complete than the original version and I'm sure these outstanding issues will be fixed soon enough! I'm very proud to see how far the project has come and given a few minor tweaks I could easily call this the best open-source game engine remake bar none other! Thanks you so much for all the effort!
No tags attached.
Issue History
2018-08-03 00:24tukkekNew Issue
2018-08-03 09:44WarmongerNote Added: 0007611
2018-08-03 09:44WarmongerAssigned To => Warmonger
2018-08-03 09:44WarmongerStatusnew => confirmed
2018-08-03 09:44WarmongerNote Edited: 0007611bug_revision_view_page.php?bugnote_id=7611#r3507
2018-08-03 13:00tukkekNote Added: 0007612
2023-01-26 12:20PovelitelNote Added: 0008464
2023-04-12 16:59IvanStatusconfirmed => acknowledged

Notes
(0007611)
Warmonger   
2018-08-03 09:44   
Resource & army management was significantly improved just a few days ago.

As to defending town, that's separate feature not yet implemented.

(0007612)
tukkek   
2018-08-03 13:00   
Alright, I have updated the "What is still missing" list on the wiki to reflect that. I guess I was coming to 0.99 thinking it meant it was 99% done compared to the original base game.

I might check out the latest code and build it myself at some point. I'd love to contribute some minor fixes at first but honestly I'm pretty busy with other stuff so I'm not sure I'll be able to follow through.

Thank you again for your work - as I said in the previous notes and others that you might have seen, VCMI is honestly looking amazing. Good luck patching what's left for a full 1.0 release!
(0008464)
Povelitel   
2023-01-26 12:20   
In addition to VCAI, now in the launcher there is an opportunity to put NullkillerAI, it plays in a completely different way. Try it, it's a different experience.