a question about the Lua console in the game,help!!!

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
JoshKing
Posts: 1
Joined: Mon Mar 30, 2026 2:50 pm

a question about the Lua console in the game,help!!!

Post by JoshKing »

Hello everyone. I am an Asian user and avid enthusiast of the wargame CMO (Command Modern Operations). I would like to ask how to use the built-in Lua console in the game to write code that loads and runs a specified simulation scenario file (.scen), performs statistical analysis on the platform information of both the red and blue sides as well as designated engagement events in the scenario, and finally outputs the corresponding statistical analysis results in the form of a log. Thank you very much! :) :) :mrgreen:
thewood1
Posts: 10295
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

Re: a question about the Lua console in the game,help!!!

Post by thewood1 »

This guys has tons of videos on using lua and you can watch him use the console. https://www.youtube.com/@PGatcomb

And this is an older thread but some good info in it. https://forums.matrixgames.com/viewtopic.php?t=347633

btw, I just googled "CMO console" and there's a lot of info available. You might want to start there.
User avatar
blu3s
Posts: 1257
Joined: Fri Jul 08, 2022 9:45 am

Re: a question about the Lua console in the game,help!!!

Post by blu3s »

Hi,
Please note that CMO is strictly a simulation game and must be used in accordance with its End User License Agreement (EULA).

Using CMO to log, record, or perform statistical analysis of simulated scenarios (such as research, data collection, or external analysis) is not permitted and violates the EULA.

We appreciate your understanding and ask that you use the software only for its intended purpose as a wargame/simulation for entertainment and personal use.

Thank you.
Post Reply

Return to “Command: Modern Operations series”