• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Need "fading" animation for a few models

Status
Not open for further replies.
Level 4
Joined
May 25, 2009
Messages
100
[Solved] Need "fading" animation for a few models

Hey guys.
I need a fading animation for a few models (are attached)
I want to code fading system like HERE just with these models.
I have no idea how to add these myself :(
(If you have to you can use the death_alternate anim for the door/window)
Thank you so much!
 
Last edited:
Level 30
Joined
Nov 29, 2012
Messages
6,637
Hey guys.
I need a fading animation for a few models (are attached)
I want to code fading system like HERE just with these models.
I have no idea how to add these myself :(
(If you have to you can use the death_alternate anim for the door/window)
Thank you so much!

I think it is not on the model. I think you can trigger it like just as a unit you can order it to have a transparency but for trees and like that I dont know but I think its not in the model. Just an opinion.:thumbs_up:
 
Level 4
Joined
May 25, 2009
Messages
100
I can't use them as a unit, 'cause if have to place them on pathblockers (both).
But is there no way to add a animation like this? With some modeleditingtools?
(eg. Milkshape or 3DstudioMax)
I really need them, but i have no idea to do it :/
 
Hey, not to be off topic but mind telling us how you did it?
When using magos model editor, go to sequence editor, add a sequence called "stand", set its starting and ending frames to "0" and "1000". Make sure "not looping" is turned on. Then add a "stand alternate" from frame "2000" to "3000", make sure it's flagged as "non looping", then go to the materials tab, make a new material with the same settings as the existing one. Modify it's type to "blend".
Then click on the "animated" where the alpha is set on the old material, add the following lines:

0: 0
1000: 1
2000: 0
3000: 0

Then, for the blend material:
0: 0.5
500: 1
1000: 1
2000: 1
2500: 0.5
3000: 0.5

Interpolation types for both should be set to "linear".
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
When using magos model editor, just add a sequence with the same duration on unused frames, then go to the materials tab, then make a new material with the same settings as the old one. Modify it's type to "blend".
Then click on the "animated" where the alpha is set, add the starting and ending frames where the new animation sequence was defined and set the value there to 0.5.

Oh, thanks, bro!
 
Level 4
Joined
May 25, 2009
Messages
100
Yeah i used mdlvis to add an blank animation
and copied the materialssettings from the mdl of a one Tree and parsed it into the mdl of my model and adjusted Frames and TextureIDs etc.
So basicly like Zwiebelchen said just with mdlvis and the normal notepad^^

Models are attached
 
Last edited:
Status
Not open for further replies.
Top