HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Idea for a spell - need help..

02-18-2004, 01:14 AM#1
Huh
Ok basically I have an idea for a hero I'm making called "Berserker Charge". I thought maybe this could be based off of Shockwave. Basically the ability causes the hero to go into his attack animation and stay there (like one arm out like youre charging forward), then shoot straight forward and deal damage to everything in your path. It would effectively move the hero to the new spot too. I tried changing the shockwave art to a unit model but it looked all goofy (the unit shot forward, then keeled over dead lol). I figured if there was a way to track the units movement to the pathing of the shockwave spell, perhaps you could lock the hero's animation and order him to move straight in a line (as far as teh shockwave spells' range was set to), then unlock the animation. Also could maybe add some sfx to different parts of the heroes body in order to give a "trails effect".

Anyone else have any good ideas on how to make a spell like this? Sorry if i didnt describe better what I want it to look like. Thanks for the help, I thought this would be a very cool spell for a melee hero to have.

-Huh
02-18-2004, 01:42 AM#2
Shimrra
If you want the Hero to play it's spell animation while moving forward, then I think you need to add the spell animation as a walk alternate animation. The problem: That would be mdx\mdl editing and I know nothing of that.
02-18-2004, 01:45 AM#3
linkmaster23
Or do it the weird way, but easier. Just make the unit move INSTANTLY a few inches in a periodic event trigger happening every .o2 seconds. Shimrra get on MSN please.
02-18-2004, 01:45 AM#4
Huh
Would the animation - play units *** animation trigger work? I know the description for it says that to revert to normal animation you need to use reset animation action, which makes me wonder if that first action actually locks the animation? However, if you ordered the unit to move after playing a certain animation would it automatically switch to its walking animation?

There should be an easier way to do this...
02-18-2004, 01:47 AM#5
linkmaster23
Yes, if its a spell CHANNEL then i would be easy, if it's a Attack animation, then it would be a bit harder, but all you would have to do is slow down the animation a tiny bit.
02-18-2004, 01:47 AM#6
Krin
it wont lock the animation, hell just stop moving untill he walks, attacks, casts another spell, etc... the easiest way to avoid that would be to wait the spells duration and then play stand animation...
02-18-2004, 01:48 AM#7
linkmaster23
Also, if you played his animation and told him to move he would revert to his walk animation.
02-18-2004, 01:52 AM#8
Krin
not if you modified the casting time to the attack animation's time
02-18-2004, 02:09 AM#9
Huh
Ok, suppose I wanted to do this with triggers (as it sounds like I might need to). How could I make it so he only moves forward as far as the spells range is set. Like, if I targetted a unit just in front of myself, I would want him to charge past that unit, as far as shockwave would normally go, doing damage to all units in that path. I figure maybe I just remove shockwaves art, and then use triggers to move my hero along with shockwave, correct? How would I go about locking my heroes movement to the spell? ( i mean, make it so he only moves in the path of shockwave, and in the right direction, and the right distance)..