bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

This game is unplayable because of the poor AI

Mon Apr 25, 2016 7:32 pm

It is March 1805 in the Campaign game. Playing Prussia I have basically done nothing, I'm actually preparing for a PBEM game, and so decided to see what the other countries are up to. What they are doing is hopeless.

Russia: About 80% of the Russian Army is marching on the Caucasus. Left in European Russia are two stacks of about 250 points.

France: The Grande Army is scattered across France with original Corps all broken up. For example Murat is near Toulon commanding one infantry division!! The Army of Italy is marching to Spain, indeed St. Cyr is already near Seville.

Great Britain: Recruiting a ridiculous amount of units, including no less than four Balloon units! A small force, 366 points, has invaded Holland whilst huge forces sit around in Southampton.

At this point I gave up checking in dismay. As mentioned I am about to try a PBEM game as the last resort.

I can only presume that this game was never tested before release .

Taillebois
General of the Army
Posts: 601
Joined: Sat Nov 01, 2008 8:09 pm
Location: Nr GCHQ Cheltenham

Mon Apr 25, 2016 9:05 pm

It is a wonderful game.I can't stop drooling over it.

bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

Mon Apr 25, 2016 9:51 pm

Taillebois wrote:It is a wonderful game.I can't stop drooling over it.


It might be more helpful if you stopped drooling and responded to my points! Am I wrong in my assessment of the AI's abilities, or lack of them?

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Mon Apr 25, 2016 9:55 pm

PBEM is where this game truly lies. The AI just isn't up to the task in a true 7 power game like this.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Mon Apr 25, 2016 10:09 pm

vicberg wrote:PBEM is where this game truly lies. The AI just isn't up to the task in a true 7 power game like this.


I think with a combination of AI improvements and scripts the game can be fun to play solitaire.

But for me also the most important is that the Pbem works. :love:

Taillebois
General of the Army
Posts: 601
Joined: Sat Nov 01, 2008 8:09 pm
Location: Nr GCHQ Cheltenham

Mon Apr 25, 2016 10:20 pm

bdtj1815 wrote:It might be more helpful if you stopped drooling and responded to my points! Am I wrong in my assessment of the AI's abilities, or lack of them?


You are so wrong it is barely worth typing a reply. I suggest you try a simpler AGEOD game like AJE. Ranting angrily in your early posts is not going to endear you to many people and certainly hasn't to me.

bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

Mon Apr 25, 2016 10:28 pm

Taillebois wrote:You are so wrong it is barely worth typing a reply. I suggest you try a simpler AGEOD game like AJE. Ranting angrily in your early posts is not going to endear you to many people and certainly hasn't to me.


I don't believe I have ranted at all. I have pointed out some facts about this game. If you can prove me wrong then that would be more interesting.

bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

Mon Apr 25, 2016 10:31 pm

vicberg wrote:PBEM is where this game truly lies. The AI just isn't up to the task in a true 7 power game like this.


Well in that case I think Aegod should make this clear when advertising this game. I see no mention of this being a PBEM game only anywhere.

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Mon Apr 25, 2016 10:41 pm

bdtj1815 wrote:Well in that case I think Aegod should make this clear when advertising this game. I see no mention of this being a PBEM game only anywhere.


Play France as SP

bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

Mon Apr 25, 2016 10:45 pm

Taillebois wrote:You are so wrong it is barely worth typing a reply. I suggest you try a simpler AGEOD game like AJE. Ranting angrily in your early posts is not going to endear you to many people and certainly hasn't to me.


Sorry to post again but I failed to respond to your point about trying a "simpler" game. I don't want a simpler game, in fact more complicated the better. But I do want one that is playable as advertised.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Mon Apr 25, 2016 11:12 pm

vicberg wrote:Play France as SP


I started a game with AI on lieutenant (gets a lowered under CP penalty), low aggression, low detection and no initiative bonus.

Historical attrition for player only, this I am on the fence as the AI might be more focused on important locations if it had it also?

Long delay for battles, feels like the corps have to fight longer alone against AI stacks before MTSG happens but this is just a gut feeling.

Maximum traffic penalty, could be good if this was only for the player and not AI.

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

Tue Apr 26, 2016 8:43 am

