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.
[12:43 am]
jjf28 -- KrayZee
KrayZee shouted: Fast forwarding 24 years later, I just felt a little nostalgic about it. Instead you responded like an asshat
:peach: :hat:
[10:41 pm]
lil-Inferno -- memes brother
[10:30 pm]
KrayZee -- Fast forwarding 24 years later, I just felt a little nostalgic about it. Instead you responded like an asshat
[10:28 pm]
KrayZee -- I know that's the point... I just never heard of this website until now and I don't get late 90s vibes with SEN.
[09:57 pm]
Slyence -- Dem0n
Dem0n shouted: wow it's almost like that's the point
I literally lold
[09:14 pm]
Dem0n -- wow it's almost like that's the point
[08:03 pm]
KrayZee -- Dem0n
Dem0n shouted: https://bounding.net/ is the best source for maps
Feels like late 90s and early 2000s with the layout and StarCraft 1 theme.
[2022-1-15. : 11:46 pm]
Slyence -- :(
[2022-1-15. : 11:46 pm]
Slyence -- string thumbsUp = " :thumbsup: ");
[2022-1-15. : 11:45 pm]
Slyence -- string thumbsUp = ":thumbup:");
Please log in to shout.


Members Online: jun3hong