• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Illusions with abilities?

Status
Not open for further replies.
Level 3
Joined
May 11, 2009
Messages
42
Thing is, i want the illusion to look just like a hero, but not show up as a hero icon, and also i would like for it to be able to cast some abilities... guess this can't be done :p
 
Level 6
Joined
May 1, 2009
Messages
215
No, it can be done, though it will be more complicateed than perhaps you intend.

You'll need the following:

A Hero unit (who will cast the ability)
A duplicate Hero unit (except you will disable the 'show hero icon' check mark in the object editor, and you'll probably want to remove any abilities you don't want the illusion casting)
A trigger which creates a unit (duplicate hero) when mirror image is cast. The duplicate hero will need to have its level and skill points distrubted through triggers. Give it a timer through triggers. You will need to remove it upon death (a timer will allow it to be revived).

If you want the duplicate to take 2x damage, give it hardened skin or elune's grace with a negative coeffecient. You can also set its damage output this way too (as a percentage under elune's grace).

Make sure the duplicate hero has a special inventory ability, forbidding the use of items or dropping them. Make sure to set the duplicate heroe's stats upon creation (if the player is able to buy skill books of +stats). Make sure the duplicate is given the casting hero's items.

Have I missed anything? This should work. The only thing is that the illusion will not appear blue to the player like normal illusions, because making the duplicate hero tinted blue will be seen by enemies. Only through JASS I think, could you make the duplicate blue to the player but not to the enemies.
 
Level 6
Joined
Oct 31, 2008
Messages
229
Or the best way is to make a hero which will be a litle bluer than the normal, deal less damage, take more damage (using trigger), has an expiration, explodes on death,doesnt raise and decay, and have normally the abilities. The thing is that it will appear "bleuish to everyone. So if you dont mind, you can make it look simillar to the normall hero.Also hie hero death message at death, and has not icon.
 
Level 3
Joined
May 11, 2009
Messages
42
Lol flower of speeach ^^ ty for the tip about the hero icon, because that was really the only thing that held me from creating just a dummy hero unit, cause it would show in the top left corner of the screen ^^

what i want with this stuff is making decoys looking and acting just like normal heroes, but with the exception for not having abilities. its for a conspiracy game where your decoy should be able to look like he does everything a normal hero could, while his actions dont have any effect as hes just an illusion ^^ the only way to catch the bad guy is if he doesn't know you are watching him!
 
Status
Not open for further replies.
Top