Page 1 of 1

AI Personalities? [Please Help]

PostPosted: 19 Dec 2019, 08:52
by PsyintZ
Hi there, fellow Forgies!

It has been a while since I played with Forge, but recently I have had an itch to get back into it. As usual, after installing, I like to play around with the settings. While poking around in there, I notice we have the option to choose the "AI Personality." I was wondering if you guys could assist me in learning the differences between the different options?


TL;DR:

Concerning the different AI Personalities, what are the differences between:

Experimental? [Not sure what this one does]
Default? [Does this just use the "original" AI from back in the day?]
Cautious? [Not willing to gamble and/or take silly chances?]
Reckless? [Willing to gamble and/or take more risky chances?]
Random (Every Match)? [These ones seem pretty self-explanatory]
Random (Every Game)? [These ones seem pretty self-explanatory]


Thanks in advance for any help you guys might be able to provide. Much appreciated!

Fellow Wizard,
PsyintZ

Re: AI Personalities? [Please Help]

PostPosted: 19 Dec 2019, 19:07
by SoulMan
If you look in your Forge install folder (PC) under /res/ai/ there is a .AI file for each of the AI types. You can look at these files in a plain text viewer (Notepad, Wordpad or the like) and get an idea of how each different AI works (there are good comments/notes in the files so it should be readable even by a non-programmer/techie).

An example snippet from the Reckless.AI file:

Code: Select all
# The amount of cards at which to stop considering mulligan
MULLIGAN_THRESHOLD=3

# Aggro preferences (enabling these will generally make the AI attack more aggressively)
# If the following option is enabled, the AI will generally play aggressively, seeking trades on offense when possible
# (the following two parameters will then be ignored)
PLAY_AGGRO=true
# The chance to attack aggressively into a potential trade (works even if not playing all-out aggro, e.g. PLAY_AGGRO disabled,
# but only in more favorable conditions in that case - when ahead in life count and in parity or ahead in creature count)
CHANCE_TO_ATTACK_INTO_TRADE=100
This also means it should be fairly easy if you want to make your own AI personalities to play the way you want them to, within the given parameters.

Re: AI Personalities? [Please Help]

PostPosted: 25 Dec 2019, 11:05
by PsyintZ
Superb response, SoulMan. Exactly what I was looking for. Thank you very much for your assistance, sir. It is greatly appreciated! I will go have a look at those files now. ;)

Sincerely,
~Psy