HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help Me With An Ai Problem!!!

12-07-2003, 01:53 AM#1
Skives1998
hello. recently, i am makeing a campaign. In one level fo my campaign, i want the computer to be using a custion race that i made up. How do i get the Ai to attack me(never thought i would ask that) and how do i get it to build a base and be more difficult(Never thought i would ask that, either) So please post here, or email me, whatever, as long as you can help me. I would be very grateful!
!!
U
12-07-2003, 08:45 PM#2
silverdrake
you can do all of this with the world editor. you will need to make an ai file in the ai editor. set up a build order for any buildings and units it needs to make. you can also get it to attack you whenever it has enough units. it should be clear how to do all of this with the example ai's.

as far as "being more difficult" you will need to have it start with more stuff. it is a given that the ai will not be very challening, unless they have vastly superior numbers.
12-08-2003, 07:17 AM#3
Cubasis
Skives, you are inside the "AI/Jass" forum.....you don't post such a rediculous poll in you request of help. Most people who post in this forum knows AI fairly well, and you should just shoot your question without trying to attract more atention with such a silly poll. I mean, you got the creator of WC3's best AI script....moderating the place :D

Anyways, silverdrake answered your questions, and it is mainly about studying the AI editor, checking out the example AI files f.ex., and what he ment with allowing the comp to start with more stuff....Is to actually give the computer plain resources....Many people don't know this, but this is normally how AI's in these kind of games work, they most of the time "cheat" and gain free resources to be more challenging, they even can most of the time see the whole map and thus know where you are from start. But this is not relevant to your questions i guess.

*Poll closed*

Cubasis
12-08-2003, 09:55 AM#4
AIAndy
The main thing to know about the AI editor when you have custom units is that you have to import the custom units into the AI editor even if you are working on the map when you open it.
Then start with making a build order. He will go through that list from the top. If he has that many units as mentioned there he will continue, else he will give the order to build that. Note that if you put in a unit/building in there that he cannot build with the stuff above that build order, then he will likely get stuck at that point.