Staredit Network > Forums > SC2 Assistance > Topic: Reproducing SC1's Shield
Reproducing SC1's Shield
Dec 9 2011, 2:04 am
By: payne  

Dec 9 2011, 2:04 am payne Post #1

:payne:

I am trying to reproduce the way shield used to work in sc1: if the unit is hit before its regeneration delay is completed, the delay is reset to 0.

Anyone knows how I could achieve that in the Data Editor? I've tried messing with the Regen. Delay, Regen. Rate, abd Period of attack, but it doesn't seems to work. :(

In my case, I want the Probe to have 1 Shield which would act kind of like an armor preventing a random attack from the opponent. I really want the Probe to lose some of its 5 Hit Points only when there is a persistent/continuous attack from the enemy (so either more than 1 unit attacking at a time, or 1 unit attacking without interruption).
The only units that can damage the unit are Photon Cannons, Zealots, and Probes. I also do not want the Probe to lose more than 1 HP per attack per unit.



None.

Dec 9 2011, 2:15 am Roy Post #2

An artist's depiction of an Extended Unit Death

Quote from payne
I am trying to reproduce the way shield used to work in sc1: if the unit is hit before its regeneration delay is completed, the delay is reset to 0.
Don't shields in SC2 already have that effect? Shields don't regenerate while that unit is being attacked. In fact, if I recall correctly, SC1's shields regenerated at a constant rate, regardless of whether or not the unit is in combat (same with Zerg health), but what you are describing more closely resembles the current SC2 implementation.

Quote from payne
In my case, I want the Probe to have 1 Shield which would act kind of like an armor preventing a random attack from the opponent. I really want the Probe to lose some of its 5 Hit Points only when there is a persistent/continuous attack from the enemy (so either more than 1 unit attacking at a time, or 1 unit attacking without interruption).
Do you absolutely need to use shields for this case, are you looking simply for a system where the Probe only loses health if it's under continuous attack?




Dec 9 2011, 2:46 am payne Post #3

:payne:

Quote from Roy
Quote from payne
I am trying to reproduce the way shield used to work in sc1: if the unit is hit before its regeneration delay is completed, the delay is reset to 0.
Don't shields in SC2 already have that effect? Shields don't regenerate while that unit is being attacked. In fact, if I recall correctly, SC1's shields regenerated at a constant rate, regardless of whether or not the unit is in combat (same with Zerg health), but what you are describing more closely resembles the current SC2 implementation.

EDIT:
Actually, you're probably right. I've just noticed my error: I had "1" Armor, which is why it took two hits of 1 Damage to actually deal 1 damage even though the shield was down.

Sorry for that stupid error. ;o

... I should finish this project very soon as it's far from being big. I hope you'll enjoy it. ;)
To the curious, there are enough hints on SEN that will let you guess the map.

Post has been edited 3 time(s), last time on Dec 9 2011, 3:06 am by payne.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-11-21. : 7:14 pm]
Symmetry -- so it shows the version history of temple siege
[2026-11-21. : 7:13 pm]
Symmetry -- I think he's trying to find the most popular versions of maps
[2026-11-21. : 9:24 am]
UndeadStar -- yes it helped...but I didn't understand what the picture was about lol
[2026-11-21. : 6:10 am]
NudeRaider -- UndeadStar
UndeadStar shouted: I somehow don't dare to look at an image without explanation from someone called Decency. Reverse psychology maybe?
does it help your fear when I tell you he used to call himself FaZ-?
[2026-11-20. : 5:02 pm]
UndeadStar -- I somehow don't dare to look at an image without explanation from someone called Decency. Reverse psychology maybe?
[2026-11-19. : 10:19 pm]
Decency -- https://i.imgur.com/DMFELQd.png
[2026-11-19. : 9:16 pm]
ihjel -- No bots online :omfg:
[2026-11-19. : 8:15 pm]
Moose -- o, I thought it was EUD, gg
[2026-11-19. : 3:58 am]
Symmetry -- Reindeer breeding 2 is not EUD and errors when I try to upload
[2026-11-19. : 12:26 am]
Moose -- Symmetry
Symmetry shouted: yeah uploading for me has been a 50/50 toss up here lately
certain EUD maps segfault the map parser, :farty: ignore me the last time I complain at him. :crybaby:
Please log in to shout.


Members Online: Ultraviolet, GGmano