The AI is far from perfect, but is not utter crap. You can definitively play it SP. Some scripts might do weird things, like the Caucasus focus. Without scripts on the other hand, France will try to capture Gibraltar. Indeed, a human would probably not do that. As for the British, the AI will always keep a huge force in the homeland.
Image


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

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 2:17 pm

Pocus wrote:The AI is far from perfect, but is not utter crap. You can definitively play it SP. Some scripts might do weird things, like the Caucasus focus. Without scripts on the other hand, France will try to capture Gibraltar. Indeed, a human would probably not do that. As for the British, the AI will always keep a huge force in the homeland.


Would it work if being member of the French or British coalition would give you command of those major or minor members forces?
Only coalition members, not the lesser treaties but those with a star symbol?

You would loose control by loosing the treaty so you would really want to work on the diplomacy to make them happen and also want to keep them as members by success in the wars.

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Tue Apr 26, 2016 2:24 pm

RebelYell wrote:I think with a combination of AI improvements and scripts the game can be fun to play solitaire.


Scripts are time consuming to do but would be the best way to make the AI functional. A game like WITP AE proved very fun to me with the good scripts written by the devs. The problem here is that force composition has always been the main weakness of the AGEOD AI : it can campaign ok, give you a fun game once the force composition is sorted out. But composing the forces or keeping them composed is the main difficulty. This was manageable in games like CWII or AACW (although btw I was mad as hell spring 62 wasn't a scenario in the original CWII release as it was the best to play in AACW).

What this game would need would be a set of scripts that are AI cheat cards, not to get massive ressources extra, but better composed :
- Basically the recruiting tools should be for players only and the AI countries should all be given their forces via faction specific events. Really in this game the AI doesn't need the money, the conscripts, the WS, etc.. this is just cumbersome and makes the recruiting process too difficult, lest the AI buys arty like crazy, so many events for factions giving them new troops regularly based on their historical capabilities.
- Specific force reconstruction events that looks at the situation of AI forces after a peace and gives it a complete new set of forces, organised in armies and corps and such (when the reforms have taken place), otherwise after a drubbing the Austrian or Prussian armies remain messes all game... One has to play them to rebuild their forces properly.
- Lock stacks : the AI shouldn't be able to dismember the Grande Armée corps or equivalent in other armies, lock the stacks to limit the mess the AI can make.

Etc.. All this is feasable but time consuming and would make the game much more challenging, right now the problem isn't that the AI is bad, it's operationally ok which what the customer can legitimately ask for. But it get's completely lost in the diplomatic / force building / force structuring (or here destructuring) operation.. And has a hard time coping with XX sides and logics.

With scripts and a more EAW style limited amount of factions, it would work a lot better.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 2:36 pm

veji1 wrote:Scripts are time consuming to do but would be the best way to make the AI functional. A game like WITP AE proved very fun to me with the good scripts written by the devs. The problem here is that force composition has always been the main weakness of the AGEOD AI : it can campaign ok, give you a fun game once the force composition is sorted out. But composing the forces or keeping them composed is the main difficulty. This was manageable in games like CWII or AACW (although btw I was mad as hell spring 62 wasn't a scenario in the original CWII release as it was the best to play in AACW).

What this game would need would be a set of scripts that are AI cheat cards, not to get massive ressources extra, but better composed :
- Basically the recruiting tools should be for players only and the AI countries should all be given their forces via faction specific events. Really in this game the AI doesn't need the money, the conscripts, the WS, etc.. this is just cumbersome and makes the recruiting process too difficult, lest the AI buys arty like crazy, so many events for factions giving them new troops regularly based on their historical capabilities.
- Specific force reconstruction events that looks at the situation of AI forces after a peace and gives it a complete new set of forces, organised in armies and corps and such (when the reforms have taken place), otherwise after a drubbing the Austrian or Prussian armies remain messes all game... One has to play them to rebuild their forces properly.
- Lock stacks : the AI shouldn't be able to dismember the Grande Armée corps or equivalent in other armies, lock the stacks to limit the mess the AI can make.

Etc.. All this is feasable but time consuming and would make the game much more challenging, right now the problem isn't that the AI is bad, it's operationally ok which what the customer can legitimately ask for. But it get's completely lost in the diplomatic / force building / force structuring (or here destructuring) operation.. And has a hard time coping with XX sides and logics.

With scripts and a more EAW style limited amount of factions, it would work a lot better.


How much work would it be to make the AI count elements and their types it uses in the main army stacks?

Stack building starts by choosing the leaders, then sticking elements under them based on the rules that decide battles.

Make the AI ignore CP rules before military reforms happen and order as big brigades available, those are the core of future divisions anyway.

veji1
AGEod Guard of Honor
Posts: 1271
Joined: Fri Dec 08, 2006 6:27 pm

Tue Apr 26, 2016 2:59 pm

RebelYell wrote:How much work would it be to make the AI count elements and their types it uses in the main army stacks?

Stack building starts by choosing the leaders, then sticking elements under them based on the rules that decide battles.

Make the AI ignore CP rules before military reforms happen and order as big brigades available, those are the core of future divisions anyway.


The problem is that I think the AI can't manage it, it's just to complicated. This is why events with triggers are the best method I would think, but it's very time consuming to write.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 3:27 pm

veji1 wrote:The problem is that I think the AI can't manage it, it's just to complicated. This is why events with triggers are the best method I would think, but it's very time consuming to write.


I would think building units by need is harder than constructing stacks?

Combining leaders with brigades and divisions is most likely the biggest issue with the stacks?
AI agents should be given to all leaders to form armies, divisions, smaller forces based on the leaders.

Do they have them now?

http://www.ageod.net/agewiki/AI_Agents

User avatar
Kev_uk
Colonel
Posts: 348
Joined: Wed Jan 23, 2008 10:43 pm
Location: South Wales, UK.

Tue Apr 26, 2016 3:38 pm

I have seen Austria rebuild after Pressburg, quite well. But yes, a huge script is what is needed here, and please find a way for Russia to stop spawning artillery and supply units all over the place. I think at the moment the most challenging aspect of the game (base game, not modded) is the supply issue. That is the main AI challenge. Vicburgs mod alleviates that somewhat.

User avatar
lodilefty
Posts: 7616
Joined: Sat Aug 11, 2007 3:27 pm
Location: Finger Lakes, NY GMT -5 US Eastern

Tue Apr 26, 2016 3:43 pm

There are a few AI Agents assigned, but the real issue is one of Branching Logic.....

the deeper into the game, the more difficult to script the alternative situations....

We did what time allowed by scripting early campaign "paths", where the AI is given "Capture A then B then C", but by the time 1807 arrives the situation has become way too unpredictable......

...maybe somebody better that I can program the numerous branches. Sorry, but it's as good as I can get it with anything resembling a reasonable return on invested time......
Always ask yourself: "Am I part of the Solution?" If you aren't, then you are part of the Problem!
[CENTER][/CENTER]
[CENTER]Visit AGEWiki - your increasingly comprehensive source for information about AGE games[/CENTER]

[CENTER]Rules for new members[/CENTER]
[CENTER]Forum Rules[/CENTER]

[CENTER]Help desk: support@slitherine.co.uk[/CENTER]

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 4:13 pm

lodilefty wrote:There are a few AI Agents assigned, but the real issue is one of Branching Logic.....

the deeper into the game, the more difficult to script the alternative situations....

We did what time allowed by scripting early campaign "paths", where the AI is given "Capture A then B then C", but by the time 1807 arrives the situation has become way too unpredictable......

...maybe somebody better that I can program the numerous branches. Sorry, but it's as good as I can get it with anything resembling a reasonable return on invested time......


Why give AI agents to go after specific objectives, the objectives are on the map, cant the AI see them?

AI agents should control the stacks the specific leaders want to command and build and try to find enemy stacks they can defeat to get to those objectives?

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 4:17 pm

Can you do an army-corps commander agent, a line division-brigade commander agent, a cavalry commander agent, a garrison-militia commander agent etc?

User avatar
Kev_uk
Colonel
Posts: 348
Joined: Wed Jan 23, 2008 10:43 pm
Location: South Wales, UK.

Tue Apr 26, 2016 4:30 pm

lodilefty wrote:There are a few AI Agents assigned, but the real issue is one of Branching Logic.....

the deeper into the game, the more difficult to script the alternative situations....

We did what time allowed by scripting early campaign "paths", where the AI is given "Capture A then B then C", but by the time 1807 arrives the situation has become way too unpredictable......

...maybe somebody better that I can program the numerous branches. Sorry, but it's as good as I can get it with anything resembling a reasonable return on invested time......


Good point, I hope Ageod can keep developing it because it has a great potential of being probably the best Napoleonic game ever that hit a PC. I hope it is not abandoned.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 4:33 pm

Kev_uk wrote:Good point, I hope Ageod can keep developing it because it has a great potential of being probably the best Napoleonic game ever that hit a PC. I hope it is not abandoned.


There is no reason to, you can make profit by doing the revolutionary wars game and then do Rise of Prussia 2.

User avatar
Kev_uk
Colonel
Posts: 348
Joined: Wed Jan 23, 2008 10:43 pm
Location: South Wales, UK.

Tue Apr 26, 2016 4:42 pm

RebelYell wrote:There is no reason to, you can make profit by doing the revolutionary wars game and then do Rise of Prussia 2.


Well one thing that concerns me is the Steam thing, whereby you are going to get folk who will quite easily tear it to pieces, none of whom understand what it is about, the history, and Ageods past titles and what they are trying to achieve. I believe WoN has potential to be better than its current state, instead of us all playing PBEM (which the Steam crowd will not, really will they?). I will probably buy it again on Steam when it released anyway.

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 4:46 pm

Are these in use?

http://www.ageod.net/agewiki/AI_Leaders_Affinity_toward_stacks


AI Leaders Affinity toward stacks

The concept is 'leader affinity toward a given stack'.
Let's say a leader is an Infantry commander. You'll want to seek mostly infantry stacks, not cavalry stacks. You can be more precise even. A leader is a siege expert. He will want to go to stacks with some infantry (+), artillery (++) and siege artillery (++++ !!). A militiaman will want to be among militias...
In the end, it boils down to two things: creating lists and giving a list reference to the leaders.

// #Infantry commander
AIAffinity0 = $famElite|150|$famLine|250|$famCavalry|25|$famMedArty|125|$$famLightInf|150|$famSkirmisher|150
// #Militia commander
AIAffinity1 = $famElite|25|$famLine|50|$famMilitia|400|$famCavalry|25|$famHvyArty|0|$famMedArty|0
// #Siege expert
AIAffinity2 = $famElite|125|$famLine|125|$famMilitia|50|$famCavalry|0|$famSupply|150|$famHvyArty|300
// #Cavalry commander
AIAffinity3 = $famElite|0|$famLine|25|$famMilitia|0|$famCavalry|300|$famSupply|0|$famHvyArty|0|$famMedArty|0
// #Bad commander
AIAffinity4 = $famElite|0|$famLine|25|$famMilitia|50|$famCavalry|0|$famSupply|0|$famHvyArty|0|$famMedArty|0|$famLightInf|0|$famSkirmisher|0
// #Raider
AIAffinity5 = $famRaider|300|$famLightInf|125|$famSkirmisher|125|$famLine|25|$famMilitia|20|$famCavalry|50|$famSupply|0|$famHvyArty|0|$famMedArty|0|$famElite|0
// #Artillerist
AIAffinity6 = $famElite|25|$famLine|50|$famMilitia|25|$famCavalry|0|$famHvyArty|300|$famMedArty|300

0 means not interested. 100 is the norm. Above 100: interested
If a family is not cited, the value is -1. -1 means auto-calculate: if the general is a land commander it means 100 for all land families and 0 for all ships, and the reverse if he is an admiral.
Thus, you don't have to specify for a General that he doesn't want to see ships in his stack.

How do the parameters work?
With these values, when the code checks for the affinity of a leader toward a stack, it will get a consolidated number between 0 and xxx (can be above 100).
100 would means 'average', i.e if you don't add a specific affinity list to a general, as the defaults will be 100, then you are back to the previous code.
Under 100, the leader will have less interest than the norm for the stack. Above 100 ... you guess.
So the feature allows to have generals with several varying interests for different types, and can calculate what will be the average, weighted affinity, of this general toward a stack, even if the stack is a complete mix of units...
Affinity will alter the probabilities, but the algorithm by itself can't match a human mind. Still, just expect in some cases that the choices of how to repartitate leaders will be better with than without.
Don't hesitate to go a bit above the roof. Example, siege artilleries are rare, so even if you have an affinity at 300% for it, as there can be perhaps only 2 such elements in a stack of 100+ elements, this won't change much the affinity! So here, don't hesitate to go to a value of 1000 or even 2000!
For affinities toward more common elements, like cavalry, artillery, you can still target the 300 mark...
The second part of adding affinities is to give to the leaders, in the models DB, what is their affinity list. With the lists created, you will do these aliases (in WIA, found in AI_Interest.ini in the /Aliases folder):
$AIAff0_inf = 0
$AIAff1_mil = 1
$AIAff2_siege = 2
$AIAff3_cav = 3
$AIAff4_bad = 4
$AIAff5_Raid = 5
$AIAff6_Arty = 6
In the models.xls file, add (or edit) the column AIAffinity, leave the value as NULL if there is no special ability, or add one (and only one) of the aliases if the leader has a particular affinity for a role. Then extract your new models (using the csv -> csv Splitter method)

RebelYell
General of the Army
Posts: 608
Joined: Sun Oct 17, 2010 4:40 pm

Tue Apr 26, 2016 4:50 pm

Kev_uk wrote:Well one thing that concerns me is the Steam thing, whereby you are going to get folk who will quite easily tear it to pieces, none of whom understand what it is about, the history, and Ageods past titles and what they are trying to achieve. I believe WoN has potential to be better than its current state, instead of us all playing PBEM (which the Steam crowd will not, really will they?). I will probably buy it again on Steam when it released anyway.


Some of them wont even understand there might be issues, they will just think they are natural born generals. ;)

User avatar
Kev_uk
Colonel
Posts: 348
Joined: Wed Jan 23, 2008 10:43 pm
Location: South Wales, UK.

Tue Apr 26, 2016 4:54 pm

RebelYell wrote:Some of them wont even understand there might be issues, they will just think they are natural born generals. ;)


