LEGEND! I was waiting for this.
I have combined my moving front-line script with this Ground troop script and an auto generation Plane seek and hunt script (fighters CAP, Bombers Bomb, Stukas dive bomb). I saw the script in action on my server last night with the Stuka taking off and attacking a marker behind enemy lines, bombing ground troops and then it stuck around and hunted for air targets and dived on a human and then an AI bomber trying to land.
Now I have random columns of Vehicles (tanks, support groups etc) generating from taken over air bases with missions to seek and destroy nearest enemy markers and take over air bases. On take over of an airbase then there are random set of AA spawned also for defence.
All kills add to red or blue side points, take over of bases also get points
Combining all 3 scripts + some preloaded missions also, I now have a full Falcon4 type dynamic campaign. I also have checks to ensure the units are kept to controlled levels on each side to stop the server having a heart attack.
Online game play was smooth and even ran from my PC as Host server also.
THANKS GUYS!!!
|