Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: How do I disable a unit's ability to attack?
How do I disable a unit's ability to attack?
Aug 2 2008, 9:06 am
By: KyleIs1337  

Aug 2 2008, 9:06 am KyleIs1337 Post #1



I am making a map where if you get a certain amount of damage then you lose a "laser bank" and you lose the ability to attack. How do I go about doing this?



None.

Aug 2 2008, 9:46 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Constantly ally yourself to your enemies, or make the enemies invincible, or replace your unit with a critter or a civ or some unit with 0 damage (heroes ftw) to simulate the loss of weapons.

To detect loss of hp you either need vHP or EUDs. EUD Health detection sample map

Post has been edited 1 time(s), last time on Aug 2 2008, 2:01 pm by NudeRaider.




Aug 2 2008, 1:57 pm Ahli Post #3

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

Quote from NudeRaider
Constantly ally yourself to your allies and enemies...
allieing with your enemies all the time -> enemies become your allies
allieing with your allies -> you cannot attack your allies & neutral with a+click (with most units)




Aug 2 2008, 4:42 pm Falkoner Post #4



The most effective method would be to constantly ally your unit to your opponents, with hypertriggers, that would make it so no matter how hard the player tries, they cannot shoot the other unit, detecting damage is a bit of a problem, but maybe you can use a method that Nude posted.



None.

Aug 3 2008, 12:29 am KyleIs1337 Post #5



Actually it's not the ship's actual health it's like an idea i saw about having burrowed units under it and it disables the weapons when 20 of the burrowed units are killed by the enemy. So I have no problem with detecting the health and I have just been given a solution to the not attacking thing. So, thanks ;)



None.

Aug 3 2008, 2:37 am Falkoner Post #6



Ah, so you already have a vHP set up :) Very good



None.

Aug 4 2008, 4:00 pm Dungeon-Master Post #7



Yes but if you use a ship, won't the burrowed units bug if it gets over unpassable terrain? it may fake the results a bit if, lets say, the ship is fleaing from ennemies and uses high ground to do so...



None.

Aug 4 2008, 10:42 pm KyleIs1337 Post #8



No because it's an arena type map and if the ship trys to move out of the arena it moves it back into it. And also there is no high ground (that's accessible by the ship, that is) in the map.



None.

Aug 6 2008, 6:03 pm Dungeon-Master Post #9



Well then just make the player unable to attack once he gets x number of units killed, it is as eazy as that...!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:10 pm]
Ultraviolet -- sweet summer child
[2026-6-26. : 10:31 am]
NudeRaider -- blessed innocent soul knows nothing of the strife we had before EUDs were discovered :teehee:
[2026-6-23. : 3:29 am]
DarkenedFantasies -- Probably just didn't care. For example, at some point before release, they've updated the graphics of some of the Protoss buildings (Forge, CyberCore, Citadel, Observatory, Arbiter Tribunal), but instead of properly re-rendering them with edited 3D models, they did crappy copy-paste jobs on the rendered graphics.
[2026-6-22. : 8:35 pm]
Ultraviolet -- :wob:
[2026-6-21. : 11:38 pm]
Symmetry -- :wob:
[2026-6-21. : 4:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[2026-6-21. : 4:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[2026-6-21. : 4:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
Please log in to shout.


Members Online: NudeRaider, Roy