Oh dear..haha :)

vaalen
AGEod Guard of Honor
Posts: 1229
Joined: Thu Dec 20, 2007 8:48 pm

Tue Apr 26, 2016 5:50 pm

I was wondering if some of the AJE team might be able to help on the AI issues, as they have demonstrated great talent in this area.

In Hannibal, Terror of Rome, I saw massive improvements in the AI by the time the patching was finished. I had some great games in the scenario covering the entire second Punic War, solitaire.

The AI created strong, well balanced forces, inflicted numerous defeats on me, and was very good at forcing me into difficult supply situations. It was able to respond very well to my offensive actions, and was able to use different, appropriate strategies In Spain, Italy, and Africa, at the same time. It also was very formidable at sea, breaking naval blockades of besieged cities, defending the coast of Africa against naval invasions, and maintaining powerful stacks of ships that were a real challenge to deal with. I was able to win both as Rome and as Carthage, but it was a real challenge, and luck helped me a great deal, as I has to take some huge risks that payed off, but could have easily failed.

On release, the AI did not do many of these things, and was very easy to defeat. But now, it is a much better general, and admiral.

My point is that whatever they did to the AI worked, and I am wondering if they could help with this game.

bdtj1815
Conscript
Posts: 11
Joined: Thu Mar 17, 2016 4:30 pm

Tue Apr 26, 2016 7:50 pm

Pocus wrote:The AI is far from perfect, but is not utter crap. You can definitively play it SP. Some scripts might do weird things, like the Caucasus focus. Without scripts on the other hand, France will try to capture Gibraltar. Indeed, a human would probably not do that. As for the British, the AI will always keep a huge force in the homeland.


Thank you for your reply. I never said the AI was "utter crap" your words not mine. I love many things about this game, the graphics, the map and the ambition.

I am about to embark on a seven player PBEM game and am looking forward to it. Unfortunately playing at the rate of a turn a day, or so, will be very slow. I would also like to play solo at a quicker rate but feel this is a waste of time at present. I have attached a save game, the one I commented about earlier, and would love it if you could take a look, particularly at the French, and tell me if you think this is acceptable after only 10 turns.
Attachments
5 - 1805 January Grand Campaign.rar
(465.37 KiB) Downloaded 148 times

vicberg
AGEod Grognard
Posts: 968
Joined: Mon Dec 29, 2008 3:18 am

Tue Apr 26, 2016 8:31 pm



And this is what I was looking for. I was actually going down the path of destroying and recreating units under specific leaders. YAY

Return to “Wars of Napoleon”

Who is online

Users browsing this forum: No registered users and 5 guests