Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

AI suggestion (quick and dirty)

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Empires in Arms the Napoleonic Wars of 1805 - 1815 >> AI suggestion (quick and dirty) Page: [1]
Login
Message << Older Topic   Newer Topic >>
AI suggestion (quick and dirty) - 4/24/2008 10:15:25 AM   
JanSorensen

 

Posts: 3684
Joined: 5/2/2005
From: Aalborg, Denmark
Status: offline
Short version:
Allow the human player to setup restrictions on which AI players may DoW each other.


Longer version:
I apologise if this has already been suggested - I only recently bought EiANW and have not read every post here.

As is plain to see the AI performs less than adequately. The problem is that making even a mediocre AI takes a very long time if its even possible. So, a real AI is a long term project yet in the short term the lack of an AI to even remotely challenge the solo player is hurting the game badly.

Now, I submit that one of the core issue with the AI presenting a challenge against a human is that the AI players tend to attack each other too much and thus let the human player win easily. While thats somewhat in the spirit of the game it also makes the game much too easy.

Now, as a bandaid on this problem till a real solution comes along I think it would be very useful if there was an option to mark which nations are able to DoW which other nations. As an example I could decide to play France and set up the game so that
- Prussia cannot DoW Spain, Austria or GB
- Austria cannot DoW Spain, Prussia or GB
- Spain cannot DoW Austria or Prussia
- GB cannot DoW Prussia or Austria
While this wont let the AI play any smarter it will make it more likely to actually fight me as France rather than fight other AI nations. Heck, if I wanted the ultimate challenge I could set it up so that none of the AI nations could attack each other.

Mind, I know that this violates the true spirit of the game EiA so its merely a bandaid till a real solution comes along.

In game terms I imagine that the restrictions could be implemented in the form of "enforced peace" treaties that are renewed at the start of every January turn prior to the Diplomatic phase. Without having seen the actual code I imagine that this would let the AI players adhere reasonably well to such a restriction without having to add more than a few lines of new code.
Post #: 1
RE: AI suggestion (quick and dirty) - 4/24/2008 2:17:20 PM   
Marshall Ellis


Posts: 5630
Joined: 10/2/2001
From: Dallas
Status: offline
JanSorensen:

This is an interesting idea for sure. There may be easier some ways to implement this...
I will look at it.
Anybody else got a view on this?




_____________________________

Thank you

Marshall Ellis
Outflank Strategy War Games



(in reply to JanSorensen)
Post #: 2
RE: AI suggestion (quick and dirty) - 4/24/2008 2:36:32 PM   
bresh

 

Posts: 936
Joined: 8/8/2005
Status: offline
Well it matters bit on alliances i guess.
But in general, it should then be limited to call to allies DOW's

Regards
Bresh

(in reply to Marshall Ellis)
Post #: 3
RE: AI suggestion (quick and dirty) - 4/24/2008 9:15:02 PM   
Jimmer

 

Posts: 1968
Joined: 12/5/2007
Status: offline
Marshall,

I agree that this is a good idea. But, if you find a way to implement it, you might want to build in a way to make it NOT be hard-coded. Perhaps use a table:

GB can go to war with Spain before 1809, but not after.
France cannot go to war with Spain before 1809
etc.

If you built a table for each game year (for example) that contained which powers could or could not DW on another, then there would be a dynamic to all this that would give it a bit more flavor.

This way, people could tailor the game to somewhat match history. Or, they could create their own history.

Historical defaults might be:

Prussia can't DW on France until December, 1806
Austria and Russia can DW on France starting in April, 1805.

Etc.

All sorts of possibilities could be crafted, and all without too much extra coding (use a table of variable values instead of a list of constant values).

_____________________________

At LAST! The greatest campaign board game of all time is finally available for the PC. Can my old heart stand the strain?

(in reply to bresh)
Post #: 4
RE: AI suggestion (quick and dirty) - 4/24/2008 9:22:46 PM   
gwheelock

 

Posts: 563
Joined: 12/27/2007
From: Coon Rapids, Minnesota
Status: offline
As an alternative; implement the "Natural Alliance Table (14.3.1.2) table from the origianal EIA
(this table was used for games with less than 7 players) as a probability of AI
minors either offering alliance (between powers with POSITIVE entries  eg.  Britain/Prussa are +3) or
DOW (between powers with NEGATIVE entries  eg Britain/France are -10)

Add in a few other factors (being at war with someone else reduces DOW chances; having an
ally increases it)



(in reply to bresh)
Post #: 5
RE: AI suggestion (quick and dirty) - 4/24/2008 10:02:26 PM   
Marshall Ellis


