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 > Tutorials > -- Submit A Tutorial --
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Reply
 
Thread Tools Search this Thread
Old 06-27-2011, 02:12 AM   #1
Lordshinjo
User
 
Join Date: Jun 2010
Posts: 2

Lordshinjo has little to show at this moment (1)

Default Hero passive transformation

Goal
The goal of this tutorial is to to transform a hero passively (without using an active ability that could be disabled or interrupt his current order), without using the Chaos ability, since it is completely buggy and only usable with regular units.
(see PitzerMike's brilliant Ability Guide for more details)

Method
Say you want to transform a hero, whose unit-type is "Unit Type 1", into "Unit Type 2".
  1. You need to create an ability based on Bear Form [Abrf] (though any other permanent transformation probably works too).
  2. Then (this is the hard part of this method) put in "Unit Type 1" in the "Alternate Form Unit" field of the spell, and "Unit Type 2" in the "Normal Form Unit", as illustrated in this image:

    Zoom (requires log in)
  3. Now, to transform your unit, you just need to add and remove the Bear Form ability to your unit to transform:
    Trigger:
    Actions
    Unit - Add Transformation 1->2 to YourUnit
    Unit - Remove Transformation 1->2 from YourUnit
  4. Your unit is now permanently transformed into "Unit Type 2", and will not morph back at any point without using this method again, or some morphing ability.

How not to fail at using this method
  1. Fill out the data fields correctly: the "Normal Form" field is the unit you morph TO, the "Alternate Form" field is the unit you morph FROM.
  2. You only need to add and remove the ability: do not set the ability as unavailable for the player owning the unit, or nothing will happen.

Known (minor) bugs
This method can create some weird results in particular circumstances, but they can easily be avoided:
  1. If the unit is hexed when you try to transform it, the unit will permanently gain some movement speed. (also named the 1.25 bug)
    This can be avoided by simply checking whether the unit is hexed or not before transforming it. (then use whatever method you see fit to make sure it transforms when it stops being hexed)
  2. If the unit you morph to uses animations with a tag (like "alternate"), and the unit is currently idling, it will stay in its base animations (with no tag) until it stops idling.
    This can be avoided by manually adding the tag to the unit.
    Trigger:
    Animation - Add the alternate animation tag to YourUnit
Attached Images
File Type: png objectdata.png (17.3 KB, 80 views)
Attached Files
File Type: w3x Transformation.w3x (16.6 KB, 20 views)

Last edited by Lordshinjo : 06-30-2011 at 05:45 PM.
Lordshinjo is offline   Reply With Quote
Sponsored Links - Login to hide this ad!
Old 06-27-2011, 03:01 AM   #2
Nestharus
User
 
Join Date: Jul 2007
Posts: 220

Nestharus has little to show at this moment (6)

Default

Excellent ; )
Nestharus is offline   Reply With Quote
Old 06-27-2011, 11:32 AM   #3
Anitarf
Procrastination Incarnate


Development Director
 
Join Date: Feb 2004
Posts: 8,190

Submissions (19)

Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)Anitarf has a brilliant future (903)

2008 Spell olympics - Fire - SilverApproved Map: Old School Alliance TacticsHero Contest #2 - 3rd PlaceSpell making session 2 winner

Default

This seems more fitting for the tutorials section, so I'll move the thread into tutorial submissions forum.

I know it's already mentioned in the WC3 ability guide, but a short summary of the problems chaos morph has with heroes or at least a link to the ability guide at the start of this tutorial would be useful, I think.

Other than that, it looks good.
__________________
Anitarf is offline   Reply With Quote
Old 06-27-2011, 01:26 PM   #4
Lordshinjo
User
 
Join Date: Jun 2010
Posts: 2

Lordshinjo has little to show at this moment (1)

Default

Quote:
Originally Posted by Anitarf
I know it's already mentioned in the WC3 ability guide, but a short summary of the problems chaos morph has with heroes or at least a link to the ability guide at the start of this tutorial would be useful, I think.
Added a link to the ability guide, since I want to keep the guide as concise as possible.
Lordshinjo 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 02:01 PM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

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