• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Campaign AI wave, restock, etc

Status
Not open for further replies.
Level 3
Joined
Aug 9, 2018
Messages
24
Hello,

I am not quite the most adapt person when it comes to using Jass or the World editor to create AI, I am requesting help with programming my AI teams in one of my maps to send waves of units, replenish those units and defend. Pretty self-explanatory. If anyone would like to help or would like more information or even would like to see the map I would kindly provide that for you and it would be much appreciated. Thanks!
 
Level 16
Joined
Apr 20, 2014
Messages
523
I suggest you to follow this tutorial :

How to make a Campaign AI - WC3 Modding Information Center

If you are enough concentrate, it's really simple to understand.
Basically in your code, you just have to write:
- Required Buildings/Units
- Defenders
- Attackers

Defenders are the units waiting at the gold mine (often) and react when the base attacked.
You can also place several units at the base as guards. They will be replaced on death (You may define how many times they are replaced).
When you make a wave, the units are automatically produced.
 
Status
Not open for further replies.
Top