Staredit Network > Forums > SC2 Assistance > Topic: Energy Fountain
Energy Fountain
Dec 18 2012, 5:02 am
By: payne  

Dec 18 2012, 5:02 am payne Post #1

:payne:

God I hate the Data Editor.

I copied Medic's Heal ability to adapt it so that it takes away energy from a building that is supposed to act as an "Energy Fountain" to give back energy to nearby spellcasters.
I added a "Has Energy" flag, and a few "Has Energy" validators here and there.

Tested it, and my Dark Shrine has the ability, I can target spellcasters properly and it won't send any error message, but the ability itself won't do anything. No energy transfer.

Grrr!

Post has been edited 1 time(s), last time on Dec 20 2012, 10:53 pm by payne.



None.

Dec 18 2012, 10:23 am Ahli Post #2

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Solved.

Attachments:
energyTransferingBuilding.SC2Map
Hits: 2 Size: 10.08kb




Dec 20 2012, 5:49 am payne Post #3

:payne:

Only one problem that I found out with your solution Ahli:

If an Infestor comes in range with energy missing, burrows while it's being healed, and moves out of range, the Fountain will keep healing until it runs out of energy, no matter how far the unit is. Also, once it runs out of energy, the healing stops, but the Sound and the small Animation over the unit are both still there until the player gets healed again.
The same happens when a Ghost gets in range, cloaks, and moves away.

How to fix that?

P.S. Currently, it starts healing the unit is cloaked initially, but not if it's burrowed. I'd like it to start healing even if the unit is burrowed.



None.

Dec 28 2012, 8:51 am payne Post #4

:payne:

I still need to fix that problem. It's rather major since those Energy Fountains are a quite pivotal feature of my map, and the "exploit" can be used in many different places.



None.

Dec 28 2012, 8:46 pm LoveLess Post #5

Let me show you how to hump without making love.

The problem may be that you lack a Validator for the range of the unit being restored energy. Simply create a new Detect Range Validator.

Compare: Less Than
Other Unit: Target
Unit: Caster
Value: [Insert Desired Range]

And then throw it on the heal effect as both a Validator and a Periodic Validator. Note that if I am right, that I pulled this out of my ass.



None.

Dec 30 2012, 7:33 am payne Post #6

:payne:

Quote from LoveLess
The problem may be that you lack a Validator for the range of the unit being restored energy. Simply create a new Detect Range Validator.

Compare: Less Than
Other Unit: Target
Unit: Caster
Value: [Insert Desired Range]

And then throw it on the heal effect as both a Validator and a Periodic Validator. Note that if I am right, that I pulled this out of my ass.
This doesn't solve the fact that I want burrowed and cloaked units to be healed too.
Also, I tried it, and my Fountain just doesn't heal anymore with that Validator applied. :/



None.

Jan 6 2013, 12:18 am payne Post #7

:payne:

Solved.

The Validator type is "Location Range", and not "Detect Range". ;D



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-6-07. : 1:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: ClansAreForGays, DarkenedFantasies