HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help me to create an autocast spell

08-27-2004, 08:12 AM#1
steeldragon
i want to create an autocast spell like slow or heal.... autocast spell is frost nova, chain lighning.....
sorrry for my english...............
08-27-2004, 10:55 AM#2
DeaconRaptor
now THIS I know how to do :D

pick an auto cast spell thats in the game........like Bloodlust for instance, or Perhaps the Neutral Spell Duill Spray would be better. then go though and change stuff.............for instance under the Art settings you'll want to add a Chain Lightning lightning effect. Also a Key one to change would be Projectile Art (or something simliar to that)

replace the Icon art with Chain Lightning, for Icon - Normal and Icon - Research and Icon - Turn Off. then make however many levels you want for the spell to be, for instance it could be a 1 level caster spell, or itcould be a level 6 Ultimate.........or it could be a 3 level hero spell. then go through and add in how much damage it does, cast range, cooldown, etc. to your specifications.

note however, that if you give an Autocast spell of this nature to a Melee Unit........it won't work. because the Melee unit is too busy to take time to use it I guess.........I made an autocast version of Cripple for a Melee Caster, and he never takes the time to use it. if you give it to a Ranged unit or Ranged Hero, it should work fine.

PS. also, you will see a line of code like Targets Allowed: Friend, Enemy, Organic, Ground, Air. or something of that nature. depending on what your Model spell was........you might have to change these so that youre own spell doesnt get Autocasted ON YOUR OWN UNITS. I REALLY screwed this up the first time lol............

anyways, hope that helps ya.......if it doesnt post again and Ill try to make it more clear (or something)
08-29-2004, 03:59 AM#3
steeldragon
thank you for helping me to create an autocast spell
08-29-2004, 08:33 AM#4
logik
if you want to make spells like chain lightning and frost nova auto-cast able, i suggest darky28's way...

download Natures Call Circle Defense... from www.wc3sear.ch



how its done, you make a dummy/base auto casting spell, and a custom version of the spell you want to cast ie.

- dummy auto cast based off of cripple ( like above method )
- then an edited version of the spell... ie. chain lightning with the damage you want and 0 mana cost (the auto cast spell will take the mana required)


then you make a trigger where when a unit casts the auto cast dummy, it gives the edited spell, issues an order to cast the edited spell at the unit targeted by the auto cast, then remove the added ability...


i could go into more detail... but i cant be bothered.