wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > General Development
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 03-13-2011, 10:31 AM   #1
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 552

Submissions (8)

Kino will become famous soon enough (68)Kino will become famous soon enough (68)Kino will become famous soon enough (68)

Default Not Playing Alternate Animations

When you use a transformation ability the resulting unit will always play its alternate animation assuming it has one.
Is there a way to get it to use its normal stand animation?
__________________
Kino is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 03-13-2011, 04:24 PM   #2
Panto
LASER DRAGONS IS RELEASED
 
Panto's Avatar


Development Moderator
User Project: Panto
 
Join Date: Mar 2003
Posts: 3,166

Submissions (2)

Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)

Approved Map: Call to Arms

Default

Without testing, a few options pop into my head. You can pursue using a trigger to substitute the transformed unit for a new unit. You can use a trigger to force the unit to play its normal animation (although I believe you'd need to keep enforcing this) or you could modify the model to not having alternate animations and re-import it.
__________________
Pantokrator Maps forum.
LASER DRAGONS RELEASED!.
"One good test is worth a thousand expert opinions." Wernher von Braun
"The perfect is the enemy of the good." Voltaire
"When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." C.S. Lewis
Panto is offline   Reply With Quote
Old 03-14-2011, 02:11 AM
Solmyr
This message has been deleted by Solmyr.
Old 03-14-2011, 02:14 AM
Solmyr
This message has been deleted by Solmyr. Reason: Double post
Old 03-14-2011, 08:53 AM   #3
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 552

Submissions (8)

Kino will become famous soon enough (68)Kino will become famous soon enough (68)Kino will become famous soon enough (68)

Default

Quote:
Use [ljass]AddUnitAnimationProperties(whichUnit, "alternate", false)[/jass] to remove the "alternate" animations from the unit. When you want them back, simply use [ljass]AddUnitAnimationProperties(whichUnit, "alternate", true)[/jass].

Doesnt work in this case.

As Panto said it seems that the model itself has to be edited for this to work.
__________________
Kino is offline   Reply With Quote
Old 03-20-2011, 04:13 PM   #4
CeDiL
User
 
CeDiL's Avatar
 
Join Date: Sep 2008
Posts: 53

CeDiL has little to show at this moment (1)

Default

Kino, have you tried setting unit's animation by index at the moment the metamorphosis is being casted?
CeDiL is offline   Reply With Quote
Old 03-20-2011, 04:41 PM   #5
Rao Dao Zao
www.raodaozao.net
 
Rao Dao Zao's Avatar


MDL & Resource Moderator
 
Join Date: Aug 2003
Posts: 2,441

Submissions (27)

Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)Rao Dao Zao has a brilliant future (817)

Approved Map: When the Freedom Slips Away

Send a message via MSN to Rao Dao Zao
Default

Have you tried removing "alternateex" instead of/as well as "alternate"?
__________________
Rao Dao Zao is offline   Reply With Quote
Old 03-21-2011, 06:04 AM   #6
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 552

Submissions (8)

Kino will become famous soon enough (68)Kino will become famous soon enough (68)Kino will become famous soon enough (68)

Default

Quote:
Have you tried removing "alternateex" instead of/as well as "alternate"?

Didnt work in my case either.

Quote:
Kino, have you tried setting unit's animation by index at the moment the metamorphosis is being casted?

Nope, but the problem is solved already so nevermind :)
__________________
Kino is offline   Reply With Quote
Old 03-21-2011, 01:11 PM   #7
Panto
LASER DRAGONS IS RELEASED
 
Panto's Avatar


Development Moderator
User Project: Panto
 
Join Date: Mar 2003
Posts: 3,166

Submissions (2)

Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)Panto is a jewel in the rough (247)

Approved Map: Call to Arms

Default

What was your ultimate solution?
__________________
Pantokrator Maps forum.
LASER DRAGONS RELEASED!.
"One good test is worth a thousand expert opinions." Wernher von Braun
"The perfect is the enemy of the good." Voltaire
"When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." C.S. Lewis
Panto is offline   Reply With Quote
Old 03-21-2011, 02:13 PM   #8
Kino
User
 
Kino's Avatar
 
Join Date: Apr 2008
Posts: 552

Submissions (8)

Kino will become famous soon enough (68)Kino will become famous soon enough (68)Kino will become famous soon enough (68)

Default

Did a quick model edit :p
__________________
Kino is offline   Reply With Quote
Old 03-21-2011, 04:23 PM   #9
CeDiL
User
 
CeDiL's Avatar
 
Join Date: Sep 2008
Posts: 53

CeDiL has little to show at this moment (1)

Default

it's nice when your custom model needs to be edited, it's bad when you need a standard one edited and you strive for every kb.
CeDiL is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 05:28 AM.


Donate

Affiliates
The Hubb http://bylur.com - Warcraft, StarCraft, Diablo and DotA Blog & Forums The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2014, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services