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.
[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
[2024-4-27. : 6:24 pm]
NudeRaider -- "War nie wirklich weg" 🎵
[2024-4-27. : 3:33 pm]
O)FaRTy1billion[MM] -- o sen is back
[2024-4-27. : 1:53 am]
Ultraviolet -- :lol:
[2024-4-26. : 6:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[2024-4-26. : 6:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[2024-4-26. : 6:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[2024-4-26. : 6:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[2024-4-26. : 6:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
Please log in to shout.


Members Online: RIVE