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: AI of HOMM 3 revealed
Thread: AI of HOMM 3 revealed This thread is 6 pages long: 1 2 3 4 5 6 · «PREV
bloodsucker
bloodsucker


Legendary Hero
posted May 30, 2016 05:31 PM
Edited by bloodsucker at 19:52, 30 May 2016.

Problem is, if you watch a good player he will probably not pick artifacts with main even when the backpack isn't full and sometimes the guy that is suppose to pick them will only be able to do it next turn.
This will probably not happen if the object in question is book of air, earth or angel wings but then you would need a very "subjective" code for what to pick and what not, noone leaves the shackles or the recanter's cloack that are level 3 artifacts but you may leave the sea captian's hat that is a relic.

Btw, where did you found this Angel Wings? Isn't your custom map free of disturbing movement spells and artifacts?

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


Legendary Hero
Heroes is love, Heroes is life
posted September 29, 2016 11:56 AM
Edited by phoenix4ever at 11:58, 29 Sep 2016.

AI and combat spells:
I did some testing and checked out the SPTRAITS.TXT file (containing AI values for casting a certain spell) and it turns out AI will never cast the following spells: Remove Obstacle, Quicksand, Fire Wall, Force Field, Land Mine and Berserk, seems like it is hardcoded to never cast those spells. I messed with the AI values and set them extremely high, still AI would never cast those spells. I wonder why and it's another negative for Eagle Eye, since you can't ever hope to learn those spells from AI.

I think those are the 6 combat spells AI will never cast.
If you have seen AI cast any of the above spells please share and also if you think there are other spells AI will never cast.  

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


Promising
Supreme Hero
النور
posted September 29, 2016 12:12 PM

Hypnotize

I think the AI never uses the Hypnotize spell, never did it with me at maximum difficulties.

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


Legendary Hero
Heroes is love, Heroes is life
posted September 29, 2016 12:19 PM

Actually it will cast Hypnotize.
The reason it may seem like it never will, is because the power modifier for Hypnotize is so low that it effects only very small stacks.
You can test it if you fight versus Astral and go against him with a few stack of imps for example.

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


Famous Hero
posted September 29, 2016 06:49 PM

I understand 5 of those spells as they require high thinking to use properly, but berzerker is pretty straightforward. I´m surprised that it´s not used by AI.
____________

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


Legendary Hero
Heroes is love, Heroes is life
posted September 29, 2016 07:38 PM

Well it could easily use Quicksand and Land Mine as those are placed randomly.
Berserk is an awesome spell and I imagine AI would be a lot more scary if it could cast it.
Remove Obstacle, Fire Wall and Force Field might require some more thinking as you said, so it might make sense AI won't cast those.

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


Promising
Famous Hero
DooM prophet
posted September 30, 2016 09:02 AM
Edited by b0rsuk at 09:03, 30 Sep 2016.

I have a great idea how to improve HOMM artificial intelligence:

Make it reload when thing go wrong. And starts losing over and over, it will ragequit and you can never finish the scenario.

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


Legendary Hero
Heroes is love, Heroes is life
posted September 30, 2016 09:19 AM

LOL I bet the AI hates when we do that.

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


Promising
Famous Hero
DooM prophet
posted September 30, 2016 09:32 AM
Edited by b0rsuk at 09:36, 30 Sep 2016.

A slightly more serious suggestion: keep track of the number of times the game was loaded from a particular savegame. Then give player handicap scaling with the number of times the game was loaded from that save (Giving non-player armies bonuses instead is the same thing).

Naturally the logical progression is Ironman Mode.

Pollo2002 said:
I understand 5 of those spells as they require high thinking to use properly, but berzerker is pretty straightforward. I´m surprised that it´s not used by AI.

According to kyrub, it is done on purpose because it would be too frustrating for poor player, and player needs to be entertained and feel superior. If that reason is true, why do they still cast Armageddon, the supreme "sore loser" spell ?

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


Legendary Hero
Heroes is love, Heroes is life
posted September 30, 2016 09:43 AM

I think it would be more interesting if it used all spells, also because of Eagle Eye. And yes Armageddon is a spell you definitely don't wan't in the face!

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


Promising
Famous Hero
DooM prophet
posted September 30, 2016 10:25 AM
Edited by b0rsuk at 10:28, 30 Sep 2016.

Or it may be just a bug. I remember a bug I discovered in Master of Magic - "Invulnerability" spell is impossible to dispel. That bug went unnoticed for decades and it's an influential game. Why assume HOMM3 is perfect ?

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


Legendary Hero
Heroes is love, Heroes is life
posted September 30, 2016 10:46 PM

Yeah it might be a bug.
Those 6 spells are set to AI value 1 (the lowest) and when I did my test I set them to 150 (as high as the elemental spells at expert level, the highest AI value) still it would'nt cast them, so could perhaps be a bug or they are "turned off" elsewhere...      

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


