HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

"Blur" Animation Freezing

05-14-2007, 09:30 AM#1
xombie
First of all, to clarify:

By saying "Blur Animation Freezing" I mean the type of cosmetic effect one tries to achieve when a unit is moving very quickly. In other words, that "blur" that a fast-moving unit leaves behind to represent extreme speed.

Anyways, this 'effect' which I will refer to as a "blur" from now on is what I am trying to touch up on. It is very easy to create a dummy unit with a little bit of toned alpha to make him transparent. The hard part comes when you try to apply a decent looking animation to this faded image.

Of course, when you first create a unit it automatically queues the stand animation (I believe, at least). What I want to do is make it so that the animation is more of a walking style, so that it seems as if the blurs are a real follow up to what the unit is doing. An even better approach would be to mimic the animation of the original unit exactly, but that would exceed my expectations.

So far, I use the model of a Mountain King and do something along the lines of this:

Collapse JASS:
call PauseUnit( unit, true )
call SetUnitAnimationByIndex( unit, 7 ) // 7 is "walk" index
call SetUnitTimeScale( unit, 0.0 )
05-14-2007, 11:48 AM#2
TheSecretArts
so, what exactly is your problem, you havent realy told us
05-14-2007, 12:11 PM#3
Nasrudin
He want a unit to leave a trail of itself like the protoss high templar.
05-14-2007, 01:31 PM#4
TheSecretArts
Oh, add a particle emmiter to the model that emmits a blue picture of the unit standing or just a light particle emmiter.
05-14-2007, 02:15 PM#5
Toink
Vexorian Spell Factory contains a charge template which does what you exactly want.
05-14-2007, 08:33 PM#6
xombie
I will check all of the preferences before I post again. I like the particle emitter idea but it is too much work when one can simply create an effect by using dummy units with faded alpha. Anyways, I'll post again with my results.

OK, after looking through the "Charge" template I noticed when he sets his alpha colors etc. but I do not see any function calls for setting the unit's animation.
05-14-2007, 08:50 PM#7
TheSecretArts
i saw the partical emmiter on a protoss templar model. I think it would look best with particals
05-14-2007, 09:00 PM#8
xombie
Could you direct me to this model? It would defiantly look AMAZING but in terms of economics is it really worth it to have in your map?
05-15-2007, 03:50 AM#9
TheSecretArts
it should be under hiveworkshop models. Search Tassadar or Templar