First of all, what "SC2 coop like" has to do with the topic? Coop mode doesn't have macro AI.
Second of all, 4/4/4 upgrades are doable (i think StarEdit/SCMDraft's tools are enough for that) but automatically disregard usage of excisting Blizz scripts.
Third of all, you will need certain tools to work on that, in your case it's PyMS. If we're talking about SCR, you will also need Samase.
As for actual scripts:
1) For the attacker with base, it will be sufficient to, using PyAI (part of PyMS), open any existing Blizz script which begins with this:
start_campaign
wait(1)
start_town
(better BW ones) and work with it. I think it's pretty easy to understand how to change attack waves and add upgrades from and example (if not, feel free to ask), as for rebuilding - just
build requests basically (the ones excisting in the beginning of each script).
2) Basically same as 1, cut out attack waves. Not sure what you ment by "couple of spots" though.
3) Take any campaign script as example like in 1, cut out any
build requests for any buildings you don't need. You will have to calculate precise moment for trigger to spawn units just before
attack_add requests start firing. Alternatively, use action
create_unit - example for it's usage can be found in
Brood Wars Terran 2 - Town A script. This action requiers XY coordinates instead of location - they can be taken via SCMDraft by pointing cursor on needed position and writing down two numbers in bottom-left corner of screen - theese will be your coordinates.
Post has been edited 2 time(s), last time on Jul 21 2018, 4:49 pm by UEDCommander.