| 11-09-2002, 11:21 AM | #1 |
I am making a campaign and I need to make ai scripts for each player. Is there a program out there to make them yet? I am trying to make them right now by extracting the scripts that blizzard used in the official campaign as a basis and I understand a few things like call campaign defender (1,1,2) Grunt means that if it is an orc base it will generate 1 Grunt on easy and normal to guard the base and 2 Grunts on hard and I also know how to set how many units they attack with... But what are the trigger words for each unit like "Skel_Warrior" is a skeleton warrior, but how do you figure out all the other ones? How do you set it to how many buildings they construct and which player they attack with? I think by now an ai editor should exist, if not, how is anyone making a campaign doing ai scripts? |
| 11-11-2002, 02:27 AM | #2 |
*bump* |
| 11-11-2002, 02:32 AM | #3 |
u could try to use triggers... like IF {PLAYER #} HAS 100 GOLD, DO {ORDER BUILD 1 WISP} that kinda thing |
| 11-11-2002, 03:16 AM | #4 |
There are special editors that should help a bit by syntax highlighting or other stuff. The building commands take the 4-letter-code to identify the unit. But better look into common.ai . There are lots of constants defined to use instead of the 4-letter-codes. There is a reference for making AI Scripts by JonahDean. It's posted in the AI Forum. |
