Campaign Series Lua Scripting - Defending

Post new scenarios and mods here to share with other gamers.

Moderator: Campaign Series Matrix Edition Development Group

Post Reply
User avatar
Jason Petho
Posts: 17445
Joined: Tue Jun 22, 2004 10:31 am
Location: Terrace, BC, Canada
Contact:

Campaign Series Lua Scripting - Defending

Post by Jason Petho »

This is a tutorial that goes over how to utilize CS Lua within the campaign series to make the AI perform the way you would like it to. In this tutorial, I select one infantry company and give you three levels of how to defend - with a bonus offering at the end! Even though this is done in Middle East, the same principles apply to Vietnam.

Please provide some feed back if you found this use or how I can make it better. If it is received well, it will be the first in a new series of scripting tutorials.

https://youtu.be/YutFJRa0rTk
RedBunny
Posts: 97
Joined: Wed Dec 08, 2010 9:43 pm

Re: Campaign Series Lua Scripting - Defending

Post by RedBunny »

Here's an idea that at least I find interesting: Matrix sponsers a "script tournament". Participants script both sides of a selected scenario and a referee runs two AI games using the attacker script and defender script for each participant on both games. Total score between the two scenarios determines winner. Not sure this is possible with the game engine.

A set of ground rules would have to limit which scripting functions can be permitted (i.e. no eliminating all opposing units, no teleporting units around, etc.) and a referee would have to review all scripts for volations.

All this would be a time consuming process for all, so I don't see this happening but imagine future players having a number of scripting examples for a scenario to study and build on. A guy can dream right?
User avatar
Jason Petho
Posts: 17445
Joined: Tue Jun 22, 2004 10:31 am
Location: Terrace, BC, Canada
Contact:

Re: Campaign Series Lua Scripting - Defending

Post by Jason Petho »

It's a good idea!

It would be nice to see some user created content.

That's why I'm working on these videos, to give some ideas.
Post Reply

Return to “Scenario Design and Modding”