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.
[01:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[01:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
[2024-4-27. : 7:56 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: "War nie wirklich weg" 🎵
sing it brother
Please log in to shout.


Members Online: Roy, jun3hong