Our great sponsors
-
wargus
Importer and scripts for Warcraft II: Tides of Darkness, the expansion Beyond the Dark Portal, and Aleonas Tales
-
OpenRA
Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
In the case of Stratagus/Wargus (open source clone of Warcraft II), the AI at its top level has an ordered list of goals/commands, to give it a sensible progression and allow it to be tailored to specific scenarios while hiding a lot of complexity. Like here's the land attack script for random scenarios, and there's separate scripts for air and sea attacks. Specific campaigns also have their own scripts for each AI player like this one.
at that point he can look into OpenRA code https://github.com/OpenRA/OpenRA