Staredit Network

Staredit Network -> UMS Assistance -> Protoss Shield Tricks -- Help me plz!
Report, edit, etc...Posted by Dm-Ugluk on 2005-04-08 at 16:30:10
QUOTE(Clokr_)
~Special Thanks to Dabbu!~

Protoss shields have 6 rules and there are no exceptions.

Those rules are:

  1. If the unit is not being attacked, or you using a battery shield, the shield increases.
  2. If the unit is being attacked shield decreases.
  3. If the shield points are the same as the max shield points set in the unit properties window, shield stops increasing.
  4. If the shield is negative, shield and life points are not displayed when the unit is selected.
  5. MODIFY SHIELD POINTS trigger action sets shield points to a number between 0 and the max shield points set in the unit properties window. EMP shockwave sets shields to 0.
  6. If shield points reaches 0, attacks decrease the unit's hit points.



Let's see what happens when a unit with '100' max shield points is attacked. It loses shield points (rule 2) and then it gets shield points (rule 1) until its max, in this case, '100' (rule 3). If shield points arrive to 0, the unit loses hit points (rule 6).

Now, what happens if the same unit has a '-100' max shield points. If the unit is attacked its shield points decreases (Yes! It decreases: '-101', '-102', etc. rule 2) and then it gets shield points (-102, -101, etc. rule 1) until -100 (rule 3). Shield points never reaches 0, so the unit can't lose hit points (rule 6)! The shield points and hit points are not showed (rule 4), so the unit seems invincible, can be attacked, and cannot die.

Now, what happens if you set the shield points to a percent lower than 100% or you use EMP shockwave on the unit? We just need to apply those rules.

The unit starts with '-100' shield points, and then you use EMP shockwave. Shield points are set to '0', and the unit can lose its hit points (rule 6). If it is not attacked it gets shield points (rule 1) until it reaches '-100' shield points (rule 3), but that is impossible, because if it have '0', it will gain shield points '1', '2', '3', etc. and will not stop getting shield points because the max is negative. Now shield points are positive, but shield points and hit points are not displayed (rule 4). So it looks invincible but this time it is not!


Well, I've read it all through, and how can I make a unit have -100 shield?? I've tried it in SC XTRA, but there you can't type a "-" in a shield box, wether you do it in the unit properties box or in a trigger. And if I do it in Starforge (by editing the trigger manually) it still has a positive shield amount in-game. Can anyone please help me? helpsmilie.gif helpsmilie.gif helpsmilie.gif
Report, edit, etc...Posted by Yoshi da Sniper on 2005-04-08 at 16:33:34
>> Map Assistance.
Report, edit, etc...Posted by LegacyWeapon on 2005-04-08 at 16:36:09
Are you sure you are using the correct box?
user posted image
Also, make sure the unit is allowed to have shields...

Can you describe the exact steps you take?

If you edit the unit again in X-tra or something that does not allow negative shields, then it will change back to 0.
Report, edit, etc...Posted by Dm-Ugluk on 2005-04-08 at 16:45:06
OK these are my exact steps:


I open Starforge
...
...
(logic stuff)

I go to my map triggers

I go to the trigger

It says: ModifyUnitShields(All, Men, P7, Baas Zealot, 100);
Of course the condition always is set (before you would ask tongue.gif)

Then I change ModifyUnitShields(All, Men, P7, Baas Zealot, 100);
into ModifyUnitShields(All, Men, P7, Baas Zealot, -100);

Save the map and play. Doesn't work.


In SC XTRA it just won't allow a - in there, so thats no option. Do you have a solution?
Report, edit, etc...Posted by Heimdal on 2005-04-08 at 16:53:30
Only values in the range 0-255 are valid in the trigger editor. This is a percent of the original HP/Shield/Energy. As far as I know, 0 is the same as 1 and anything above 100 acts like 100.

Look at legacyWeapon's post. You need to change the shields in the unit settings window. You can't do it with triggers.
Report, edit, etc...Posted by Dm-Ugluk on 2005-04-08 at 16:59:38
QUOTE(LegacyWeapon @ Apr 8 2005, 09:36 PM)
Are you sure you are using the correct box?
user posted image
Also, make sure the unit is allowed to have shields...

Can you describe the exact steps you take?

If you edit the unit again in X-tra or something that does not allow negative shields, then it will change back to 0.
[right][snapback]183098[/snapback][/right]



Well, if I do that, Starforge changes -100 to 0 immidiatly
Report, edit, etc...Posted by chuiu on 2005-04-08 at 17:17:57
What version are you using? It doesn't seem to happen for anyone else.
Report, edit, etc...Posted by Dm-Ugluk on 2005-04-08 at 17:22:50
I'm using the latest version, 2.2 I think it is.
Report, edit, etc...Posted by greenreaper on 2005-04-08 at 17:25:09
StarForge 2. 2 shouldn't be doing that. I made a test map of it.....and the zealot had no display for shields, as Clokr_'s tutorial said. I just went to the unit settings editor and set the shields to "-100". StarForge did NOT set it to 0 whatsoever. Here's a screenshot for proof.
Report, edit, etc...Posted by axblader on 2005-04-08 at 17:30:04
forge is a very...flexible editor, it will not change much, unless it is absolutley illegal, and even, it still lets you do illegal stuff.
Report, edit, etc...Posted by Dm-Ugluk on 2005-04-08 at 17:35:38
QUOTE(greenreaper @ Apr 8 2005, 10:25 PM)
StarForge 2. 2 shouldn't be doing that.  I made a test map of it.....and the zealot had no display for shields, as Clokr_'s tutorial said.  I just went to the unit settings editor and set the shields to "-100".  StarForge did NOT set it to 0 whatsoever.  Here's a screenshot for proof.
[right][snapback]183145[/snapback][/right]


God yes finally it WORKS, tnx a lot m8
my prob was that I was changing it in the zealot properties window (for that one zealot) and not in the "global" unit properties window (if you get what I mean w00t.gif )
Report, edit, etc...Posted by KrAzY on 2005-04-12 at 10:33:23
Umm, mystery solved? (Didn't get to help sad.gif )
Report, edit, etc...Posted by chuiu on 2005-04-12 at 12:04:48
Umm, then don't post?
Next Page (1)