Legendary Hero
Heroes is love, Heroes is life
posted October 07, 2016 04:38 PM
Edited by phoenix4ever at 16:40, 07 Oct 2016.

Regarding the Disguise spell, does anyone know if this is correct:
"In at least earlier versions, "One day" meant that the effect ended upon hitting "End turn". This made this spell totally useless. In the patched SOD, the effect will last until the end of the last person's turn, thus making it much more useful for players in the early part of the turn (starting with Red). Vs. the higher level AI, however (Expert/Impossible) the spell is completely useless, as the AI is able to see the true strength of the army in question, and react accordingly. Additionally, Disguise helps against an enemy trying to view you with Visions. He will still see your fake numbers, but not what troops you have." - It is taken from http://heroes.thelazy.net/wiki/Disguise

Is it true Disguise does'nt work vs AI at expert/impossible? And does AI ever cast Disguise itself?
If the answer to the first question is yes and the second is no, I guess there is no reason to enable Disguise when playing vs AI at expert/impossible.      

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


Promising
Supreme Hero
النور
posted October 08, 2016 06:18 PM
Edited by AlHazin at 18:19, 08 Oct 2016.

On impossible, the AI doesn't use Disguise, as far as I know.

Now does it know the exact numbers, even after we use the Disguise spell, I'm not sure. What I know is that it will calculate every possibility according to its own troops.

For example, you got 20 griffins. If the AI "right clicks" on your hero, it will see lots of griffins. Now it will calculate, knowing its own troops, if it can defeat you, and with how many losses, in every given case, which means (if the AI has 2 devils for example) :

- 2 devils vs 20 griffins ;
- 2 devils vs 21 griffins ;
- 2 devils vs 22 griffins ;
.
.
.
- 2 devils vs 59 griffins.

The AI knows its hero's primary stats, spell points available, morale and luck probabilities etc, and uses them in the calculation. Does it know ours? NO clue.

If I remember correctly, if the AI finds out that it will lose 25% or more of its troops, it won't attack. It might make exceptions for example when attacking a town, it will likely sacrifice many troops if it can succesfully capture it, or when it is desperately in need of a town.

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


Legendary Hero
Heroes is love, Heroes is life
posted October 08, 2016 10:44 PM

Yeah I guess it's hard to know if the spell actually works or not? All I know is that I never cast it and I always play at impossible, so maybe the spell is pointless...

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


Promising
Supreme Hero
النور
posted October 09, 2016 10:14 AM

At least for other human players, it works. It's best for multiplayer then I guess.

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


Undefeatable Hero
Therefore I am
posted March 19, 2024 12:01 AM

If computer AI uses the waiting move as chess.. HotA never nerfed it.. In chess waiting move means to prepare checkmate, and other traps.. An example of scholar's mate is a very known the four-move checkmate: 1 e4 e5 2 Bc4 Nc6 3 Qh5? Nf6?? 4 Qxf7#, but if 4 - g6!, so 5 Qf3, and black moves 5. - Nf6!, and then white moves 6. anything good move, and white is waiting for black is forgotten to defense f7.. A normal! But no many players can learn from computer AI.. Because many people can't never learn chess rule.. It after many people can't play chess well, when they can't count moves.. If they can count moves.. Congrat! It after they can't look chessboard without count or what? Yes only look, and it after the eye gets over 20 movement alternatives, for example, but another counts only 1 or 2 alternatives.. If one is a good and promise, so count it.. Much lesser time.. When another gives move, and look knows it is very weak move.. Impossible

Amateur's look



Master's look



Puzzle? If you don't understand a move.. So computer AI hasn't a problem..



And chess computer 3640 ELO rating now..

Ok waiting move also call hit & run..
____________
Fight MWMs - stand teach

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


Undefeatable Hero
Therefore I am
posted March 19, 2024 12:58 AM

Another what? If you fear defeat! You are weak as HoMM computer AI.. When in chess master is playing attack against you, even if you know the move, why do/did master try? A stoopid question, if you don't try, you can't win.. But master is always trying again and again.. And another fist is speaking to you, if your fist can't work, you lose fight.. You must be more attacker or very perfidious by guile trap.. You hit his bollocks, rib, jaw, etc And so HoMM isn't fear topic, because you can't get a prize, money, hall of fame.. Car sports, etc are the same as HoMM.. So computer has fear.. So computer can't never develop a HoMM, thus lacked memory and database = save old games..

TP? If you run 60 meter, and Usain Bolt 100 meter.. So ok, because he isn't the God.. Bolt beat you.. So you can play without TP.. HoMM computer isn't strong.. TP addict? Maybe fear? I'm sorry/pardon about both..

I go to bed, so if you will return here., I tell you more..
____________
Fight MWMs - stand teach

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

Page compiled in 0.0507 seconds