Page 1 of 1

Fog of war

Posted: 15 Feb 2008, 17:58
by aash29
Greetings,
is it possible to turn of the fog of war, covering unexplored parts of map with solid black?
thanks in advance

Re: Fog of war

Posted: 15 Feb 2008, 18:31
by lurker
MTR



>_>
<_<
I mean...
It should be simple to code a mode without fog of war. I'll probably give it a shot this weekend. Hiding unexplored map, on the other hand, is not as simple.

Re: Fog of war

Posted: 15 Feb 2008, 20:18
by Gota
its cool as long as it can be implemented without hurting cpu/gpu power.

Re: Fog of war

Posted: 15 Feb 2008, 21:14
by lurker
Removing fog of war would be a CPU boost. I believe blacked out map segments would be between a slight gpu boost to a small drop, and not much cpu impact.

Re: Fog of war

Posted: 16 Feb 2008, 01:34
by LOrDo
LUA can do shaders right? Mabye we could use it to make a sort of fog of war...

Re: Fog of war

Posted: 16 Feb 2008, 16:00
by Saktoth
Its relatively silly to obscure the map, anyone can just start the map up in a test game, reveal the whole thing, and memorize it.

This only serves to make its harder for players who havent played the map before.

An LoS Fog of War exists though, press L.

Re: Fog of war

Posted: 16 Feb 2008, 17:38
by Gota
It gives a completly different feel to the game if the map is obscured,doesnt matter if you know it or not.

Re: Fog of war

Posted: 16 Feb 2008, 19:51
by aash29
While we're at it, is it possible to remove purple color of existing LOS?

Re: Fog of war

Posted: 17 Feb 2008, 00:28
by pktm
aash29 wrote:While we're at it, is it possible to remove purple color of existing LOS?
No. As long as you are not able to do it on your own, you won't get a fog of war, or a usefull colored line of sight or somethong else nearly every rts game provides.
I wonder why, since spring usually has all the cool things I ever encountered in a game.

Re: Fog of war

Posted: 17 Feb 2008, 00:34
by jK
pktm wrote:
aash29 wrote:While we're at it, is it possible to remove purple color of existing LOS?
No. As long as you are not able to do it on your own, you won't get a fog of war, or a usefull colored line of sight or somethong else nearly every rts game provides.
I wonder why, since spring usually has all the cool things I ever encountered in a game.
you quote him, but you didn't even answered his question o_O

-> it is possible, but i am too lazy to write it down here (ppl need to learn to use the search button ...)

Re: Fog of war

Posted: 18 Feb 2008, 09:34
by aash29
I tried searching for 'fog of war', but got zero results every time (even this thread is not located). Words are too short?
Thanks for answers anyway
p.s.:
Looks like dizekat created the LoS-coloring widget, but due to Unknown files being down I wasn't able to look at it.

http://spring.clan-sy.com/phpbb/viewtop ... 54#p249254

Re: Fog of war

Posted: 25 Feb 2008, 09:10
by Google_Frog
Completely black, terrain obscuring, fog of war would just give a disadvantage to people who haven't played the map much.

Re: Fog of war

Posted: 25 Feb 2008, 10:28
by Gota
Saktoth wrote: This only serves to make its harder for players who havent played the map before.
was said already...
matter of taste,some might preffer to play it like that.

Re: Fog of war

Posted: 25 Feb 2008, 21:36
by Guessmyname
pktm wrote:
aash29 wrote:While we're at it, is it possible to remove purple color of existing LOS?
No. As long as you are not able to do it on your own, you won't get a fog of war, or a usefull colored line of sight or somethong else nearly every rts game provides.
I wonder why, since spring usually has all the cool things I ever encountered in a game.
Try pressing L ingame :wink:

Re: Fog of war

Posted: 26 Feb 2008, 00:49
by SpikedHelmet
Someone (forget who) made an interesting blurred-effect lua widget that made things blurred the further away they were. I assume the same sort of thing can be done with having it just black.

Re: Fog of war

Posted: 27 Feb 2008, 07:59
by Sheekel
Suppose there was a lua widget that takes the combined LOS of each race and converts it into a 'known map' area, and then some sort of effect (scripted fog, blackening mist, a faded then black texture like in OTA). Then distribute that with the mod and make it required/toggleable. "This is a FOW enabled map. The xxxxxx widget is required for play!"

Re: Fog of war

Posted: 27 Feb 2008, 08:31
by Argh
All I want, frankly, is a way to not bother having terrain block LOS. It's one of the few OTA things that's never been implemented in Spring, and it would probably save bunches on CPU for massive games.

Re: Fog of war

Posted: 29 Feb 2008, 11:36
by jK
Sheekel wrote:Suppose there was a lua widget that takes the combined LOS of each race and converts it into a 'known map' area, and then some sort of effect (scripted fog, blackening mist, a faded then black texture like in OTA). Then distribute that with the mod and make it required/toggleable. "This is a FOW enabled map. The xxxxxx widget is required for play!"
that's the problem i know a way to make a fog of war, but it needs a working shader, and i don't think ppl are ready for it :/

(btw in combination with random terrain maps it would be really nice)

Re: Fog of war

Posted: 29 Feb 2008, 15:30
by Pxtl
Argh wrote:All I want, frankly, is a way to not bother having terrain block LOS. It's one of the few OTA things that's never been implemented in Spring, and it would probably save bunches on CPU for massive games.
And radar. Let's not forget radar.

Of course, sonar that makes an ounce of sense would also be nice.

Re: Fog of war

Posted: 04 Apr 2008, 03:33
by Jamuk426
Don't forget to mention to press ; if you don't like the psychadelic colors.

(just thought id mention it for those who don't know already)