HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Question about Metamorphosis

12-15-2002, 03:02 PM#1
Byelobog
Hello everybody I'm new to the forums but I have lurked here for a while now.

I am working on a map with lots of custom spells / effects. Currently I have edited the text files and used triggers so that each hero has 7 abilities / skills when they reach level 10. Everything seems fine, except with the Demon Hunter. When he transforms, he seems to ignore the abilities and skills that are set for the demon hunter form in the WE, and instead carry over 3 of the skills of the demon hunter prior to transformation.

This is really annoying the hell out of me, and I can't figure out how to get the meta form to have more skills.

Has anybody else run into this problem? :(

HEEEELP!!!

I'll publish my map on here when it is complete. So far everybody who has played my map on battle.net has liked it a lot, it's called Asura's DC Byelobog - current release out there is 1.10d, if you have played it.

Oh also I wanted the Demon Hunter's level 10 meta to be a better form, so I used illidan's metamorphosis, and lo and behold - same thing happened. emote_sweat
12-15-2002, 04:33 PM#2
Dinadan87
The problem is this. In order for the transformed mode to use the abilities, it must have the abilities itself. Go to the unit editor, find the demon form of the demon hunter, and give him the abilities you want him to use. You should also be able to add new abilities (not hero ones though) and he can use them ONLY when transformed :)
12-15-2002, 08:39 PM#3
Insaniteus
Illidan's Metamorphosis is no better than the normal one, except that it's PERMINANT. Unless you want the DH to always be in the transformed state, you don't want this.

-Insaniteus-
12-16-2002, 04:11 PM#4
Byelobog
Thank you for the suggestions, however that doesn't work :/

In response to Dinadan87: I did add the abilities to the morphed form. However, it didn't use those abilities - I tried including passive abilities, and also tried removing all of the morphed form's abilities altogether - and still it only seems to carry over 3 of the DH's abilities from his prior form, no matter what I do to the transformed form. In this case, it is evasion, mana burn, and a passive unholy aura I had in his abilities (which I moved the button position to 2,1 instead of along the bottom to make room for extra buttons). I have tried adding just plain abilities and nothing seems to take effect.

In response to Insaniteus: I found a way around the permanent metamorphosis by altering the spell data found in abilities.slk. I changed it so that it had a hero duration and a duration and voila it worked with a duration as the other demon hunter metamorphosis skill did.

Unfortunately I seem to be running into a similar problem with another custom hero I made transforming into bear form.

I am starting to believe that it is a limit within the game engine itself, as everything I have tried including messing with the spell data and the various text files doesn't seem to let what I want to happen occur.

When looking at the abilities.slk, it shows "AEme" as the spell data for regular metamorphosis, and "AEme" as the spell data for illidan metamorphosis as well. So in essense it is using the same spell, just with different data.

The only real difference with the Illidan metamorphosis is that it uses "Eill" and "Eilm" for fields (19) and (23), which correspond to the following unit codes:
Eill z1 illidan
Eilm z1 illidanmorphed
whereas the regular metamorphosis contains "Edem" and "Edmm" which correspond to the following:
Edem c1 HeroDemonHunter
Edmm c1 HeroDemonHunterMorph

If anybody has found a workaround to this, please let me know. After fiddling with it for hours though I am guessing it is hard-coded somewhere in the spell data that it only carries over passive auras and one active ability, possibly whatever is at button slot 0,2.

Thanks again for the suggestions.