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.
[08:46 pm]
NudeRaider -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
https://armoha.github.io/eud-book/
[2024-5-10. : 8:36 am]
Brusilov -- Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
[2024-5-09. : 11:31 pm]
Vrael -- :wob:
[2024-5-09. : 8:42 pm]
Ultraviolet -- :wob:
[2024-5-08. : 10:09 pm]
Ultraviolet -- let's fucking go on a madmen rage bruh
[2024-5-08. : 10:01 pm]
Vrael -- Alright fucks its time for cake and violence
[2024-5-07. : 7:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
Please log in to shout.


Members Online: 6oliviae4591tM0, jun3hong, Ultraviolet