VCMI 0.93c - development version (r3548)

AI is not complete and we are all aware of that.
Just be patient and wait for proper solution. No more workarounds.

Wow…I haven’t played recently to see something like that.

AFAIK, making AI is very hard, so it will probably take some time.

If you want, we can play a map together some day, in order to bypass that obstacle of stupid AI. :wink:

I cant generate any random map - no matter what i choose.

There is no random map generator yet.

There is. Not very useful, but still. We even have separate category for it on Bugtracker ><

Its true. I noticed it back in 0.92

logical

And he ignores the city. My city. That is easy to grab. He runs several heroes of different players, and each of them ignores the city. What is very strange

With him how easy it is to play that did not even fun to play. There is no intrigue at all.

I believe that:

  1. it is necessary to give the computer the ability to see the whole map

  2. should be allowed to see the whole army of your heroes.

  3. should be given the opportunity to see all of your spells and mana, artifacts, and settings.

  4. Consider this information to maximize the benefits

  5. We must teach him to consider one more fight another round! Several moves ahead

At least that.

Yet it would be good to teach him to play in the chain. By submitting an army from one heroes to another, and so clearing the teritory. Mining gold and resources.

The very important statement to start with: AI does not cheat, as no player is allowed to cheat.

AI buys all avaliable troops at the end of each round, if only can afford.

Since 4. is certainly missing and will be missing for a long time, there’s no point to implement 2 or 3.

Easy to say, but in fact impossible to realize. This is way to complex to plan exhaustively, though we have some resonable planning already.

For now it is important to teach AI what it can’t do completely, such as:

  • Use adventure spells to move around
  • Use teleports (not easy, since they are random and unpredictable)
  • Gather needed resources and build needed buildings, all at once
  • Farm banks and other treasures
  • Manage artifacts
  • Evaluate treasures

AI partially can do that, but managing heroes seems to be very complex problem, but some cleanup here is possible. Certainly it’s not possible for AI to use chaining as human do.

AI should attack the city if it’s unguarded.

Should, but for some reason it does not always make it. Yet it’s very confusing starting hero. Sitting in the city. I now have no fun saves, but I’ve seen it many times

In my opinion, even if he is playing with cheats, but plays harder than playing as now.

And then the fair or not fair? Play so much more interesting.

That is not working at all, AI doesn’t buy anything. But at least AI is building town dwellings.

AI doesn’t attack unguarded cities usually.

PS I don’t agree with idea, that AI must not cheat, at least now. AI is not ready yet, so it’s urgent to make him at least defensive.
I propose two fixes:

  1. give AI much more resources than to human players.
  2. fix issue with not buying troops.

That’ s first priority thing. If map is explored to AI, it’s also be good, and classical (like in HMM3 you resembling).

I’ve spent probably several hundrets of hours watching AI and it does NOT sit in a city and always buy units if it can. If you claim otherwise, report it as a bug.

I think (and probably Tow agrees with me) exactly opposite. Since AI is not completely functional, there is no point to try it make it challenging yet.

Just don’t call it ‘cheating’, think about ‘handicap’ instead.

Maybe it’s just with standard towns?
OK, will post this to bugtracker.

PS About “Sitting in the city” are not my words. AI heroes are exploring map. But do this mostly with only starting troops (don’t buy them).

Please look at this video. You see a lot of interesting things.

youtu.be/rhPQPd9Vtt4
(watch 720 : ) )

Handicap certainly should be. Because the computer does not have any resistance.

Seems like we can solve this issue by ourselves.
In config/ folder there is a file
startres.json

So we can change starting AI resources to some millions.

PS Ooo, another deal. On second week AI already bought 7th level units (Thieves Guild said). And his hero has parameters like mine.

It is simple to add resources - it a little. It is necessary to give access to armies, artifacts, a manna, the card. Well and to improve certainly algorithms of the miscalculation for effective use of all this information.

  • the emulator of fights of the computer with the person. To consider possible options of application of spells which are in the book (the bot has to know about it). Naturally the miscalculation of fight has to go more than 1 round.

Here then it will be interesting :slight_smile:


“mithril”: 0 What it for parameter?

As for AI there are actually two issues:

  • AI doesn’t cheat. While I may tweak engine to give AI an advantage on higher difficulty levels, it is not a solution to the issue. AI that is obniouxiously cheating is as frustrating for me as the stupid, weak AI. (well, because it is still the same stupid AI)
  • AI algorithms need further development and tweaking. Now AI has its goal-based deduction system and is so obsossed about realizing the macro goals that it oftens outrightly ignore what is going on around hero. (Eg. it wants to reveal the fog of war, so it moves the hero ignoring nearby resources, undefended towns, and so on)
    AI should take into account the hero surroundings, yet it can’t be too sensitive about it or the heroes will just follow the nearby object, without achieving any strategical goals. It is difficult to find a proper balance

VCNI, after WoG, from the beginning uses internally 8 resource types, the eight being the “Mithril”. Currently it serves no function.

I’m going to refactor adventure AI as it becomes unmanageable and messy. Later plan to implement fuzzy logic on large scale to allow smarter choice of multiple options.

In classic Heroes this is solved by whole map opened to AI. Maybe for now make it like in HMM3?

That you write that close to an ideal. (So it is difficult in development, and long) :). I will wait with big impatience of these changes. And I certainly will be very glad to clever artificial intelligence.

But nevertheless I have a big request: to allow players a choice to change independently these parameters, (if it is possible) that the player could play with a handicap. (Full investigation of the map, full information on armies, artifacts, manna, movement of heroes and so on).
Ideally looks if you could make in a launcher an additional option in a look fashion. It is real? Let it isn’t obligatory to adjust these all parameters to the user, and already to receive the adjusted intelligence on full capacity in the form of installation fashion. Would be very much cool!

And if it to teach to carry out perfectly fights, (even if knowing information from the book) it would be really super.

Personally it would be very interesting to me to play in such heroes. Full hardcore and permissiveness. It would return me interest to heroes.
I am sure that such product will find the admirers and over time too will occupy a worthy niche.