| 03-31-2007, 04:35 PM | #1 |
anyone got a simple GUI dash spell? one that moves a unit from one point to another by dashing while at the same time damages any enemy units that are within the dash path, much like a war stomp spell. trigger samples would be very much appreciated |
| 03-31-2007, 05:07 PM | #2 |
I don't see at all how that is similar to War Stomp... |
| 03-31-2007, 05:14 PM | #3 |
If you looking for a charge spell there are one over at the resources... |
| 03-31-2007, 05:42 PM | #4 |
The spell I'm assuming your asking is relatively simple to make. First, base it off a spell that targets the ground, I used blink and removed special effects. Now, it required two triggers for simplicity. One to set the variables (begining postion, ending position, the angle between those positions, and the distance between those two points) and execute the second trigger, and a second one to do the damage and spell special effect. This can be consolidated into one trigger, but its easier to edit as two. The second one will pick all units within range of the beginning spell position, and play an effect and damage them. Then--using a temp count variable--choose your new position as the beginning position offset by 50 (or whatever you want it to be) in the angle determined from earlier, and damage all units in range with a special effect. Repeat this until your temp count has reached the distance between your two points (or anything else that will tell you--position-wise--that you have reached the "end" of the dash) As a side note make sure to make a trigger that won't damage the unit twice if there is overlap in the range of the spell. I did it by adding a unit to a group after it was damaged, and to only damage units that were not in the group. Hope that helps |
| 03-31-2007, 06:28 PM | #5 |
This isn't really the right place, but anyway. http://www.wc3campaigns.net/showthread.php?t=88729 |
| 04-01-2007, 04:23 PM | #6 |
@Castlemaster - wow, those tips helped me a lot. I wasn't really familiar with the new actions introduced into the patched versions of WE (I used an unpatched tft 1.07 WE). but anyway, your logic was very very helpful. now the only thing left to figure out is how to make the unit look like it is dashing.. @st33m - oh, sorry, I was referring to shockwave, mixed up the tauren chieftain's skills. @blu_da_noob - not sure if one of the spells in that thread is actually a dash spell. and I'm using GUI all the way for my map. |
| 04-01-2007, 04:41 PM | #7 | |
Quote:
|
| 04-01-2007, 04:59 PM | #8 |
ah yeah, sorry 'bout that. shadow flight's okay, it does the effect that I'm looking for, could just probably replace the blink effects with some blood, but it still lacks the unit-slicing-through-the-enemies effect, just like the faceless void's skill in DotA. how do I add that visual effect? (sorry for being so particular, I'm just trying to stick to my map's theme). |
| 04-02-2007, 03:15 AM | #9 |
I pondered the same thing sword about the graphics effect. I wanted to make the faceless void effect, but I do not exactly know how it was done. My only guess is a dummy ability that launches a projectile that uses the faceless void turned black as a model. Anyway, I'm using almost the exact same spell in my map, and here's how I did my special effect. First: Every time you do the check with polar offset to deal damage to enemies, have it create a special effect at the reference point, and a special effect on the unit that is hit. For blood effects, I used stampede<special> which looks good and even has a sound effect to go with it. You can find tons of blood effects under unit-special which is the blood effects of dying units. Second: Find a special effect for the dash. The hero that casts this spell is the night elf assassin for me, so I used Carrion Swarm<special> which is basically a wispy black cloak. The result actually surprised me how well it worked. It gave what looked like a trail of black where she dashed and a nice slash to everyone in her path. As far as the dash graphic, you just gotta test it to see what works. Keep in mind it never hurts to check out the resource part of the site for spell effects. Also, if you don't know, repping people who do a good job of helping you out is a sign of thanks :). |
| 04-02-2007, 07:13 AM | #10 |
thanks for the tips again. so hmm, I guess I'll just figure out how to do the dash effect. it won't be too hard, would'nt it? XD |
| 04-02-2007, 12:30 PM | #11 |
Not at all once you start playing with it. |
| 04-02-2007, 09:05 PM | #12 |
Just create a dummy at the position of the caster. Order it to cast a ground-targeted missile spell. Give it the model of the casting hero, and do these formulas. To find the wait inbetween removing the hero and placing him on the targeted location: ((Distance between caster and target point) divided by (missile speed of the missile on the spell)) - 0.1 [so he doesnt vanish for a fraction of a second, just incase] |
