User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Athena's RGD decision making skills

Sun Sep 14, 2014 8:51 am

I'm not sure if this is a suggestion for improvement or not, as I'm not really sure what's going on.
I see Athena, playing the Union, using it's Suspend Habeas Corpus card quite often. However, it doesn't make sense to me why she's playing it in certain locations. For example:

[ATTACH]31071[/ATTACH]
I didn't start any demonstrations there, or send raiders there, or anything. The population is overwhelmingly Union, so...
Does anyone know what the story here may be?
Attachments
Schuylkill.png

minipol
General
Posts: 560
Joined: Fri Oct 11, 2013 1:24 pm

Sun Sep 14, 2014 2:02 pm

Maybe she does it to further increase the loyalty as it brings bonuses.
It's worthwhile to play these cards in high productive areas to further increase the production you get.
But this case, I doesn't seem like Schuylkill is a very productive region.
It doesn't seem very logical to me. I have seen this in my games too.

grimjaw
General
Posts: 506
Joined: Wed Feb 09, 2011 5:38 am
Location: Arkansas

Sun Sep 14, 2014 3:19 pm

I see it with other cards that don't make any sense. Athena will lay telegraph cable in northern tier of states. She'll scorch regions far behind her own lines. Athena could use some help playing the cards.

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Sun Sep 14, 2014 3:28 pm

I was going to mention some of those problems, as well. Thanks for bringing it up.

Maybe I should repost this in the improvements forum.

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Sep 15, 2014 9:29 am

That's noted as a low priority improvement ;)
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
tripax
AGEod Veteran
Posts: 777
Joined: Thu Aug 29, 2013 9:58 pm

Mon Sep 15, 2014 9:56 am

It may be low priority, but it is easy to make a big improvement. Just limit the set of regions Athena is interested in using development and loyalty cards to cities with high production and using draft and requisition cards to cities with low production.

User avatar
ArmChairGeneral
AGEod Grognard
Posts: 997
Joined: Thu Nov 21, 2013 9:00 am
Location: Austin, TX, USA

Mon Sep 15, 2014 1:09 pm

In the past Pocus has asked for volunteers to help with teaching the AI how to use RGDs. Apparently it is a non-coding project, using DBs or somesuch.....

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Mon Sep 15, 2014 1:25 pm

Pocus wrote:That's noted as a low priority improvement ;)


:thumbsup:

ArmChairGeneral wrote:In the past Pocus has asked for volunteers to help with teaching the AI how to use RGDs. Apparently it is a non-coding project, using DBs or somesuch.....


Probably LUA scripts. I think.
Which I could do. I just need someone to point me towards some primers on what's what.

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Mon Sep 15, 2014 1:57 pm

Actually you can parametrize all AI behaviour on RGD within the excel sheet. I know a few betas who did that for us for AJE and EAW, just ask a question in the modding forum and you should be rolling. At worse I'll answer myself if nobody steps in.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Mon Sep 15, 2014 2:06 pm

Got it. :)
I'll have to work on this later this week. Real life is, unfortunately, putting a crimp on things. As usual. *sigh*
Anyone have one of those $1000 a week for life winning lottery tickets that I can "borrow"?
heh

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Fri Sep 19, 2014 2:02 pm

Yea, I've got to get working on this...

[ATTACH]31233[/ATTACH]
:(
Attachments
Spy.png

User avatar
ArmChairGeneral
AGEod Grognard
Posts: 997
Joined: Thu Nov 21, 2013 9:00 am
Location: Austin, TX, USA

Fri Sep 19, 2014 3:08 pm

I sincerely hope that you take the time to do so, it would constitute a significant improvement to the game. I can't help with the scripting/DB work, but I have a lot of ideas on what she should be doing with them, so if you need a sounding board....

An unintended consequence of teaching her RGDs is that as it stands a player who does not wish to use them suffers no net penalty, since Athena's misuse of some of them roughly balances out her gains from others (the last patch included AI improvements for certain cards IIRC). When the game first came out the RGDs were described as "optional" and as primarily "flavor" by the designers. If she were using them effectively the human player would be need to use them as well, or else cede her an advantage. Currently, the human player gets this advantage (one side using cards while the other does not) but it is "optional" as to whether they want to mess with them since there is no (net) disadvantage to ignoring them.

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Fri Sep 19, 2014 3:32 pm

Yea, agreed.

Feel free to offer suggestions on effective use of RGD's for the Union. I almost never play the Union, so...

I'll tell you, what really made me notice a problem (other than seeing Union Athena playing them on random locations) was the complete lack of use for either the Martial Law card (Union Athena doesn't seem to play any sort of demonstration cards at all, which would be really great [and historical] to use in eastern Tennessee, for example) or the counterintel card (see above). That just kinda sucks.

User avatar
Pocus
Posts: 25669
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Oct 21, 2014 11:02 am

Hi,

This is indeed something that demand only basic knowledge in file editing. The Spies decision should be working correctly though:

AIImprovedCalc = 1
AIModChanceMoneyLevel = 1
AIModChanceNoEnemy = -50
AIModChanceEnemyChunk = 5

You edit a text file (or better the source XLS) and then add values to some parameters helping the AI. Here you see that the Spies decision is now using improved calc, this is what we want in the end for all decisions. Without any other parameter, this gives a base chance of 5% to play the decision in valid region. For each money level (ranging from 0: no money, to 6: plentiful), the AI gets a +1% bonus. If there is no enemy, you get a -50% penalty, so the spies should never be played by the AI in a region devoid of any enemy. And then for each enemy 'chunk' power points, which is 100 power point, +5% chance to play.

I altered Telegraphs, Habeas Corpus and Scorch Earth so that the AI should be clever enough on these. If someone want to step in to make a complete pass through the decisions, be my guest, the file is now proposed to the public in the modding forum, although without my latest changes to the 3 decisions.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Tue Oct 21, 2014 3:03 pm

Awesome, thanks! I'll take a look in the modding forum. I've been looking at the files, but it's a bit overwhelming at first (especially with very limited time).

Rod Smart
Colonel
Posts: 332
Joined: Fri Oct 17, 2014 3:32 pm

Fri Oct 24, 2014 4:00 pm

I've only played a few games (as the Union), and each game Athena scorches the crap out of southeastern Texas.

No partisans in Kentucky or Ohio or Maryland - but slash and burn from Dallas to San Antonio

User avatar
ohms_law
AGEod Veteran
Posts: 725
Joined: Sun Oct 19, 2008 5:42 pm
Location: Syracuse, NY

Fri Oct 24, 2014 4:04 pm

Rod Smart wrote:I've only played a few games (as the Union), and each game Athena scorches the crap out of southeastern Texas.


That's not really anything meaningful. All it is, is units moving through the terrain. There's no supply out in (the vast majority of) the Far West, so pretty much any unit that isn't in the immediate vicinity of a city has to forage (and thereby "pillage" the province that it's located in) for supplies every day.

Return to “Civil War II”

Who is online

Users browsing this forum: No registered users and 6 guests