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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: Zycorax, Dem0n