• 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.

How would an AI like this work?

Status
Not open for further replies.
Level 5
Joined
Nov 21, 2014
Messages
151
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 :)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,285
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.
 
Level 5
Joined
Jan 16, 2016
Messages
115
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.
Top