Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Help for Hit Points?
Help for Hit Points?
Nov 4 2007, 1:03 pm
By: Obzio  

Nov 4 2007, 1:03 pm Obzio Post #1



Example from my triger:

as an example Terran marine now is ~500/1000 life becouse is hit! :P

CONDITIONS:
Player 1 bring at least 1 Terran Civilian to Heal
ACTION:
Set hit points for all any men owned by Player 1 at Anywhere to 25%

after this triger marine was 250/1000 life (25% hit point) ,however this is not i want!

my idea is add 25% hit point (750/1000 life) ,but i don't how this make? :(

Anybody help? :dontgetit:



None.

Nov 4 2007, 1:29 pm who Post #2



You can't add the hit points, the trigger is Set Hit Points.
The best thing you can do at this point is make it so they can heal only once every minute or something.
Or you can use VHP, which can be extremely inconvenient.



None.

Nov 4 2007, 1:38 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

someone is right.

The only way to "add" hp is to heal the unit with a medic for a certain time.
Or in case of terran mecha unit you could give the user a scv for a certain time.
Shields can be charged with a shield battery.
Zerg air or protoss mechas are not "healable" at all. If you want to heal those unit you will have to use a vHP (virtual Hitpoint) system.




Nov 4 2007, 1:53 pm Obzio Post #4



Quote from NudeRaider
someone is right.

The only way to "add" hp is to heal the unit with a medic for a certain time.
Or in case of terran mecha unit you could give the user a scv for a certain time.
Shields can be charged with a shield battery.
Zerg air or protoss mechas are not "healable" at all. If you want to heal those unit you will have to use a vHP (virtual Hitpoint) system.

I don't understand...is this possible or not?
And VHP how make? :unsure:



None.

Nov 4 2007, 2:01 pm who Post #5



vHP is only practical when each player has one unit, or it can get annoying.

here

i might explain it in more detail later.



None.

Nov 4 2007, 2:25 pm Obzio Post #6



ok 10x for now!



None.

Nov 4 2007, 4:01 pm NudeRaider Post #7

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Obzio
I don't understand...is this possible or not?:unsure:
Adding HP by triggers is NOT possible.
Instead I told you a few methods how to achieve a healing effect.

The basic idea of vHP:
vHP means that the unit itself has always full HP and is usually invulnerable.
For measuring the HP you use some kind of counter which you can affect by triggers.

A common method is burrowing 100 zerglings under the unit where each ling represents 1% of HP. So when you want to add 10% HP you just add 10 lings.
The main unit is invulnerable, so the enemies kill only the zerglings and that is the way your unit loses HP. If no zerglings remain the main unit is dead (and may be killed by triggers).




Nov 4 2007, 6:56 pm Obzio Post #8



I can't!
3 hours i thinking how make this...and nothing! :><:
Please show me with triger how doesn't be!?
Little example... pleeease!



None.

Nov 4 2007, 8:56 pm JaBoK Post #9



Before experimenting with vHP you should have in depth knowledge of how triggers work and in general map making. I'd suggest abandoning the idea of adding HP to units until you can do pretty much any type of triggering system with your hands tied behind your back. vHP with say a marine character requires something to take the hits for the marine, a counter for HP and a display mechanism for the HP. Basically, sorry to have to say it like this, but if you want to add hp to something, either use a medic, or don't do it at all until you're an experienced mapper.



None.

Nov 4 2007, 8:56 pm blacklight28 Post #10



Conditions
&#9788;Player X brings 1 civilian to 'location'

Actions
&#9788;Set HP for 'marine' at 'location' to 50%

? and if you're going to use this then you have to have a location constantly centering onto the marine.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: jjf28