Hi all,
Apologies in advance about the long post.
I have been looking through the source code of the game with the intention of creating a script that can create an AI vs AI match in the SinglePlayer skirmish lobby, start the game, log the result and then rinse and repeat a specified number of times. I intend to use this in order to train a custom AI using machine learning. I should specify now that I have no intention of using this in multiplayer, this is purely for my personal use.
I have been struggling to understand the process by which the Spring Engine actually launches a match and how it creates the skirmish lobby. I have been using Visual Studio code and basically just searching through the folders of the base steam game, trying to find the methods that cause this to happen. More recently I have been searching the Zero-K Infrastructure folder, but I was also unable to form a proper understanding of how to game works from there.
Would anyone be able to recommend which files to have a look at in order to gain the understanding required to create the script mentioned above?
Thank you in advance, sorry about being so clueless.