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.
[2024-4-22. : 6:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: zsnakezz, IlyaSnopchenko