| 03-25-2009, 11:28 AM | #1 |
does anyone know how to get the shade or destroyer for the UD using the script editor? Can't seem to do it, maybe a sample .wai script would help thanks |
| 03-25-2009, 02:11 PM | #2 |
You can make Destroyers via AI editor, just train the Obsidian Statues, get the destroyer upgrade and add to the priority list this kind of unit. For shades, the thing is different, you should trigger that. One way could be a timer checking every 2 seconds if there's for computer players shades, if not, then pick a random undead worker and cast the sacrificial ability. |
| 03-25-2009, 02:17 PM | #3 |
Destroyers: see moyack Shades: Are you saying that building a Sacrificial Pit then order the training of a Shade via Building Priorities doesn't work? EDIT: *extracting the original .ai script to see how does it work* In the original script I don't see any order to train a Shade... the Sacrificial Pit seems to be built only in order to use the Boneyard... So, yeah, probably it must be triggered... |
| 03-25-2009, 03:17 PM | #4 |
Harcoded AI don't use shades because it doesn't use visibility to attack, in other words, are useless for AI. |
| 03-25-2009, 04:41 PM | #5 |
i'm using the shade to detect invisible units. Useful when you think how many burrowed enermy spiders they could be after every battle Does building the destroyer destroy the Obsidian stature, or does it then build another Obsidian stature to replace the previous one after you build the destroyer? Also are they any tutorials in making AI using JASS online? |
| 03-25-2009, 04:56 PM | #6 |
Here's my AI so far, have a look at it Any improvement or comments would be welcomed thanks |
| 03-25-2009, 07:11 PM | #7 | |||
Quote:
For the first question, the AI won't create another Obsidian statue replacing the destroyed one automatically, as I remember, so if you want it to create another statue for every Destroyer it has, you have to give it the specific order to do this. For the tutorial, check the JASS section of the tutorials in this site... Quote:
EDIT: That's not a normal AI, that's a contest AI, right? Quote:
But you can add Destroyers the way moyack said (and AFAIK it's the only way) And... you set a condition that you're not using anywhere... ![]() |
| 03-26-2009, 11:11 AM | #8 |
yeah, the AI is still a work in progress at the moment. But should work reasonably well basic tactics is mass ghouls + fiends for anti air. How many fiends should i need in case my opponent goes all air to insure i can take them? heros are DK,DL and then lich so i can eventually hero nuke if i want to. Basically working with twin Aura as much as possible Then there's the what i term luxery units such as all the rest of the undead force which has a condition of building when i have excess gold unspent should be good |
| 03-26-2009, 07:20 PM | #9 |
Anti air: Gargoyles. They have high damage to air units and you can train them in Tier 2, the same requirements for fiends' anti air ability. Additionally with DL vampiric aura, the Gargoyles gain hitpoints per attack with air units making it a perfect counter. Just a suggestion. |
| 03-27-2009, 02:47 PM | #10 |
i'm more using the fiends just for the web ability really. Gargoyols are great one on one but if i say face an all air force then most of my ghouls will be useless. And having a fraction of my army fighting all of the opponent's AI is going to go pretty bad. As far as i know the ai editor can't let you target specific units which means my fiends will suvive a long time to web all the air units. So far my AI can web 4 unit at 50 food and under, 6 unit at 50 food and over every 12 seconds. So as they're on the ground then the ghouls just handle them. EDIT: no improvement to my AI at all? |
