• 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.

Spell creation - Starcraft Cloak

Status
Not open for further replies.
Level 3
Joined
Jul 14, 2006
Messages
39
Hey, I'd like to know how to go about making a cloak spell like in Starcraft that the ghost has or wraith. Now I got the invisibility part down but is there a way so that an enemy of the unit can see the little fuzzy lines like in Starcraft? It'd have to have the locust ability so it couldn't be selected but then the controller couldn't select it either, so I need your ideas, thanks!
 
Level 11
Joined
Jul 12, 2005
Messages
764
Use Immolation or Mana Shield, or a spell that is deactivateable and leaves a buff on the caster. In the trigger, add permanent invisibility to the unit, wait 1 second, then wait until the unit does not have the Immolation buff. Then remove perm.invis.
Use the Wait for condition to check if the unit does not have the buff.
Like this:

Add PermInv
Wait 1 second
Wait unit ((Triggering unit has buff Immolation) equal to false
Remove PermInv
 
Level 6
Joined
Mar 2, 2006
Messages
306
... Now I got the invisibility part down but is there a way so that an enemy of the unit can see the little fuzzy lines like in Starcraft? ...

you can't make a unit mostly invisible like in starcraft.

i would make an illusion of the invisible unit, set its transparency to 95% (so it is barely visible) and make it locust (so it is untargetable). have the illusion neutral passive, but give it the same color like main unit. then i'd move the illusion along with the main unit (it doesn't have to be in the exact same location at all times, as it is not targetable anyway)...

note that units with true sight would see two units...
just an idea...
 
Level 3
Joined
Jul 14, 2006
Messages
39
Sorry Rui, and thanks guys for the suggestions!
Alright guys so here's what I did if you're interested, I made the ghost go perm inv and created a dummy unit that followed him, the dummy unit had the model Tornado-(Slow Aura) Target, then the trigger is every .1 seconds order dummy unit cloak owned by player 1 red to move to ghost owned by player 1 red, so now there's a little gray swirley thing that follows the ghost around and it looks really cool, thanks again guys!
 
Last edited:
Level 11
Joined
Jul 20, 2004
Messages
2,760
Yes, usually extra SFXs help. Now, the problem is that perma invisibility does not make the unit invisible when it attacks. In order to have a good replica, you also need to give the unit the "Ghost" ability in tandem with "Perma Invisibility". This way, the unit is invisible even when it attacks. Simple and useful.

Btw, this spell was already made by Vexorian. I think it is available in his Caster System map.

-Mihai
 
Level 6
Joined
Mar 2, 2006
Messages
306
don't tell it to move to the location of your unit - tell it to follow the unit (gui action: unit - issue order targeting a unit -> follow); refreshing the follow order is a good idea but no need to do that more than once every 2 or 3 sec. if you are using jass for that command, follow = "move", and pass your unit as the last argument.
 
Level 3
Joined
Jul 14, 2006
Messages
39
Yes, usually extra SFXs help. Now, the problem is that perma invisibility does not make the unit invisible when it attacks. In order to have a good replica, you also need to give the unit the "Ghost" ability in tandem with "Perma Invisibility". This way, the unit is invisible even when it attacks. Simple and useful.

Btw, this spell was already made by Vexorian. I think it is available in his Caster System map.

-Mihai


I somehow made it so that it doesn't come visible while attacking, I changed a bunch of stuff hoping it would work so I don't know exactly which one it was.
 
Status
Not open for further replies.
Top