Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Dimmen light radius of players' units?
Dimmen light radius of players' units?
Nov 25 2007, 8:01 pm
By: Marine  

Nov 25 2007, 8:01 pm Marine Post #1



lets say in a sniper map you dont want to have a unit have alot of vision of the area around it, but you want it so that it is hard to see your surroundings. Is that possible? If it is how do i do it >.<



None.

Nov 25 2007, 8:11 pm Roy Post #2

An artist's depiction of an Extended Unit Death

Hmm... I have a start, but not a conclusion...

You have to turn off shared vision for the player, then have a smaller radius display around the unit. The only problem with my idea is that it'll cause your unit to "lag." Well, maybe you or someone else can think up an alteration of this concept, but I'm too busy dealing with this damn virus to focus...

Player 1 trigger:

- Always

- Turn off shared vision for player 1.
- Turn on shared vision for player 7
- Move location labeled "location 0" on terran ghost owned by player 1
- Create 1 vulture spider mine for player 7 at "location 0"
- Remove all vulture spider mine at "location 0" for player 7


I picked spider mines because they have a laughable line of sight, but you might want a different unit. The problem with this method is that the ghost will move noticeable slower. But, it's a start, eh?




Nov 25 2007, 8:14 pm NudeRaider Post #3

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

2 Methods:
- Blind it with medic (Info here) or
- Switch player's vision off with himself and burrow (and always center) a unit the player has vision to under the "dimmed" unit.

Blinding will reduce sight to 1 block, a burrowed unit has sight of about 3 blocks around the unit.




Nov 25 2007, 8:17 pm NudeRaider Post #4

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

Quote from Roy
Hmm... I have a start, but not a conclusion...

You have to turn off shared vision for the player, then have a smaller radius display around the unit. The only problem with my idea is that it'll cause your unit to "lag." Well, maybe you or someone else can think up an alteration of this concept, but I'm too busy dealing with this damn virus to focus...
Roy's method works fine and only lags if you are using hypertriggers.

Prevent lag by centering the burrowed unit only all 3-4 trigger loops.
Do this with a counter:

Always -> add 1 to DC of COUNTER for Current Player

Current Player has suffered 4 deaths of COUNTER -> Center Spider mine (or w/e) under the unit ; Set DC of DEATH to 0 for Current Player




Nov 25 2007, 9:05 pm ZugZugZealot Post #5



The trigger method of course doesn't work for flying units over unwalkable terrain.



None.

Nov 25 2007, 9:41 pm Marine Post #6



roy i tried your way, and i like it because it makes you "blink", so you cant see anything for moment. I like that, thank you guys!



None.

Nov 25 2007, 9:47 pm Marine Post #7



but, when i save as a file under starforge, i load the map onto regular staredit (to see if doodads still there) and all sprites are cut in half... O.o any suggestions?



None.

Nov 25 2007, 9:59 pm Doodle77 Post #8



Happens, use SCMDraft instead of Starforge.



None.

Nov 26 2007, 11:22 pm Vrael Post #9



Also, if you don't want to use a burrowed unit.

Conditions:
Always (or make it run every few trigger loops like shown in a previous post)

Actions:
Create 1 Zerg Scourage at "Ghost Location" for "Player with vision"
Remove 1 Zerg Scourage at "Ghost Location" for "Player with vision"
Preserve Trigger

Just an alternate.



None.

Nov 27 2007, 1:07 am frazz Post #10



Quote from Marine57
but, when i save as a file under starforge, i load the map onto regular staredit (to see if doodads still there) and all sprites are cut in half... O.o any suggestions?
There's no point in using the regular staredit, if you want to test for playability, just use SC.
Also, SCMdraft is better. Use it.



None.

Nov 27 2007, 1:26 am who Post #11



SCMDraft is better than Starforge at everything but triggers IMO (i use both).
Don't open in regular staredit because it is less powerful and sprites/illegally placed units will not show up.



None.

Nov 27 2007, 1:30 am GuN_Solar90 Post #12



Could you enclose the unit in terrain markups and then have surrounding enemies on a lower area? It might be possible.



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: lil-Inferno, Roy