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: Fight value and AI value, how do they work?
Thread: Fight value and AI value, how do they work?
Varjo
Varjo

Tavern Dweller
posted April 01, 2014 12:15 PM

Fight value and AI value, how do they work?

The CRTRAITS.TXT has two columns named "Fight Value" and "AI Value". I tried to google if there was information about how they work and how are they calculated, but could not find a definitive answer. Has someone researched the matter more closely, or have any clear answers how they affect the gameplay or how are they calculated?

I made a test, where I attacked a garrison with 7 stacks of Archers with a hero with 1 Pikeman and one 1 Angel. First I changed only Fight Value of Angels to 50 (Pikemen has 100), and then only AI Value of angels to 50 (Pikemen has 80), and finally I changed them both to 50. Every time, the archers attacked the Pikeman first. So clearly they are not directly related how AI priors the targets.



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


Legendary Hero
posted April 01, 2014 04:26 PM

Varjo said:
The CRTRAITS.TXT has two columns named "Fight Value" and "AI Value". I tried to google if there was information about how they work and how are they calculated, but could not find a definitive answer. Has someone researched the matter more closely, or have any clear answers how they affect the gameplay or how are they calculated?

I made a test, where I attacked a garrison with 7 stacks of Archers with a hero with 1 Pikeman and one 1 Angel. First I changed only Fight Value of Angels to 50 (Pikemen has 100), and then only AI Value of angels to 50 (Pikemen has 80), and finally I changed them both to 50. Every time, the archers attacked the Pikeman first. So clearly they are not directly related how AI priors the targets.





I read something about it somewhere in the HOMM Tactics so I know is discussed but I don't remember where. I know AI value affects the experience you recive when you sacrifice the creature in the Altar.

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

Tavern Dweller
posted April 01, 2014 05:36 PM
Edited by Varjo at 18:09, 01 Apr 2014.

bloodsucker said:
I know AI value affects the experience you recive when you sacrifice the creature in the Altar.


Interesting! It appears, that sacrifacing a creature on the Altar gives experience equal to 12,5% of its AI Value. From Pikeman I got 10, AI Value is 80, and by changing Angels AI Value to 10'000, I got 1250 exp.

I found a topic from Russian forums, that at least somehow touch on the matter: http://wforum.heroes35.net/showthread.php?tid=4474.  Unfortunately, I do not understand Russian and google translate is just not enough.

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


Bad-mannered
Famous Hero
100% Devil
posted April 04, 2014 12:35 PM

Varjo said:
bloodsucker said:
I know AI value affects the experience you recive when you sacrifice the creature in the Altar.


Interesting! It appears, that sacrifacing a creature on the Altar gives experience equal to 12,5% of its AI Value. From Pikeman I got 10, AI Value is 80, and by changing Angels AI Value to 10'000, I got 1250 exp.

I found a topic from Russian forums, that at least somehow touch on the matter: http://wforum.heroes35.net/showthread.php?tid=4474.  Unfortunately, I do not understand Russian and google translate is just not enough.


google can translate the whole page, something apears under the toolbar and it asks you if you want to translate. through the problem is the pictures in russian. google only translates text.
____________

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

Tavern Dweller
posted April 07, 2014 09:50 PM

Herry said:
google can translate the whole page, something apears under the toolbar and it asks you if you want to translate. through the problem is the pictures in russian. google only translates text.


Thanks for the tip. However, the problem is not that I do not know how to use google translator. But even after the translation, I could not figure out what the page was saying. So perhaps the problem is my overall limited understanding.

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


Legendary Hero
posted April 08, 2014 03:36 AM
Edited by bloodsucker at 18:00, 08 Apr 2014.

I don't care about google translator but one thing I can assure you: I found the information about the AI value and the Altar here in Heroes Community, somewhere in the Library of Enlightment, I think in HOMM Tactics.
All the information you asked for was there, I only can't recall it exactly. Take a look for yourself.

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


Bad-mannered
Famous Hero
100% Devil
posted April 09, 2014 03:53 PM

Oh come on guys you have 0 searching skill, i found this in a minute:
Quote:
Quote:

