Staredit Network

Staredit Network -> Ideas -> A Large Fog Effect
Report, edit, etc...Posted by Weasel on 2005-11-01 at 21:43:07
I'm making a map on a Macintosh computer, with the Staredit Emerald program, with Brood War.

I need some ideas of how to create a big fog to cover alot of the map, and have it slowly inch its way across the map. I don't know if I should use units or some sort of effect/spell, but I need something that will not need too many locations or triggers for it, and is fairly easy to pull off. It can be a random movement, as long as it's in a line, or controlled. Just something that doesn't take too long to put together.
I have a map that I want a fog to start in the top left, and move its way towards the bottom right, but spread across the entire width, slowly.

Any help/ideas? :/
Report, edit, etc...Posted by Rantent on 2005-11-01 at 22:06:01
Fog of war would be my first thought. You could start out with the map revealed and slowly take away map revealers. Don't know if thats what you want. If its a big map, using a unit might make the game really lag.
Report, edit, etc...Posted by Do-0dan on 2005-11-01 at 22:08:24
dark swarm? dont know how to cast it but somehow make it be casted then when the first one dissapears (time it), make another one next to it and repeat until it reaches bottom right of map
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-02 at 21:35:05
i saw a thundersotrm effect map, maybe use the idea from that, its a bit slow to start, but im sur theres a way around it
Report, edit, etc...Posted by Raindodger on 2005-11-02 at 22:07:25
You could somehow use hallucination deaths. But that would take a lot of locations.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-03 at 20:32:56
its a simple concept yet hard to figure out
Report, edit, etc...Posted by PCFredZ on 2005-11-06 at 20:02:12
QUOTE(Rantent @ Nov 1 2005, 10:06 PM)
Fog of war would be my first thought. You could start out with the map revealed and slowly take away map revealers. Don't know if thats what you want. If its a big map, using a unit might make the game really lag.
[right][snapback]346568[/snapback][/right]

Map revealers can only be removed all at once.




Here's a way to do a random pattern:

Cover the map with cloaked Wraiths for a computer player whose vision you can see in a standard 2 dimensional grid system, spacing them enough so no fog of war is present when you share vision. The best case scenario is to use a White player color for the Wraiths on snow terrain, but it is not required.

Create 2 locations, one 1x1 and one that will be able to center on the Wraith and at the same time touch it surrounding 8 other Wraiths, which I will call 34x34 because that's how it would go for Map Revealers (Wraiths have much less viewing range though, so you should make it smaller than 34x34 depending on the spacing). 2 Computer players, Comp and Temp, will be used.

Trigger start (run for human player):
C: Always
A: Centering both locations on the starting Wraith (say, upper left corner).
A: Turn on shared vision for Comp

Trigger cycle:

1.
C: Comp brings at least 1 Wraith to 1x1
C: "Set" is cleared (default)
A: Preserve
A: Remove 1 Wraith at "1x1"
A: Randomize switch "1"
A: Randomize switch "2"
A: Randomize switch "3"
A: Set switch "Set"

2.
C: "Set" is set
C: "1" is set
A: Preserve
A: Give 1 Wraith for Comp at 34x34 to Temp

3.
C: "Set" is set
C: "2" is set
A: Preserve
A: Give 2 Wraith for Comp at 34x34 to Temp

4.
C: "Set" is set
C: "3" is set
A: Preserve
A: Give 4 Wraith for Comp at 34x34 to Temp

5. Failsafe
C: "Set" is set
C: Comp brings at most 0 Wraith to 34x34
A: Preserve
A: Clear "Set"
A: Give all Wraith for Temp at 34x34 to Comp

6.
C: "Set" is set
A: Preserve
A: Center location 1x1 on Wraith owned by Comp at 34x34
A: Center location 34x34 on Wraith owned by Comp at 34x34
A: Clear "Set"



This chain will keep going until a dead end has been reached. Note that it will go fast as quickly as the triggers can cycle, so you'd need to add waits (or leave out Hyper Triggers) to make it look more gradual.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-07 at 19:43:46
so wuold this strat from the upper top left most wraith the right, watif he wants it to etend in a radial pattern from a certain point, or bottom to top??? disgust.gif
Report, edit, etc...Posted by PCFredZ on 2005-11-08 at 14:23:58
QUOTE(AFL-InuYasha @ Nov 7 2005, 07:43 PM)
so wuold this strat from the upper top left most wraith the  right, watif he wants it to etend in a radial pattern from a certain point, or bottom to top??? disgust.gif
[right][snapback]350550[/snapback][/right]

My method creates a RANDOM pattern from ANY starting point.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-08 at 16:03:26
o, ok, i kinda get the triggers now, i started makin them in trig editor and they amde sense, well kinda anyway, plus a random way of adding wait times may be nice
Report, edit, etc...Posted by Syphon on 2005-11-12 at 12:38:31
Wouldn't it work better with observers? Less triggers I mean.
Report, edit, etc...Posted by AFL-InuYasha on 2005-11-12 at 19:38:35
its more of the triggers that randomize how the fog moves, the desired effect can b added later
Next Page (1)