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.
[12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[08:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
[2026-9-23. : 2:30 am]
Symmetry -- I dreamed about that as a kid. The idea of a computer capable of analyzing a starcraft map and calculating the fastest possible way to hit the victory condition
Please log in to shout.


Members Online: UndeadStar, Oh_Man