I want to make a research-able ability for a unit that, once researched, is passive. What I want it to do is repair shield damage instantly by stealing the shields of other friendly units nearby. I also want a visual cue to let the player know when a unit is in range to have its shields stolen, similar to how when a units is within range of a Guardian Shield. I also want another visual cue to show the actual stealing of shields; a little blip would be perfect
It seemed simple enough to create but after trying it out, I'm lost. I figure I need to create an ability with a behavior that has the effect of stealing shields, but I can't seem to connect the dots. Any ideas?
You should be using the effects:"Search Area" with "Modify Unit" in the Effects Tab, if you want the shields instantly stolen. I think the visual cue to let player know when unit is in range is only possible when you use the ability type:"Effect - Target" in the Abilities Tab. Then use an Splat or Model Actor that creates itself when you select the location of the Ability.
P.S. You should look for tutorials or on the wiki to get an understanding how Effects/Abilities or Actors work =3
Have a Buff type behaviour that uses a periodic Search Area effect that applies Create Persistent effects which channel Create Healer effects to transfer the shields.
The visual for the range can be done with a Model type actor attached to the unit and calibrated till it has the right range or use a Range type actor if you want a sensor tower like radius.
As for the shield drain visual just do like the medivac beams and use a Beam (Simple) type actor.
I want to make a research-able ability for a unit that, once researched, is passive. What I want it to do is repair shield damage instantly by stealing the shields of other friendly units nearby. I also want a visual cue to let the player know when a unit is in range to have its shields stolen, similar to how when a units is within range of a Guardian Shield. I also want another visual cue to show the actual stealing of shields; a little blip would be perfect
It seemed simple enough to create but after trying it out, I'm lost. I figure I need to create an ability with a behavior that has the effect of stealing shields, but I can't seem to connect the dots. Any ideas?
You should be using the effects:"Search Area" with "Modify Unit" in the Effects Tab, if you want the shields instantly stolen. I think the visual cue to let player know when unit is in range is only possible when you use the ability type:"Effect - Target" in the Abilities Tab. Then use an Splat or Model Actor that creates itself when you select the location of the Ability.
P.S. You should look for tutorials or on the wiki to get an understanding how Effects/Abilities or Actors work =3
OneTwoSC Youtube SC2Editor Tutorials: HERE
These tutorials helped me a lot understanding how to create abilities.
Have a Buff type behaviour that uses a periodic Search Area effect that applies Create Persistent effects which channel Create Healer effects to transfer the shields.
The visual for the range can be done with a Model type actor attached to the unit and calibrated till it has the right range or use a Range type actor if you want a sensor tower like radius.
As for the shield drain visual just do like the medivac beams and use a Beam (Simple) type actor.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg