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.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: DiearAnother