Page 1 of 1
AI Mods?
Posted: Fri Feb 02, 2018 12:39 pm
by ironbmike
Are there any mods out there that improve the AI? My main area of focus is the over-production by the AI. It produces so much that eventually it collapses after it is unable to supply its massive forces.
Is there any way to cap the AI at realistic/manageable levels of forces?
RE: AI Mods?
Posted: Fri Feb 02, 2018 12:51 pm
by Twotribes
Havent found one I sometimes edit the game and give the AI supreme Hqs 99999999 supply.
RE: AI Mods?
Posted: Fri Feb 02, 2018 1:09 pm
by ernieschwitz
I think the reason it is not producing enough supplies may be something very simple. You see Vic has programmed the AI (via event code) to try and produce enough supplies that it should have no problem. However not every place can produce supplies, which may indeed be the problem. If I am right, the AIs factory spam, is really the problem. It could be solved by letting Factories to produce Supplies... However that might also allow the AI to get more PPs... so be aware that it might be a tougher opponent you are going to face.
RE: AI Mods?
Posted: Fri Feb 02, 2018 2:06 pm
by ironbmike
ORIGINAL: ernieschwitz
I think the reason it is not producing enough supplies may be something very simple. You see Vic has programmed the AI (via event code) to try and produce enough supplies that it should have no problem. However not every place can produce supplies, which may indeed be the problem. If I am right, the AIs factory spam, is really the problem. It could be solved by letting Factories to produce Supplies... However that might also allow the AI to get more PPs... so be aware that it might be a tougher opponent you are going to face.
Is there a way to slow/limit the factory spam?
If not, is it easy to allow factories to produce supplies?
I wonder if there is a way to simply set a hard limit for the amount of forces the AI can field.
RE: AI Mods?
Posted: Fri Feb 02, 2018 2:06 pm
by ironbmike
ORIGINAL: Twotribes
Havent found one I sometimes edit the game and give the AI supreme Hqs 99999999 supply.
That's a good idea. Thanks.
RE: AI Mods?
Posted: Fri Feb 02, 2018 5:46 pm
by ernieschwitz
Is there a way to slow/limit the factory spam?
Yes, there is event code controlling it. I do not remember which event, but you are able to read which off the Locations submenu (LT), in the editor, under each type of location.
If not, is it easy to allow factories to produce supplies?
This is much easier. It is just setting factories the ability to produce a certain item group. Probably a lot faster than doing event code, but less satisfying.
I wonder if there is a way to simply set a hard limit for the amount of forces the AI can field.
I am sure you could probably program it, in event code. Not sure exactly how.
Event code in this game is pretty much able to do anything, within the framework that the game has. It's one of the reasons why I love this game. You are almost able to create anything. It is very flexible.
RE: AI Mods?
Posted: Fri Feb 02, 2018 5:49 pm
by Twotribes
Be warned I have seen Hqs go regular unit. Not sure if it is related to supplies.
RE: AI Mods?
Posted: Fri Feb 02, 2018 6:09 pm
by ironbmike
ORIGINAL: ernieschwitz
Is there a way to slow/limit the factory spam?
Yes, there is event code controlling it. I do not remember which event, but you are able to read which off the Locations submenu (LT), in the editor, under each type of location.
If not, is it easy to allow factories to produce supplies?
This is much easier. It is just setting factories the ability to produce a certain item group. Probably a lot faster than doing event code, but less satisfying.
I wonder if there is a way to simply set a hard limit for the amount of forces the AI can field.
I am sure you could probably program it, in event code. Not sure exactly how.
Event code in this game is pretty much able to do anything, within the framework that the game has. It's one of the reasons why I love this game. You are almost able to create anything. It is very flexible.
Interesting. I'll have to play around with it to see what options I can come up with. The ultimate goal is to make an AI that behaves somewhat like a human.
RE: AI Mods?
Posted: Fri Feb 02, 2018 6:56 pm
by ernieschwitz
The ultimate goal is to make an AI that behaves somewhat like a human.
Well, that is a lofty goal. I too tried to get the AI to do something similar to a human, in 2nd Civil War (A mod/scenario/game for ATG). It is harder than you think. I was not very proud of the result, but it passed as being ok, i think.
RE: AI Mods?
Posted: Fri Feb 02, 2018 9:10 pm
by Twotribes
I play 2nd civil war even though it has a couple errors
RE: AI Mods?
Posted: Fri Feb 02, 2018 9:17 pm
by ernieschwitz
yup, it does. Some of them would take a couple of days to correct. The code is really complex here and there. Especially the Partisan event and give back allied territory card.
RE: AI Mods?
Posted: Fri Feb 02, 2018 10:18 pm
by Twotribes
Ya the give back territory doesnt work )
RE: AI Mods?
Posted: Fri Feb 02, 2018 10:38 pm
by ernieschwitz
It does however have the most complex weather system I ever made...
RE: AI Mods?
Posted: Thu Feb 08, 2018 3:16 pm
by ironbmike
ORIGINAL: ernieschwitz
It does however have the most complex weather system I ever made...
It's a great mod!