• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Need to create a Night Morph Ability

Status
Not open for further replies.
Level 3
Joined
Dec 26, 2004
Messages
43
I've been trying for a while now to create an ability that would transform my hero into some kind of creature (Like a werewolf or so) at night fall, the creature would have upgraded stats...

I have failed miserably since ... Can someone help me ?
 
Level 11
Joined
Feb 11, 2010
Messages
199
I've been trying for a while now to create an ability that would transform my hero into some kind of creature (Like a werewolf or so) at night fall, the creature would have upgraded stats...

I have failed miserably since ... Can someone help me ?

Pretty straightforward:

Events
Game - The in-game time of day becomes Equal to 19.00 (or whatever hour turns to nighttime)
Actions
Unit - Add (your morphing ability) to (Your unit)

You could also use Unit - Replace Unit.
 
Level 2
Joined
Jun 1, 2010
Messages
13
I hope this helps.
  • Add Ability
    • Events
      • Game - The in-game time of day becomes Equal to 19.00
      • Game - The in-game time of day becomes Equal to 7.00
    • Conditions
    • Actions
      • If ((In-game time of day) Equal to 19.00) then do (Unit - Add Acid Bomb to No unit) else do (Do nothing)
      • If ((In-game time of day) Equal to 7.00) then do (Unit - Remove Acid Bomb from No unit) else do (Do nothing)
 
Level 3
Joined
Dec 26, 2004
Messages
43
I tried this ... But I can't seem to make it work.
My Hero only transforms Once and ... remain a werewolf for the rest of the game even though I did a trigger to transform him back to a form ...
I cannot replace with variable determined Units apparently so I have to recreate a Unit similar to my original hero .. But can"t seem to make it work ..

Help !
 

Attachments

  • 1st Trans.jpg
    1st Trans.jpg
    59.3 KB · Views: 118
  • 2nd Trans.jpg
    2nd Trans.jpg
    30.8 KB · Views: 108
Level 10
Joined
May 27, 2009
Messages
495
You do not need to drop items when replacing the unit...

and use
  • Set werewolf = (Last Replaced Unit)
not Last Created unit and do not use waits especially when not needed like in this line:

  • Unit - Replace TrapMaster with a Trapmaster ... blah blah
  • Wait 0.20 seconds <-- You could remove this to avoid bugs
  • Set werewolf = last blah blah
and supposedly.. maybe all waits with 0.20 because its just the same Like a wait before dropping items
 
Level 5
Joined
Apr 17, 2008
Messages
112
I've been trying for a while now to create an ability that would transform my hero into some kind of creature (Like a werewolf or so) at night fall, the creature would have upgraded stats...

I have failed miserably since ... Can someone help me ?

If I get it right, try using Chaos.

Create 2 Chaos abilities, one to transform into the werewolf and another to transform into the original hero.

Then create a trigger that checks when the in-game time of day becomes 6 or 18 (like ATLW did) and add one of the Chaos abilities to the hero:

  • Untitled Trigger 001
    • Events
      • Game - The in-game time of day becomes Equal to 18.00
      • Game - The in-game time of day becomes Equal to 6.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (In-game time of day) Equal to 18.00
        • Then - Actions
          • Unit - Add Chaos(werewolf) to (your unit)
        • Else - Actions
          • Unit - Add Chaos(normalform) to (your unit)
This trigger is pretty basic, so it will not detect any abilities that changes the time of day (like the moonstone).
 
Level 14
Joined
Jul 26, 2008
Messages
1,009
I've heard there's a few issues that come with giving a unit Chaos. If you encounter these, try the morphing thing again with an ability similar to bear form.

However, You may have to make a spell to morph back and a spell to morph from, much like chaos. Or if you want to use just one, make sure you make the ability permanent when morphing or it will be removed. (This happens when morphing, abilities are lost unless made permanent)

If you want to remove and replace the items on a unit, you can do that instead and give the player a new hero that's similar to the werewolf.
 
Level 6
Joined
Apr 29, 2007
Messages
140
Personally I wouldn't even bother with a morph ability. I would just replace the unit with a new unit or hide the unit that transforms into the wolf and show the wolf.
If you use replace, the items are transferred back and forth between the old and new unit; if you use hide and show, each unit would have different items.
 
Level 5
Joined
Apr 17, 2008
Messages
112
I've heard there's a few issues that come with giving a unit Chaos. If you encounter these, try the morphing thing again with an ability similar to bear form.

However, You may have to make a spell to morph back and a spell to morph from, much like chaos. Or if you want to use just one, make sure you make the ability permanent when morphing or it will be removed. (This happens when morphing, abilities are lost unless made permanent)

If you want to remove and replace the items on a unit, you can do that instead and give the player a new hero that's similar to the werewolf.

What issues? I never heard that Chaos has issues. '-'
 
Level 14
Joined
Jul 26, 2008
Messages
1,009
"One problem of Chaos is that it adds the morphed unit's current armor, damage, health and mana bonus received from items, auras and srength, agility, intelligence to the stats of the resulting unit. That means it's not a very good idea to morph heroes using chaos until Blizzard fixes those bugs. Ordinary units can't be affected by items and hero stats, so the only problem are buffs received from auras. Those buffs can easily be removed before the conversion and are automatically added again afterwards so that's not a real issue."

Now that's the source from: http://www.wc3c.net/showthread.php?t=81742

Take a gander, great info right there :) Hope this has helped you.
 
Level 6
Joined
Apr 29, 2007
Messages
140
I've found your problem I believe

I tried this ... But I can't seem to make it work.
My Hero only transforms Once and ... remain a werewolf for the rest of the game even though I did a trigger to transform him back to a form ...
I cannot replace with variable determined Units apparently so I have to recreate a Unit similar to my original hero .. But can"t seem to make it work ..

Help !

In the second image, the event should be becomes equal to 6.00, or whatever daytime is. If that still doesnt work change the other trigger too. Everything else should be fine.
 
Level 5
Joined
Apr 17, 2008
Messages
112
"One problem of Chaos is that it adds the morphed unit's current armor, damage, health and mana bonus received from items, auras and srength, agility, intelligence to the stats of the resulting unit. That means it's not a very good idea to morph heroes using chaos until Blizzard fixes those bugs. Ordinary units can't be affected by items and hero stats, so the only problem are buffs received from auras. Those buffs can easily be removed before the conversion and are automatically added again afterwards so that's not a real issue."

Now that's the source from: http://www.wc3c.net/showthread.php?t=81742

Take a gander, great info right there :) Hope this has helped you.
Wow, thats a helpfull thread, thanks a lot. =)
 
Status
Not open for further replies.
Top