AI Mods?

Discuss and post your mods and scenarios here for others to download.

Moderator: Vic

Post Reply
ironbmike
Posts: 19
Joined: Tue Jan 22, 2013 1:06 pm

AI Mods?

Post 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?
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: AI Mods?

Post by Twotribes »

Havent found one I sometimes edit the game and give the AI supreme Hqs 99999999 supply.
Favoritism is alive and well here.
User avatar
ernieschwitz
Posts: 4560
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: AI Mods?

Post 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.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
ironbmike
Posts: 19
Joined: Tue Jan 22, 2013 1:06 pm

RE: AI Mods?

Post 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.
ironbmike
Posts: 19
Joined: Tue Jan 22, 2013 1:06 pm

RE: AI Mods?

Post 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.
User avatar
ernieschwitz
Posts: 4560
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: AI Mods?

Post 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.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: AI Mods?

Post by Twotribes »

Be warned I have seen Hqs go regular unit. Not sure if it is related to supplies.
Favoritism is alive and well here.
ironbmike
Posts: 19
Joined: Tue Jan 22, 2013 1:06 pm

RE: AI Mods?

Post 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.
User avatar
ernieschwitz
Posts: 4560
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: AI Mods?

Post 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.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: AI Mods?

Post by Twotribes »

I play 2nd civil war even though it has a couple errors
Favoritism is alive and well here.
User avatar
ernieschwitz
Posts: 4560
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: AI Mods?

Post 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.
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
User avatar
Twotribes
Posts: 6466
Joined: Fri Feb 15, 2002 10:00 am
Location: Jacksonville NC
Contact:

RE: AI Mods?

Post by Twotribes »

Ya the give back territory doesnt work )
Favoritism is alive and well here.
User avatar
ernieschwitz
Posts: 4560
Joined: Tue Sep 15, 2009 3:46 pm
Location: Denmark

RE: AI Mods?

Post by ernieschwitz »

It does however have the most complex weather system I ever made...
Creator of High Quality Scenarios for:
  • Advanced Tactics Gold
    DC: Warsaw to Paris
    DC: Community Project.
Try this Global WW2 Scenario: https://www.vrdesigns.net/scenario.php?nr=280
ironbmike
Posts: 19
Joined: Tue Jan 22, 2013 1:06 pm

RE: AI Mods?

Post by ironbmike »

ORIGINAL: ernieschwitz

It does however have the most complex weather system I ever made...

It's a great mod!
Post Reply

Return to “Mods and Scenarios”