ok im making an open rpg, and im going to have areas with units patroling simple, but one of the things i want are enemy bases, drones harvest etc. and then they build and after they reach a certain amount they attack teh nearest town. what i need is a good ai script for the working and construction.
Bah Ai scripts...
I try to use the regular scripts to mine, but for some reason they dont build. Try using a 'main base' ai script from xtra editor. For attacking, I think you need to detect the conditions you need, then set the 'enemy base' ai script...?? Or, if that doesn;t work, which it probably won't, you could use the cond and
randomly select an amount of units to attack.
Sc doesn't have good scripts >.<
I thought you can use execute terran campain insane or something like that.
well i want them to build and mine etc., and i have trigers that when men reaches say 50 order all hydras and ligns atatck to town or w/e....i just need teh script that will make the zerg build and harvest...
town script or expansion custom zerg(this makes them harvest and build when needed)
They generally do not build buildings with area town, just harvest and build units and stuff. I'd also recommend custom, but really, just try out different ones and see what suits you best.
Insane is fun...
Yes, you could just use one of the SC zerg scripts, but to make them attack towns, randomly, and possibly the players, make it so for each base, there's a rally point where all the lings, hydras, ultras, etc. go to. Be sure to add a condition to only do that when no one is in the vicinity of the base, or else a hero might go in to kill hypered ultras rallying at a point. Then, you have a condition to detect the number of units in the base, then use the Send All Units on Random (or strategic) Suicidal Missions (not sure if worded right). As for the mining, an insane one would work fine.
You can always autoplace buildings and then use AI scripts for them to build units