• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Severe AI issues

Status
Not open for further replies.
Level 2
Joined
Jun 15, 2019
Messages
10
im currently trying to make a campaign map, I disabled the ability for the Horde to create the Tauren as well as the Tauren Hero and the Tauren Totem. for the humans I made them unable to make dwarf gyrcopters and mortars. I changed the human steam tank to a ballista in function and looks. But for some reason now the orcs will not make a beastiary, or upgrade their town halls. The humans do this as well and for some reason they don’t build sorcresses, priests nor “Ballista”s. So now the armies only composite of Footmen, “Crossbowmen” (modified dwarf gunners to look and sound like crossbowmen), and the Horde only composites of Troll spearman and Grunts. I have no idea why this happened and have not been able to find out through trial and error. All their gold mines have 15k gold so I wonder if low amounts of gold stunts technology level. But at the moment I’m dead stopped, I don’t want to spend another week building my map if it turns out to be broken. Any information would be highly higlhy highly appreciated.

*edit*: it seems the orcs nor the humans ever upgrade the townhall/great hall thus they can never actually build the better units but I still have no idea why.
 
Last edited:
If the AI's script is ever ordered to make those things that you told it not to make, it will never make anything else, because it's trying to make something it's banned from making. Orc AI may be trying to build tauren totem at tier 2 to make spirit walkers, or something. If you don't want to edit their AI, just turn the tauren totem/tauren into beastiary/raiders in the object editor, or something.
 
If the AI's script is ever ordered to make those things that you told it not to make, it will never make anything else, because it's trying to make something it's banned from making. Orc AI may be trying to build tauren totem at tier 2 to make spirit walkers, or something. If you don't want to edit their AI, just turn the tauren totem/tauren into beastiary/raiders in the object editor, or something.

If that’s the case should I change the script “melee game - run AI” to “campaign - run campaign AI”?
 
If you changed object data you need to import that data to the AI editor, and you need to check your build order, if you are ordering them to build something that requires another building and you put the required building after the first one, it will be stuck.
 
If you changed object data you need to import that data to the AI editor, and you need to check your build order, if you are ordering them to build something that requires another building and you put the required building after the first one, it will be stuck.
So if I have to edit the AI itself to change its build order to remove the building/units I told them they cant build how would I go about doing that?

Edit: managed to find it, while I was looking around at it it only has the Townhall and 5 peasants in its build priority. Is that normal?
I went to change the map the AI editor was selected on and it says my map “file path” is too long
 
Last edited:
Townhall and 5 peasants are the starting units on human race...so pretty normal, if you were then to put keep and then castle, you'd be stuck, because castle requires altar of kings.
Well I’m that case I don’t see anything that would be wrong for it not building them. Everything in the AI settings seems normal, but they still won’t upgrade anything higher than a townhall or greathall
 
Have you had a look at the how the AI is made in other campaigns? It is really easy once you get accustomed to it.

Shadows of Hatred v1.4

Rise of the Blood Elves v3.0

You can open those campaigns up and see how AI is made.

For bug-fixing AI problems, it is best to watch you AI build/train and to see where it stops at in terms of the "build order", and then isolate which step is the one where problems begin.
 
Have you had a look at the how the AI is made in other campaigns? It is really easy once you get accustomed to it.

Shadows of Hatred v1.4

Rise of the Blood Elves v3.0

You can open those campaigns up and see how AI is made.

For bug-fixing AI problems, it is best to watch you AI build/train and to see where it stops at in terms of the "build order", and then isolate which step is the one where problems begin.
With where they stop, they simply never contruct beyond or upgrade the townhall/great hall but I have no idea why they won’t, their build order in the campaign is pretty normal and everything, they just won’t
 
Status
Not open for further replies.
Back
Top