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-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.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: NudeRaider