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

HIVE

Footman16
Footman16
Hey man, in order to create an AI like the one's in blizz's campaigns you'll need to write them in a thing called JASS, this isn't too hard and this is probably one of the best tutorials for getting started: Creating AI workflow

I don't know if you have much experience with coding but it's ok if you don't as the coding required for an AI is very minimal and most can be copy and pasted from other scripts such as mine or those from the blizzard campaigns. Hope this helps! :)
Griffith
Griffith
Thanks man, i will try to learn it, i dont have any experience with JASS or coding but i will give it a shot.
Footman16
Footman16
Yeah tbh it's not that bad, as I said you can usually copy most of what you need from other scripts. If you use something like an MPQ Viewer (Ladik's MPQ Editor) for older patches or a CASC viewer (Ladik's Casc Viewer) for Reforged you can go into the game files and go into the Scripts folder and even look at the Blizzard AIs and how they wrote them. If you use custom units as well it's easy enough to add them to the AI too. I'm assuming you'll want to start with simple defence and attack base AIs that's usually the best place to start, when you try to do more complicated stuff that's when it can get tricky. If you have any questions just let me know :)

EDIT: I should say, if in doubt, checking the blizzard made campaign maps is often a good way to learn how to do things (usually properly). They also format their triggers in ways that are usually pretty effective once you get used to it.
Griffith
Griffith
I will see what i can work with, and yes i always check blizzard campagin maps to see how things work, it's where i learned most of the work but AI I just don't understand how to work with it.

I will Try to Learn JASS, Thank you Truly!
Top