HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Make towers autocast abilities

04-18-2004, 07:51 PM#1
Mighty3k
Hi there!

I am asking this for my cousin (but you don't care :P). Anyhow, he wants to know if it is possible to make a tower (a tower built in a TD map, you know what I mean) autocast any ability. If you have played Natures call cirkle defense you may have seen it. One tower casts rain of fire and one life drain.

Well, if anyone knows how to acomplish this please tell me.
04-18-2004, 08:29 PM#2
Shark
its much easier to just upload the map, and let him see for himself with some guidelines instead of explaining the whole thing...

heres the deal:
you first make an copy of the ability you want autocast, then
you need to make an ability based of Orb of Slow ability and customize it, but use the "autocastable" version of your ability in the specified boxes....

then, open the unit/tower in Object Editor and give it the "orb of slow" version of the skill....

here's the guide-tree......
Hero skill - Chain lightning > Only one level, no mana chain lightning (this is what i call "autocastable") > percent chance, autocast "autocastable" chain lightning (this is "orb of slow")

hope it helps...this map also has other "noobish" TD tricks in it, so study it well, and ask if you don't understand something.... but i think it has comments for every trigger in there....
04-18-2004, 10:51 PM#3
Panto
Actually, the way that Darky27 made autocasting abilities in NCCD is roughly thus: He made several custom abilities based off of Web that did nothing, one for each autocast ability he wanted. Then he detects when the tower casts Web, stops it from casting Web, gives it the real ability, orders it to cast the ability, and then takes it away.

Spells like Rain of Fire won't work with the Orb of Slow concept, to my knowledge. I believe that only works for single-unit-target abilities.
04-19-2004, 01:57 PM#4
Shark
he didn't say the spells he needed autocast :) nor does he know triggering :)
i naturaly pressumed he meant this way :)
also, i tend to use Searing Arrows instead of web, but i guess web can work too...

also forgot to mention : When using the "orb of slow" method, set towers damage to 1-1 ... that is all...
04-19-2004, 04:04 PM#5
Panto
Quote:
Originally Posted by Mighty3k
Anyhow, he wants to know if it is possible to make a tower (a tower built in a TD map, you know what I mean) autocast any ability. If you have played Natures call cirkle defense you may have seen it.
So, yes, he wants it to auto-cast, he didn't say anything about having it use the spell when it attacked, and he specifically cited NCCD.

He also didn't mention not being able to trigger, and if he wants to make a set of triggers for this and can't figure it out, we have a whole forum dedicated to helping with that.

Lastly, if you want the tower to also have an attack (as is the case in NCCD), you don't want to nerf the tower's attack damage. If you want it to only cast the spell, you can use Sharky's method or you can use Darky27's and disable the tower's attacks altogether.
04-20-2004, 03:33 PM#6
Shark
i agree :)
so myghty3k's cousin, its up to you to decide :))
04-21-2004, 03:16 PM#7
deep_dheep
i don't understand it to good but i think i can make it work with some traning :D
04-21-2004, 03:35 PM#8
deep_dheep
the orb of slow thing works good but its a pity that i can't do rain of fire that way. but what do you meen with damage 1-1 i didint have to change some thing to make it work!
04-21-2004, 03:44 PM#9
Shark
well, the 1-1 damage is for the towers that ONLY cast spells....like the Chain Lighning tower, you don't want it to cast the chain-lightning AND do damage to units, right ?
but you can leave the damage "on" (in other words: any damage you like) for the towers that cast buffs on attack.... like "does 15-20 damage and has 30% to cast cripple on every attack" kind of towers....
as for the web thingy, i already said i personaly use inner fire or searing arrows, but it requires triggering and i don't like that button turning on and off all the time....

and you can't do AOE spells only(the ones that target a POINT), you can have any other spell you like (or that targets a UNIT), so Blizzard, Rain of Fire, Death and Decay, and such are off.....but those spells look kinda crappy when cast the "web way", cuz whenever the tower attacks, it casts web, and whenever that web is cast, the rain of fire is cast...and interrupted, ofcourse :)
04-21-2004, 04:39 PM#10
Panto
Absolutely not. Darky27's method cancels the web-based spell before it's cast. Also, the web-based spell is in no way tied to the attack of the tower. Since his map in unprotected, get it, and look through it.

Granted, I think most of his work is in Jass. But if you don't know Jass or can't follow his, he's also very willing to talk about it himself, if you can catch him when he's active on IRC.
04-22-2004, 06:33 PM#11
Mighty3k
Thank you. My cousin has read this (deep_dheep). What ever he doesn't understand I think I can help him with after reading this.
04-22-2004, 07:29 PM#12
Shark
it might be so, because i have never utilized that method that much.... so far, it didn't cause problems to me, and NOW i realise that i have been wrong, because i was talking about that like it was a "orb of slow" method (cast on attack) instead of a free-cast ability (like web), and the trigger itself prevents the casting of web by using "starts casting an ability" event....
tnx for making me realize that :)
04-28-2004, 04:15 PM#13
deep_dheep
Well idid a chain lightning tower and i can set the damage to eathever i want bu i have to set the abilitys damage to the same, bu thats not a big problem... the problem is that i want a unit to cast a STARFALL ability(non target at least) when attacking, is that posible??? :(
04-29-2004, 01:17 AM#14
Panto
Err, did you read that stuff up above? Mighty3K specifically mentioned the method used in Nature's Call Circle Defense, which I explained conceptually, which can be seen in the map itself (which is unprotected) and which Darky27 would probably be willing to go through with you regarding, if you asked him. It can cast any spell.