It is currently 15 Apr 2021, 12:10
   
Text Size

AI Personalities? [Please Help]

Moderators: timmermac, friarsol, Blacksmith, KrazyTheFox, Agetian, CCGHQ Admins

AI Personalities? [Please Help]

Postby PsyintZ » 19 Dec 2019, 08:52

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
Check out Psy's Ultimate Power Cube and let me know what you think! (Legacy/Large/SuperPowered)
PsyintZ
 
Posts: 27
Joined: 15 Dec 2016, 15:03
Location: Phoenix, AZ
Has thanked: 4 times
Been thanked: 0 time

Re: AI Personalities? [Please Help]

Postby SoulMan » 19 Dec 2019, 19:07

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.
User avatar
SoulMan
 
Posts: 8
Joined: 09 Apr 2019, 20:24
Has thanked: 4 times
Been thanked: 5 times

Re: AI Personalities? [Please Help]

Postby PsyintZ » 25 Dec 2019, 11:05

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
Check out Psy's Ultimate Power Cube and let me know what you think! (Legacy/Large/SuperPowered)
PsyintZ
 
Posts: 27
Joined: 15 Dec 2016, 15:03
Location: Phoenix, AZ
Has thanked: 4 times
Been thanked: 0 time


Return to Forge

Who is online

Users browsing this forum: No registered users and 24 guests


Who is online

In total there are 24 users online :: 0 registered, 0 hidden and 24 guests (based on users active over the past 10 minutes)
Most users ever online was 1371 on 09 Feb 2020, 16:22

Users browsing this forum: No registered users and 24 guests

Login Form