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

AI Expansion Town

Status
Not open for further replies.
Level 2
Joined
Dec 9, 2020
Messages
8
Hi everybody! I'm making a melee ai (with the editor ai) for my custom race, but I'm having some issues:
i) if the expansion town gets destroyed they don't rebuild the town hall. what condition should I use in this situation?
ii) one of the custom race has a custom hunted mine, and it doesn't build any expansion.
Any suggestions? thanks a lot!
 
Level 2
Joined
Dec 9, 2020
Messages
8
I don't have any experience with the AI editor, but it sounds like something you can fix by editing the techtree equivalents in either the gameplay constants or the object editor (maybe both).

already edited that! i think that the problem for i) is in the condition to use..
for ii) I have no idea... the worker of the second custom race are not based on acolytes, but they are classifieds as undead! the ai is able to harvest from a gold mine.. but not to create one in the new expansion(I personally tested the tech tree.. and It works fine)
 
Level 2
Joined
Dec 9, 2020
Messages
8
fixed i) the condition to use for the expansion "n" was : "number of townhall = n".
still can't make the other race build an hunted gold mine/ expansion
 
Status
Not open for further replies.
Top