Is the AI too dumb?
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
Is the AI too dumb?
I have been wondering, is the AI too dumb or perhaps too limited? I am playing the Dec 8th campaign and noticed in the tracker that I had killed the Zuikaku with a mine in Singapore. I thought that was very odd and switch over to the Japanese side and saw that it was damaged, but not sunk. Damaging the carrier seemed correct, but its movement did not. Why would a carrier task force be sent to the Singapore hex? That seems way too dangerous even with the ships and planes having been wiped out.
I also checked on Manila and Clark Field. Both bases have been attacked by the AI for over two weeks with every attack repulsed. I am losing supply quickly, but the Japanese have more than enough firepower to take the bases. I looked at one of the bases behind the front lines and saw over a dozen artillery and armor units just sitting there!
I don't understand the scripting of the game, but is the AI actually using these forces correctly? Is everything just happening under the hood on the AI side and it doesn't display well when a player looks?
I also checked on Manila and Clark Field. Both bases have been attacked by the AI for over two weeks with every attack repulsed. I am losing supply quickly, but the Japanese have more than enough firepower to take the bases. I looked at one of the bases behind the front lines and saw over a dozen artillery and armor units just sitting there!
I don't understand the scripting of the game, but is the AI actually using these forces correctly? Is everything just happening under the hood on the AI side and it doesn't display well when a player looks?
Re: Is the AI too dumb?
A carrier reacting into Singapore sounds like an old AI script.
I have a scen001 game vs Jap AI Normal difficulty on hold.
In the SCEN folder, there is the AI file.
My AI file looks like this:
I have a scen001 game vs Jap AI Normal difficulty on hold.
In the SCEN folder, there is the AI file.
My AI file looks like this:
Last edited by Yaab on Sun May 12, 2024 2:49 pm, edited 1 time in total.
- BananaConvention
- Posts: 691
- Joined: Wed Jan 19, 2022 9:04 pm
- Location: March ARB, CA
Re: Is the AI too dumb?
It's not dumb, it's scripted. It doesn't have the fidelity for enjoyable long-term play. I used it to learn basic game mechanics and immediately switched to PBEMs after and I'll never go back.
Jochen Heiden
My WitP Tutorial Playlist:
https://youtube.com/playlist?list=PLFaQ ... Q9HG1hSiAG
Join my WitP Discord! Over 800 members and growing DAILY!
https://discord.gg/v4A9STzW7R
My WitP Tutorial Playlist:
https://youtube.com/playlist?list=PLFaQ ... Q9HG1hSiAG
Join my WitP Discord! Over 800 members and growing DAILY!
https://discord.gg/v4A9STzW7R
- Platoonist
- Posts: 2843
- Joined: Sun May 11, 2003 4:53 am
- Location: Yoyodyne Propulsion Systems
Re: Is the AI too dumb?
In almost every game I've played versus the Japanese AI it's lost a cruiser while triumphantly sailing into Manila Bay after the fall of Bataan due to the large US minefield there.
However, the Japanese AI is head and shoulders above the Allied AI which often doesn't seem to know what to do with all that material bounty it eventually receives.
So, unless you play very conservatively PBEM is your best bet for a challenging opponent.
However, the Japanese AI is head and shoulders above the Allied AI which often doesn't seem to know what to do with all that material bounty it eventually receives.
So, unless you play very conservatively PBEM is your best bet for a challenging opponent.
Re: Is the AI too dumb?
I have had this game for probably over 10 years and I always think "this time I will actually play through the campaign." I like the fact that production is set, and everything is reinforced. So I don't have to worry about saving money to buy a carrier or 40 destroyers. The only thing that has really stopped me is the fact that the AI seems to do some really dumb things.
-
- Posts: 2834
- Joined: Sat Sep 19, 2009 6:13 am
Re: Is the AI too dumb?
AI is not the sharpest tool in the shed by far, yeah. You still can have an enjoyable campaing against it if you set yourself some limitations. In the end the purpose is to have fun, not to win by any means
Re: Is the AI too dumb?
I just remembered something. Didn't AndyMac do some additional work on the AI scripting? I thought there used to be a list if scenarios where there were multiple AI options that would be randomly selected when the scenario was first loaded. Do those files still exist?
- Platoonist
- Posts: 2843
- Joined: Sun May 11, 2003 4:53 am
- Location: Yoyodyne Propulsion Systems
Re: Is the AI too dumb?
Actually, the AI has always had multiple aei file sets it can randomly choose from. I seem to remember AndyMac's later AI script work required you to delete (or move) all those files to make absolutely sure his would be the only one picked by the AI at the start of a campaign game. Or as he put it...Rogue188 wrote: ↑Mon May 13, 2024 11:07 pm I just remembered something. Didn't AndyMac do some additional work on the AI scripting? I thought there used to be a list if scenarios where there were multiple AI options that would be randomly selected when the scenario was first loaded. Do those files still exist?
His files are still available on this thread--
https://www.matrixgames.com/forums/view ... 8&t=340021
Re: Is the AI too dumb?
Rather than delete the old scripts, just rename the file extension to .old which can be reversed of course.
No matter how bad a situation is, you can always make it worse. - Chris Hadfield : An Astronaut's Guide To Life On Earth
Re: Is the AI too dumb?
That is true, then a player can go back and change the script from .old* to make it active. A player could then go through each script that way. After playing each script, a person could possibly modify the scripts if they want to in order to challenge other players.
Seek peace but keep your gun handy.
I'm not a complete idiot, some parts are missing!
“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
― Julia Child
I'm not a complete idiot, some parts are missing!
“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
― Julia Child
Re: Is the AI too dumb?
First and foremost, this is not AI.
These are a series of scripts, which run independent of user actions.
Now.... I for one am very very very VERY much looking forward to REAL AI taking over as my opponent in WITPAE.
This will happen within 1-2 years, tops.
These are a series of scripts, which run independent of user actions.
Now.... I for one am very very very VERY much looking forward to REAL AI taking over as my opponent in WITPAE.
This will happen within 1-2 years, tops.
NEWBIE GUIDE Distant Worlds Universe
http://tinyurl.com/k3frrle
War in the Pacific Poradnik po Polsku
http://tinyurl.com/nxd4cesh
INSTALL WITPAE on modern PC
https://tinyurl.com/l5kr6rl
http://tinyurl.com/k3frrle
War in the Pacific Poradnik po Polsku
http://tinyurl.com/nxd4cesh
INSTALL WITPAE on modern PC
https://tinyurl.com/l5kr6rl
Re: Is the AI too dumb?
There is what I'd call "tactical AI" which works independently from scripts. E.g. enemy land forces will react adjacent enemy land forces.
But it's very rudimentary and all operational "decisions" are made by scripts.
Would be interesting if recent development in AI generally could be taught to make good "AI scripts" for game.
But it's very rudimentary and all operational "decisions" are made by scripts.
Would be interesting if recent development in AI generally could be taught to make good "AI scripts" for game.
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-
- Platoonist
- Posts: 2843
- Joined: Sun May 11, 2003 4:53 am
- Location: Yoyodyne Propulsion Systems
Re: Is the AI too dumb?
I'm no expert on the subject, but over on the general discussion forum the developer for Empire in Arms sure seemed to throw cold water on the idea that recent incarnations of AI have much to offer for this type of gaming.
pzgndr wrote: ↑Sat Mar 23, 2024 10:47 pm I am amused. Like, sure, I can just plug in ChatGPT to generate a challenging computer opponent for Empires in Arms. I've been working on the AI for years to help make it more challenging. Lately, I've been working on grand strategy options for the AI. Absolutely none of this stuff is trivial. If it was easy, anybody could do it. I literally LOL whenever I read about AI hype in the news. When I stop laughing, I get back to code development...
Re: Is the AI too dumb?
How does the scripting work? Is it "attack Port Morsby at all costs until captured?" or more like ships A, B, and C will attack Port Morsby but if they are damaged, sunk, or forced to withdraw, then nothing will ever attack Port Morsby again? Or maybe if X amount of ships or troops are lost attacking Port Morsby then the attack will be canceled? Some sort of mixture?
- Platoonist
- Posts: 2843
- Joined: Sun May 11, 2003 4:53 am
- Location: Yoyodyne Propulsion Systems
Re: Is the AI too dumb?
Rogue188 wrote: ↑Wed May 22, 2024 12:45 am How does the scripting work? Is it "attack Port Morsby at all costs until captured?" or more like ships A, B, and C will attack Port Morsby but if they are damaged, sunk, or forced to withdraw, then nothing will ever attack Port Morsby again? Or maybe if X amount of ships or troops are lost attacking Port Morsby then the attack will be canceled? Some sort of mixture?
As I basically understand it in an AI script you have a list of hundreds of bases and units which the code works through with some lists being dependent upon success of completion of other lists first and then some lists being independent. Then you have a list of units assigned to take or defend those bases. If the listed units tasked to take a base are eventually lost and no suitable replacements are available, the attempt is terminated at some point.
Re: Is the AI too dumb?
basically yes or a date or a completion base is captured by another script
Re: Is the AI too dumb?
Scripts can be effective.
Plans within plans.
Plans within plans.
"To meaningless French Idealism, Liberty, Fraternity and Equality...we answer with German Realism, Infantry, Cavalry and Artillery" -Prince von Bülov, 1870-
Re: Is the AI too dumb?
I have almost tied my personal game record of Apil 1942 in the grand campaign. However, I do find myself disappointed. This is no knock against AndyMac and the other designers who have done an amazing job with the resources available, but I find my frustration with the computer's actions against Port Morsby annoying. I lost Milne Bay, ok, its ahistorical but I can accept that. However, I created a quick reaction surface force to defend Port Morsby and have them stationed in Townsville. Every week or so another Japanese force arrives to invade, but my troops hold them off while the surface action TF destroys the Japanese invasion force. I don't know how many ships I have sunk at this point, but just deleting TF after TF is not fun. There are no significant escorts, no carriers to establish air superiority, just unescorted invasion fleets trying to sneak in.
I understand that this is not a historical simulator of WWII, otherwise everyone would know exactly what is going to happen. From what I am seeing, the Japanese AI is given the benefit of the real Japan's mistakes and aggressively moves into the Pacific to try and take bases before the Allied player is ready. While this makes total sense, the way in which the AI attacks is far too limited. I just can't imagine a real life scenario where a major invasion force would do something with little to no support. Plus, if I actually read the intel and prepare, I can wipe everything out without too much trouble. The sad joke is that is has also made me lazy with invasions as I just don't expect any real threat from the AI. Don't get me wrong I have been bitten by this, but it is why I have been so off and on with this game. I love the potential and the scope, but I think the AI is just too limited.
I understand that this is not a historical simulator of WWII, otherwise everyone would know exactly what is going to happen. From what I am seeing, the Japanese AI is given the benefit of the real Japan's mistakes and aggressively moves into the Pacific to try and take bases before the Allied player is ready. While this makes total sense, the way in which the AI attacks is far too limited. I just can't imagine a real life scenario where a major invasion force would do something with little to no support. Plus, if I actually read the intel and prepare, I can wipe everything out without too much trouble. The sad joke is that is has also made me lazy with invasions as I just don't expect any real threat from the AI. Don't get me wrong I have been bitten by this, but it is why I have been so off and on with this game. I love the potential and the scope, but I think the AI is just too limited.
Re: Is the AI too dumb?
That is why many players play PBEM.
Seek peace but keep your gun handy.
I'm not a complete idiot, some parts are missing!
“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
― Julia Child
I'm not a complete idiot, some parts are missing!
“Illegitemus non carborundum est (“Don’t let the bastards grind you down”).”
― Julia Child