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.
[03:08 pm]
Oh_Man -- example of wat u mean?
[05:59 am]
NudeRaider -- *is
[05:17 am]
NudeRaider -- despite all its flaws the sound design its fantastic
[10:29 pm]
Oh_Man -- homeworld 3 = massive disappointment
[2024-5-14. : 10:05 am]
Moose -- ya
[2024-5-14. : 5:23 am]
zsnakezz -- yes
[2024-5-12. : 8:51 pm]
l)ark_ssj9kevin -- Are you excited for Homeworld 3?
[2024-5-12. : 8:44 pm]
l)ark_ssj9kevin -- Hi Brusilov
[2024-5-12. : 4:35 pm]
O)FaRTy1billion[MM] -- Brusilov
Brusilov shouted: Hey, what happened to EUDDB? Is there a mirror for it somewhere? Need to do a little research.
my server that was hosting it died
[2024-5-10. : 8: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/
Please log in to shout.


Members Online: Roy, NudeRaider, 9taylorc8691eg7