Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Can the AI handle more complex production requirements?

 
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] >> Advanced Tactics Series >> Mods and Scenarios >> Can the AI handle more complex production requirements? Page: [1]
Login
Message << Older Topic   Newer Topic >>
Can the AI handle more complex production requirements? - 8/6/2016 9:46:05 PM   
GaryChildress

 

Posts: 6830
Joined: 7/17/2005
From: The Divided Nations of Earth
Status: offline
Working on a personal scenario where I plan on having the following regime slot items:

1. Oil
2. Ore
3. Raw Materials
4. Manpower

In order to create 1 unit of supplies, a regime would require 1 oil, 1 ore and 1 raw materials. Also all combat units will require manpower and raw materials and/or ore to produce.

My question before I undertake the chore of setting all this up is, does anyone know if the AI will be able to handle such a setup or would it be too complex for the AI?



_____________________________

Post #: 1
RE: Can the AI handle more complex production requireme... - 8/6/2016 10:05:48 PM   
ernieschwitz

 

Posts: 3893
Joined: 9/15/2009
From: Denmark
Status: offline
I think that Vic will need to answer this.

(in reply to GaryChildress)
Post #: 2
RE: Can the AI handle more complex production requireme... - 8/7/2016 12:30:47 AM   
GaryChildress

 

Posts: 6830
Joined: 7/17/2005
From: The Divided Nations of Earth
Status: offline
Thanks, Ernie. I'll see if Vic is lurking about and answers. :)

_____________________________


(in reply to ernieschwitz)
Post #: 3
RE: Can the AI handle more complex production requireme... - 8/9/2016 7:52:16 AM   
Ormand


Posts: 682
Joined: 2/17/2009
Status: offline
I think the answer is "it depends". If it is a resource that the AI must decide to produce, I believe the answer is no, although, there might be some algorithms that check for dependencies and then tries to set production. I tend to think not due to the fact that it is reported that late in some games, the AI has trouble producing supplies for its units. But, I am not sure. I can see how it would be possible to check for requirements on production and then adjust. It would basically have to be an adaptive loop. As far as to whether the AI is limited by the resource needs. In principle, yes. There is an event that is called to make the AI's production resource compliant. Thus, I think the production would be adjusted to make it compliant to the available resources. Namely, what is in the inventory (which, by the way should be a regime variable). If you have sources for these resources, then the resources will increase each turn, and be consumed with production. The AI will likely not be able to take the resources into account when deciding what to build, but will be limited by available resources with the resource compliant event. On the other hand, if the the resources need to be produced, you will need to make events to make this happen.

If you have sources that need to be upgraded or somehow improved, you will need to write events that will do this. Currently, the AI actually gets a resource bonus each turn, and every turn has a well defined probability to upgrade each oil and ore resource. You would have to add your sources to this event.

(in reply to GaryChildress)
Post #: 4
RE: Can the AI handle more complex production requireme... - 8/10/2016 11:01:54 AM   
Vic


Posts: 8262
Joined: 5/17/2004
Status: offline
Probably the best way to approach this is to accept your design is going to work differently for the AI than a human player.

Maybe even by only allowing supply production for the AI and manually giving SFTypes, oil and PP to the AI based on the number of locations is owns.

My estimate is that this approach will give the best results.

As a bonus such an approach would allow for the scripter to let the AI use more varied equipment or add AI personalities who use different kinds of equipment.

Best wishes,
Vic

< Message edited by Vic -- 8/10/2016 11:02:21 AM >


_____________________________

Visit www.vrdesigns.net for the latest news, polls, screenshots and blogs on Shadow Empire, Decisive Campaigns and Advanced Tactics


(in reply to Ormand)
Post #: 5
RE: Can the AI handle more complex production requireme... - 8/10/2016 5:10:55 PM   
GaryChildress

 

Posts: 6830
Joined: 7/17/2005
From: The Divided Nations of Earth
Status: offline
Many thanks for the info, Vic and Ormand.

_____________________________


(in reply to Vic)
Post #: 6
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Advanced Tactics Series >> Mods and Scenarios >> Can the AI handle more complex production requirements? 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.938