(Crtraits)
Units:
...
Fight value (not sure, perhaps it's used during setting guards) current setting example: Pikeman's Fight Value is 100, Archangel's is 6033.
AI Value (not sure, perhaps it's used by AI to determine which guards to fight first) current setting example: Pikeman's AI Value is 80, Archangel's is 8776.


Interestingly, it's the other way round. Fight value is almost unused in the exe file, only twice as far as I can tell. One occurence is (guess) the Whirlwind, the dying creatures are compared according to the Fight value (a few lowest die).

The other occurence is much more interesting. The fonction seems to assess a target combat value of a unit stack. I'm 100% sure it is related to AI spell targetting, positive AND negative. It affects probably all AI targetted spells. But there is more, and it may even touch the AI attack target selection (shot in the dark). Extensive testing may prove it.

The other value ("AI value") is used a lot throughout the exe. No idea about it, although there are a few hints it may be used for AI strategical army strength assessment, among other things.


Now, if we look at the Fight values again, there are a lot of astonishing nubmers. Halberdiers, for instance, have the same value as Archers and Marksmen (!). So, quite probably, when AI casts blind spell and it has a stack with 25 archers and 24 marksmen to choose from, it will go for the archers. Same problem may be found with Wood/Grand Elves. Overall, AI value column seems to be much better in assessing real danger than the Fight column, that is actually used. Pit Lord, Vampire Lord have generally lower valuation, although they should be primary targets for AI.

Fight value is far from being the only factor. But a good run of tests with changed values could lead to an improved AI performance, minimally in the spellcasting area.


hope it's not wrong info, exact page:
Here

but i can't believe it guys i found this in under a minute...
____________

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


Bad-mannered
Famous Hero
100% Devil
posted April 09, 2014 03:55 PM

still digging, yet even more info!
info
you can't be serious, i found them all extremely fast.
____________

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

Tavern Dweller
posted April 09, 2014 04:30 PM

May I ask why you write in so demeaning way? And have you truly read my question and your posts? Because none of those "definitively" answers my inital question. The first of your posts I also found myself, and while it gives some insights to the issue, it is also quite vague in its answers.

The second of your post is actually a good article that I did not find. Mainly because my purpose was to ask how Fight Value and AI Value work in HoMM3, which I failed to mention. Sorry for that.

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


Responsible
Undefeatable Hero
What if Elvin was female?
posted April 09, 2014 04:48 PM

Don't mind herry, he's got some issues.

The forum does have a number of russian speaking members so if you really need that thread solved, there are people who can help.

Or you could try and catch one of the more knowledgeable guys like Salamandre to ask about this.
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

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


Bad-mannered
Famous Hero
100% Devil
posted April 09, 2014 04:56 PM

good luck with that, rarely do you find him outside wog related threads, but anyways that's what i could come up with so don't be rude, i have read every single post in this thread but i'll give you that:
the problem in this community is that if you don't find something yourself, you will never find it, why? it is only you that takes this as top priority, we don't so no pain no gain actually. but that doesn't mean we are not willing to help, it's just that there are limited resources.
____________

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

Tavern Dweller
posted April 09, 2014 05:03 PM

Herry said:
good luck with that, rarely do you find him outside wog related threads, but anyways that's what i could come up with so don't be rude, i have read every single post in this thread but i'll give you that:
the problem in this community is that if you don't find something yourself, you will never find it, why? it is only you that takes this as top priority, we don't so no pain no gain actually. but that doesn't mean we are not willing to help, it's just that there are limited resources.


Ok, thanks anyway. I'll keep searching. Perhaps I will contact Salamandre that JoonasTo suggested. It may even be, that they do not have significant value in custom scenarios.

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


Responsible
Undefeatable Hero
On the Other Side!
posted April 09, 2014 09:44 PM

JoonasTo said:
Or you could try and catch one of the more knowledgeable guys like Salamandre to ask about this.

I wouldn't reccomend Salamandre since he left the forum.
____________

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


Responsible
Undefeatable Hero
What if Elvin was female?
posted April 10, 2014 02:48 PM

Lol what? Since when?
Stoooormyyyy, what did you do?
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Storm-Giant
Storm-Giant


Responsible
Undefeatable Hero
On the Other Side!
posted April 10, 2014 02:50 PM

Since March.
____________

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


Responsible
Undefeatable Hero
What if Elvin was female?
posted April 10, 2014 02:54 PM

Well damn, that's a shame.

But I quess the man has his career come first before all the work on H3.
____________
DON'T BE A NOOB, JOIN A.D.V.E.N.T.U.R.E.

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
Storm-Giant
Storm-Giant


Responsible
Undefeatable Hero
On the Other Side!
posted April 10, 2014 03:01 PM
Edited by Storm-Giant at 15:01, 10 Apr 2014.

He's already a legend, and who knows what the future holds, maybe one day he'll decide to come back
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0548 seconds