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.
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
[2024-4-18. : 10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
Please log in to shout.


Members Online: Roy