| 10-18-2004, 04:35 PM | #1 |
Hey, I have a request for an AI. I need an AI that basically acts like the zerg, they charge at you, no strategy. Besides the fact that they target the weakest first. If any of you have played notd 2 you know what I mean. Is it possible someone could whip one up and post it for me? I know absolutly nothing about AI besides how to run the script in triggers. Thanks -Miningjrk |
| 10-20-2004, 10:35 PM | #2 |
I thought most comps did that by default. |
| 10-21-2004, 02:39 AM | #3 | |
Quote:
No most computers generally gather up their forces. Then they charge at you and run away regroup and such. I want the zombies to run directly at you completely brainless besides the fact that they tend to attack weaker targets first. Do you get what I mean? Someone please whip one up for me. |
| 10-21-2004, 02:31 PM | #4 |
I don't know about attacking weaker targets first, but what you're describing sounds like the standard Attack-Move AI. In the trigger, just order each unit to Attack-Move to the point you want them to attack. |
| 10-21-2004, 02:42 PM | #5 |
You could probably have the same effect by making the zombie units have a huge acquisition range and givign them vision of the wwhole map. |
| 10-21-2004, 03:29 PM | #6 |
Usng an AI script to do that is possibly the worst idea. I also think that using triggers to order all units to attack-move to the target is the better choice here. The most efficient way of doing this is splitting the whole zombie group into groups of 12 and ordering each group with the Group- Issue order command. |
| 10-21-2004, 03:40 PM | #7 |
That would come down to 14 groups per level. Plus sometimes they need to change targets how would you do that? |
| 10-21-2004, 05:19 PM | #8 |
if you get them to just rush units to you mindlessly, that is just free exp. for you and an easy game. if thats what you want just give you a lvl 10 hero from the start, save the time. just my opinion though :) |
| 10-21-2004, 06:44 PM | #9 | |
Quote:
For each unit in your group: Add it to another group set counter = counter + 1 if counter >= 11 send that group clear that group endif |
| 10-24-2004, 03:08 AM | #10 |
The mindless AI is just as was mentioned above - remove the melee AI and give them a huge acquisition range and if you want, full vision. You may have to throw in a booster trigger to get them moving around sometimes if the map is larger than the acquisition you give them. |
