CMO AI (Full Version)

All Forums >> [New Releases from Matrix Games] >> Command: Modern Operations series >> Mods and Scenarios >> Lua Legion


adougher9 -> CMO AI (7/2/2021 7:12:36 PM)

Hi all,

People have said that this is the place to meet up with people who are working on / would be interested in an AI for CMO. CMO seems to be an interesting test-bed for real-time strategy AI and I am interested in applying a variety of open-source tools to it that have been made available over the last 20 years. Possibly Lua could if necessary be connected to some of these external systems, like:

+ Adversarial Reasoning / Game Playing (RTGDL/GGP/GVG-AI/Ludii/etc) / RTS AI software
+ Test-beds/gyms like TIELT, OpenAI gym, SynPros, etc.
+ (Temporal) Planners like Prodigy/O-Plan/PDDL planners
+ CYC/Eurisko/Prolog (e.g. COA critiquing)

This is probably a poor/inaccurate sampling of all the variety of possibly relevant systems/techniques out there.

A few questions:

+ What exists to date in terms of a community-based unified AI for a computer player/adversary for CMO?

+ Under what license must community add-ons or scripts must be made available under, if any, and is it possible to integrate other external open source tools?

A search for "AI" or "artificial intelligence" resulted in no matches, so probably it is the wrong vocabulary to refer to the tools being developed / used here.

My interest in this is to learn about/from and if possible improve the open source tool chains for strategy / AGI, and this is a very interesting problem domain, there seems to be a lot of prior work and literally battle-tested approaches. I have just begun dabbling with CMO and it's far more interesting than most games out there, but am not very good at games/gaming in general.


jkgarner -> RE: CMO AI (7/3/2021 12:41:59 PM)

Hello and welcome to the group and Command!

CMO is a very rich combat simulation which would make a viable candidate for machine learning, and Lua has been used for machine learning, a la, Torch Library; however, bringing 3rd party libraries and file I/O are not permitted from the Command Lua environment in the public version of CMO. The Pro version (think very expensive) allows limited File I/O, but not 3rd party Lua libraries to my knowledge. Here one of the Command developers (like Apache85, or Michealm57au) may correct me (and would be welcome knowledge for me!)

I have some basic Machine Learning and AI training, and examined using AI/ML practices to enhance other combat simulators in the past. I am very interested in doing this kind of work against Command.

As far as licensing: users of Command may create scenarios and use Lua to enhance them to their hearts content (within the constraints imposed by the system) and this community is very good at supporting such efforts, though most people here are dabblers, and doing this for fun. Any Lua code that you choose to use may impose license requirements. There are various open source licenses, each with its own requirements. MIT License, GPL, GPL2, and others. To know what is imposed, you should read the license. Some require full disclosure of code and modifications, others simply allow you to use their code.

Keep in mind that the Command team will ONLY support the core simulation and answer questions regarding the published Lua functions available for use by Lua developers. Any enhancements that you add through Lua or bring in from 3rd parties code (a-la copy and paste into your library) will not be supported by the Command team. This is obvious to those who stop to think about it, but I said it anyway for extreme clarity.

If you proceed in working AI/ML on Command, you will undoubtedly create a lot of Lua code. I strongly suggest you organize it into a library of sorts. At the following post, I show how to create and use a Lua Library against Command's limited Lua environment. It may be of interest to you:

If you need further assistance, feel free to contact the forum, others, too, will help.

RockPaperScissors -> RE: CMO AI (7/6/2021 6:05:18 PM)

Hi ,

This thread may be of interest to you:

Command Theater AI - Ares v1.0 (forum post)

Not sure how much of the coding needs work (haven't tried), but it will probably be a good start.

Best regards, RPS

Page: [1]

Valid CSS!

Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI