| 02-10-2004, 03:25 PM | #1 |
I had created an ultimate based of metamorphosis, and it work beautifully. Now a friend of mine actually wanted that hero to have a normal spell that able to morph this hero into a small rat. Is it possible to have two spells based on one same spell on one hero? If not, what other spell can i based on? Note: The ultimate had only one leveland since all the normal spells have 4 levels each, this normal morph spell is no exception. Since, each level, the effect of the spell should be better, bonus agility to that 'rat' for each level increment. Note: I have tome of retraining in my map. Note: From all of the threads i read though the search, replacing unit is an ulterly bad method, so i try to refrain from using it. I know this question is a tough one, so I don't put too much hope in it, but Please help me out if you can! Thanks a lot lot lot.:( I want to make my map so that all my friends will start playing warcraft with me again. They kinda lost faith in wc since that beastmaster. T.T |
| 02-10-2004, 04:48 PM | #2 |
Well, depends. If you want the morph to be PERMANENT, and switchable on/off, instead of on a timer like Meta, then you can base it off of bear/raven/storm crow form. To give the bonus AGI, just make it a different unit turned into for each lv of the skill, and the unit being turned into has an ability that gives it +AGI in the amt you want it to get. |
| 02-11-2004, 04:19 AM | #3 |
well, i wanted it to have a timer, so there's no solution to this? hmm, I need a workaround for this.:( |
| 02-11-2004, 06:37 AM | #4 |
I'd probably use a dummy spell and hide'n'switch (if the rat has different abilities to the hero) or use a chaos ability (if the rat has the same abilities). Both are fairly simple triggers. Mainly depends if you want the rat to have the same abilities as the hero or not. |
| 02-11-2004, 07:24 AM | #5 |
i dont think its as simple as replacing the unit/ hiding, because, firstly my map has a tome of retraining, so that means i had to create triggers for the retraining, secondly what if the hero dies? ahhh, nvm, I think i may give it a try first. So its confirm that i can't have two different spells based on metamorphosis on one hero, right? Thanks all for the effort.;) |
| 02-11-2004, 08:17 AM | #6 |
if ure running TFT then you can have as many spells based on the 1 spell as you want. I have a hero i did for a test with 5 spells based on storm bolt, all work fine. |
| 02-11-2004, 01:38 PM | #7 |
izzit? then I'll try that, thanks alot friend, you saved me alot of time and thinking. :ggani: |
| 02-11-2004, 10:29 PM | #8 |
"Works fine" as long as you dont care which one gets used when the player clicks one of the buttons. It's an order issue, when you click stormbolt, for example, the unit is issued the "thunderbolt" order, if it has 5 abilities based off stormbolt they all use the "thunderbolt" order and a random one (or the first one, or last one, or whatever) will be chosen, altough it will always pick one that can be cast (ie not cooling down, not disabled, enough mana). Altough multiple abilities based on the same base ability can all be used, the user cannot choose which one is used. Therfore altough it's technically possible, it's pratically useless. With tome of retraining, if the rat has the same abilities as the hero and you use a chaos ability to transform then it will work fine, because the chaos ability does the same thing as metamorphisis but on a "permament" basis - it's used to change grom hellscream into chaos grom hellscream so it works superbly on heroes. If you use hide'n'switch (ie if the rat has different abilities) it will retrain the rats abilities and preserve the heroes abilities. Dying while transformed is only slightly more problematic, basically transform it back on death or revive. |
| 02-11-2004, 10:54 PM | #9 |
can't you change the order? Text - Order String - Use/Turn On ?? or am i all wrong? |
| 02-11-2004, 11:04 PM | #10 | |
Quote:
If you change the ordercode, it should work fine.(in the spell editor) |
| 02-12-2004, 12:06 AM | #11 |
I agree, it should work fine. But it doesn't. Only channel has functionality to change the order code. |
| 02-12-2004, 07:41 AM | #12 | |
Quote:
interesting, its working fine for me, the hero with 5 storm bolt spells, each show up and each can be activated indevidually. |
| 02-12-2004, 11:17 AM | #13 |
I think Grater is right, this isn't as simple as i thought, it will consist quite a number of triggers. The metamphosis, and the order string, i had tried all, and as Grater had said, the morphed unit is quite random. My ultimate change into a ratz with a long duration sometimes, while the rat change to ultimate form sometime. Worst, the ultimate form occasionally become the permanent form, and some other times, the ratz gain more attack demage than normal, even though i had set the same amount of demage for all form. I try changing/ even removing the order string, still the same thing happen. So i think i'll follow grater's method. However, Grater, i need your help, I learnt that chaos ability is quite useful, can even combine with locust for better effect, but I don't really know how to use it. Do I have to add the chao's ability to my hero? Note that I want the hero's ultimate disabled when in rat form and vice versa . Also I need the change for a brief amount of time only, with 4 levels. Can you elebrorate on hiding which unit and replacing it with what unit? If its just replacing, i dont think i will need the chaos ability. Am I wrong? Please correct me. Sorry for bothering. I'll give points if you want, though i can't give much, its a miserable amount.emote_confused Thanks all for helping. I really appreciate the efforts. |
| 02-12-2004, 03:58 PM | #14 |
Help anyone? I suppose you all had skipped over the long text i posted above. T.T Do I have to add the chao's ability to my hero? Note that I want the hero's ultimate disabled when in rat form and vice versa . Also I need the change for a brief amount of time only, with 4 levels. Can you elebrorate on hiding which unit and replacing it with what unit? If its just replacing, i dont think i will need the chaos ability. Am I wrong? Please correct me. Sorry for bothering. I'll give points if you want, though i can't give much, its a miserable amount. I really need help on this, I need to create a hero to convince my friend that Warcraft is still a great game. |
| 02-12-2004, 09:51 PM | #15 |
Okay chaos ability works very simply, you set the unit type to change to, remove the tech pre-req, then add it to the unit and it will change into the new type. In effect when you add the chaos ability to a unit the chaos ability does the transform then self-destructs, so you can add a new chaos ability. So you need to make two chaos abilities: Chaos Ratform Chaos Heroform Now there is a useful function under players, Player - Enable/Disable Ability, this is how you should disable the other morph ability. Disable Ability removes the icon to cast the ability, which can look bad. It is possible to add a "disabled" icon using add/remove ability too, you just make it a unit ability based on a passive like Bash that takes the same slot, or you could actually use a passive ability there like evasion, critical strike or disease cloud to add some abilities to the rat form. The first trigger is for when the hero casts rat form. It makes the transform, disables the other transform ability, waits a tiny amount of time because the chaos transform destroys all unit abilities added with triggers, then adds the rat-form bonus abilities and waits for the right amount of time, the unit-type check is for if the hero dies while in rat form and gets revived in hero form. Code:
Rat Ability
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Rat Form
Actions
Unit - Add Rat Form to (Casting unit)
Player - Disable Metamorphosis for (Owner of (Casting unit))
Wait 0.00 seconds
-------- Add Meta-Disabled ability here, if you want. --------
-------- Add other passive abilities --------
Wait (16.00 + (8.00 x (Real((Level of Rat Form for (Casting unit)))))) game-time seconds
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Unit-type of (Casting unit)) Equal to Ratform
Then - Actions
Player - Enable Metamorphosis for (Owner of (Casting unit))
Unit - Add Hero Form to (Casting unit)
Else - ActionsThe next trigger is for when the unit dies in rat form: Code:
Rat Dies
Events
Unit - A unit Dies
Conditions
(Unit-type of (Dying unit)) Equal to Ratform
Actions
Player - Enable Metamorphosis for (Owner of (Dying unit))
Unit - Add Hero Form to (Dying unit)Then do simialler triggers for the transform based on metamorphis, keep the Enable/Disable stuff, but not the add chaos ability stuff. Now for the rat stat changes I suggest using a couple of ability arrays, set at map initilization, for example: set RatformAbilityA[1] = Evasion (15%) set RatformAbilityA[2] = Evasion (25%) set RatformAbilityA[3] = Evasion (35%) set RatformAbilityA[4] = Evasion (45%) set RatformAbilityB[1] = Agility Boost +4 (1) set RatformAbilityB[2] = Agility Boost +8 (2) set RatformAbilityB[3] = Agility Boost +16 (3) set RatformAbilityB[4] = Agility Boost +24 (4) In this case the evasion ability will double as the alternate form disabled ability. Now in the Rat Form cast trigger, when adding the rat abilities do: Unit - Add RatformAbilityA[Level of (Rat Form) for (Casting Unit)] to (Casting Unit) Unit - Add RatformAbilityB[Level of (Rat Form) for (Casting Unit)] to (Casting Unit) Theres no need to remove the bonus abilities because the chaos ability will remove them automatically. Altough for the metamorphis trigger you'll need to remove the "ratform disabled" ability, if you choose to use one. And thats all there is to it ;) |
