Staredit Network > Forums > SC2 Assistance > Topic: Shield Costing Heal
Shield Costing Heal
Sep 19 2010, 4:34 am
By: aalleecc248  

Sep 19 2010, 4:34 am aalleecc248 Post #1



I'm trying to make an auto-casting ability that is similar to the Medivac/Medic's Heal ability. I want to use shields instead of energy and to only target Armored type units. However, I can't get the ability to work on the unit, it targets it just fine, but it will not heal the target for some reason. Looking for help now because I have apparently given up.



None.

Sep 19 2010, 4:57 am ImagoDeo Post #2



1. Copy the Medivac healing ability. Duplicated the linked effect 'Medivac - Heal (Create Healer)'.
2. Open up the duplicated effect, and go to the 'effects' section.
3. Change the 'Drain Vital' field to read Shields.

Voila! Your very own shield-to-health heal ability. Rename some things, change the button, and you can use it wherever you want.

Making it only target armored units is more difficult. There's a section under 'Effects' labeled 'Validators' - I'm guessing you'll need to make a custom validator for it. I'll look into it and get back to you.

Edit: Aha! Found it.

Go into the Validators tab. Add a new validator. Set it to Type - Unit Filters. Then go into the Validator info and modify the Filters section to have Armored as Required. To prevent your effect from healing dead units and other stuff like that, you'll have to set a number of things to 'Excluded'. To simplify this, you can copy another validator of the same type (Unit Filters) and modify it from there.

Post has been edited 1 time(s), last time on Sep 19 2010, 5:06 am by ImagoDeo.



None.

Sep 19 2010, 2:51 pm aalleecc248 Post #3



Wow, thanks a lot! However, I seemed to notice that there is a target filter in the Meadivac - Heal ability so there is no need for a validator. But anyways, you helped a lot!!!

EDIT: It doesn't seem to work when I put it on a structure and as a Neutral player. It won't heal the units but it worked when everyone had control.

Post has been edited 1 time(s), last time on Sep 19 2010, 3:21 pm by aalleec248.



None.

Sep 19 2010, 4:00 pm Temp Post #4



Make sure the target filter is set properly (so nothing is excluded).



None.

Sep 19 2010, 5:31 pm aalleecc248 Post #5



Thank you both, now it works decently!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
Please log in to shout.


Members Online: RIVE