Posts: 5630
Joined: 10/2/2001
From: Dallas
Status: offline
Oddly enough, I am already using the Natural alliance tables.



_____________________________

Thank you

Marshall Ellis
Outflank Strategy War Games



(in reply to gwheelock)
Post #: 6
RE: AI suggestion (quick and dirty) - 4/25/2008 7:27:05 AM   
Killerduck

 

Posts: 16
Joined: 11/29/2007
Status: offline
This is an excelent idea.

Even better would be to allow the player to force DOWs - as the game opens or at spesific date.

Add some resilience to computer nations (only surrender after being completely beaten up) and you have many, many different difficulty levels in the game.

You could play "historical" or "Fortress Britain" or "I can beat them all even if I am Turkey!".

Really excited about this one. Brilliant, Jan! Just Brilliant!

(in reply to Marshall Ellis)
Post #: 7
RE: AI suggestion (quick and dirty) - 4/25/2008 8:15:10 AM   
JanSorensen

 

Posts: 3684
Joined: 5/2/2005
From: Aalborg, Denmark
Status: offline
Jimmer,

I concur. It should not be hard coded values (which normally means the player cannot change them at all) nor should it be values that span the entire game setable only at game start.

Having a table for each year as you suggest would probably be a good idea and should not be much harder to code than having a single table that can be changed during the course of the game. With seperate tables for each year some values could be set as default to "disallow dow" leaving the player an option to change values at the start of the game as well as during the game for future years. The main advantage to having a default set of values is that those will take effect even if the player is new to the game and not yet aware of the option to set these values.

< Message edited by JanSorensen -- 4/25/2008 8:17:38 AM >

(in reply to Killerduck)
Post #: 8
RE: AI suggestion (quick and dirty) - 4/26/2008 5:52:22 PM   
JavaJoe


Posts: 546
Joined: 9/12/2005
Status: offline
I suggest using the uncontrolled major powers rule in EiA.

No need for AI in a 2+ game.

That way you don't have as many what if's.

_____________________________

Vice President Jersey Association Of Gamers
JerseyGamers.com

(in reply to JanSorensen)
Post #: 9
RE: AI suggestion (quick and dirty) - 4/26/2008 6:20:44 PM   
NeverMan

 

Posts: 1722
Joined: 2/24/2004
Status: offline
I think that an AI option for countries and an UMP option would be great.

That is, when you create the game set each country to either "player", "computer" or "ump", so that you can have any combination thereof. That would be great!

(in reply to JavaJoe)
Post #: 10
RE: AI suggestion (quick and dirty) - 4/27/2008 3:34:14 AM   
Jimmer

 

Posts: 1968
Joined: 12/5/2007
Status: offline
quote:

ORIGINAL: Marshall Ellis

Oddly enough, I am already using the Natural alliance tables.



I thought so. But, those were written with a view to having a human on one side of the situation triggering the use of the table. They won't work as written computer vs. computer. They would have to be a lot more forceful, because a human would only start a process if there were a good chance of gain for himself. Further, the human was almost never interested in the minor (or major) if it was uncontrolled. They would strip it naked and then toss it to the wolves. But, a computer shouldn't allow that to happen to itself.

< Message edited by Jimmer -- 4/28/2008 7:33:10 PM >


_____________________________

At LAST! The greatest campaign board game of all time is finally available for the PC. Can my old heart stand the strain?

(in reply to Marshall Ellis)
Post #: 11
RE: AI suggestion (quick and dirty) - 4/27/2008 5:07:23 AM   
Grognot

 

Posts: 409
Joined: 12/7/2007
Status: offline
Hard problem.  Part of it is because even an alliance can be worth breaking (especially for France, which tends to see every neighbor as a potential enemy, and vice versa, with the exception of Spain which isn't normally worth it), it's difficult for an AI to judge whether or not somebody is a threat worth taking note of (and therefore, say, not DOWing somebody on the other side).

Case in point -- even if Austria isn't at war with France, it should consider that possibility before engaging in any hostilities with Turkey.  For instance.  And Russia is also a potential threat, since they may be tempted to join the Dark Side at some inconvenient time.  Austria's not really in a position to unilaterally go conquesting, normally.

Rigging Austria, Prussia and Great Britain to greatly prefer to work with each other and against France probably isn't a bad idea.   France, should be reluctant to DOW Spain.  And so forth.


(in reply to Jimmer)
Post #: 12
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Empires in Arms the Napoleonic Wars of 1805 - 1815 >> AI suggestion (quick and dirty) Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.672