Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Library of Enlightenment > Thread: Artificial Intelligence
Thread: Artificial Intelligence This thread is 2 pages long: 1 2 · «PREV
batoonike
batoonike


Known Hero
posted July 19, 2012 08:19 PM

Well you can play a map vs AI, then save the game and load it up as a hotseat multiplayer game. This way you should be abled to see how much resources the AI had at any point and what it has built. For instance it doesn't seem to get any bonus resources at the start of the game.

I made a test map where the AI doesn't have anything but a town. The town takes away a lot of resources each day so the AI shouldnt be abled to do anything, IF it has to actually pay for stuff. I gave it 3 weeks and it indeed did not build anything at all, no units, no hero, no buildings. So I would say that the AI doesn't get any resource bonuses in impossible. Tested it on 4.0.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Star_King
Star_King


Known Hero
posted July 19, 2012 10:13 PM

Maybe the AI gets bonus resources at the end of turns, so in your test the town was taking them away too? A better test would be to have the town take away equal to the AI's daily income (and take away all resources first turn), not just have the town take away a lot.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Zenofex
Zenofex


Responsible
Legendary Hero
Kreegan-atheist
posted July 19, 2012 10:18 PM

I haven't played vs. the AI for quite a while but I clearly remember one occasion on a RMG map when I had the blue AI very close to me in the underground, in a separate cavern (found it with an observatory), which managed to hire 3 heroes in day 1 on Impossible + the initial population from the town. There certainly wasn't 7500+ gold around its town so it's quite unlikely to start with 0 resources. It might be getting double from what it finds on the map though.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted July 19, 2012 10:53 PM
Edited by Salamandre at 23:33, 19 Jul 2012.

Quote:
I made a test map where the AI doesn't have anything but a town.


If in your test there is nothing around to flag, to battle, then AI indeed will do nothing. Not conclusive.

@Zenofex: AI will always start with 10k gold + resources when 130%-200% difficulty. With 8k and 6k at lower difficulties. The impossible rating is for giving a challenge to human player, not AI, it makes sense.

@All: use WoG and get the right values when doing such tests, or you will only speculate.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
batoonike
batoonike


Known Hero
posted July 20, 2012 12:02 PM

@Nothing to flag: This is a valid idea but there is map to explore. If you put just town on a map the AI will make hero and go explore, but it didn't.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Peterlerock
Peterlerock


Adventuring Hero
posted July 20, 2012 12:27 PM

That's what the AI should do, but it doesn't.

If you want the AI to move or do anything, you have to give it something to grab, be it stats, morale, resources...
It likes to pick up thinks, otherwise it gets bored and stays home...

It's like this...



If the AI has no vision of any reward its heroes can pick up, those heroes will not do anything.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted July 20, 2012 01:06 PM

AI plays VERY well if you give him all he needs and remove what confuses him. There are a few chinese maps out which enhance AI to unseen levels before, I mean he does everything an human (almost) would do, in battle and outside. You have no where to hide, he will follow you on XL maps like he is on steroids.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted July 20, 2012 01:14 PM
Edited by Warmonger at 13:20, 20 Jul 2012.

Quote:
AI plays VERY well if you give him all he needs and remove what confuses him.

Bah, but that's not a real intelligence. Lab rat will find its way through the maze as well if there's nothing to confuse him. Really good AI should adapt in very different situations and handle unclear conditions.
Quote:
If in your test there is nothing around to flag, to battle, then AI indeed will do nothing. Not conclusive.

The conclusion is it can't handle empty map, duh. Of course it should go and explore when there's nothing nearby.
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Salamandre
Salamandre


Admirable
Omnipresent Hero
Wog refugee
posted July 20, 2012 01:35 PM

I did not say AI is good, but (regardless what thread says) it can offer real challenges if you know what to do with. As we say in music, there is no bad piano, but only bad pianist.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
angelito
angelito


Honorable
Undefeatable Hero
proud father of a princess
posted July 20, 2012 03:53 PM

Maybe you need the right type of computer player when makeing such a scenario (just a map and nothing else...).
As far as I know, there are 3 different types of AI players:
- warriors
- builders
- explorers

Maybe if you have that explorer guy, he will explore, no matter what...
____________
Better judged by 12 than carried by 6.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
batoonike
batoonike


Known Hero
posted July 20, 2012 05:32 PM

Quote:
Quote:

Quote:
If in your test there is nothing around to flag, to battle, then AI indeed will do nothing. Not conclusive.

The conclusion is it can't handle empty map, duh. Of course it should go and explore when there's nothing nearby.


It goes to explore. It didn't go in this case, because the map took away all it's resources to find out if it gets free stuff or not.

Btw, the AI is brilliant. It doesn't play as good as humans do but programming it to do all the things it does is already extremely hard. If you don't find it challenging enough then fight a team of 7 AIs on medium random map with impossible difficulty. If you want it to play more like human on any map then though luck Making human-like AI that could play on any map would take far more effort than making the entire homm series. And I dont think I'm exaggerating. Making AI heroes interact with eachother in a meaningful way and chain armies and set optimal long term goals is nearly impossible.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Warmonger
Warmonger


Promising
Legendary Hero
fallen artist
posted July 20, 2012 05:45 PM

Well, there was a discussion about chaining some time ago. For me it feels like breaking game mechanics, so I wouldn't like to see AI doing just teh same even if it was technically possible.

The problem with humans is that they know the map (to some extent) before they even start to play and it's not considered cheating, while proper AI shouldn't know the map at all. Also, humans can spot a hole in AI, while AI certainly won't analyze it's own behaviour.
____________
The future of Heroes 3 is here!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 2 pages long: 1 2 · «PREV
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0407 seconds