• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

How would an AI like this work?

Status
Not open for further replies.
Make a specific color for it, on the game initialiation spawn a small custom building (maybe even invisible) and destroy the townhall. Make the units the assigned color. This makes the units not braindead and attack and such. It has to be a color/cpu and cpus need a base upon starting (That's why you replace it for a small invisible building and destroy the town hall). That's how I would do it. Maybe there's a more simple way :)
 
Start melee AI for the player, it does a sufficient job with search and destroy as long as you do not have pathing islands (in which case it starts to cause frames to be dropped). Make sure they have enough that they would not be defeated in melee and that you do not accidently defeat them, this is to stop them from potentially giving up.

In StarCraft II this is even more easily done by just ordering the spawned units to "suicide" which causes them to mercilessly, and without regard to their lives, hunt down every single enemy unit on the entire map. Warcraft III should also have such a mechanic for its campaigns but I am not knowledgeable enough with WC3 AI to know about it.
 
Spawn those units and them give them the order to attack the specific building (can be a variable too).
 
Status
Not open for further replies.
Back
Top