gr_fogcolor

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
milasudril
Posts: 64
Joined: Fri May 15, 2009 17:21

gr_fogcolor

Post by milasudril »

Is there a better way to set fog color for a map than the folowing fraggle script:

Code: Select all

[level info]
consolecmd = gr_fogcolor 797E80
User avatar
Graf Zahl
GZDoom Developer
GZDoom Developer
Posts: 7148
Joined: Wed Jul 20, 2005 9:48
Location: Germany
Contact:

Re: gr_fogcolor

Post by Graf Zahl »

Of course. Use MAPINFO: http://zdoom.org/wiki/MAPINFO

You shouldn't use FraggleScript's level info block for anything. It's only there to run old Legacy maps.
milasudril
Posts: 64
Joined: Fri May 15, 2009 17:21

Re: gr_fogcolor

Post by milasudril »

Thanks!
Graf Zahl wrote:Of course. Use MAPINFO: http://zdoom.org/wiki/MAPINFO
I thought it was a GL specific feature so I looked there. Now I found it under Map definition.
Graf Zahl wrote:You shouldn't use FraggleScript's level info block for anything. It's only there to run old Legacy maps.
I know. That was why I asked.
Locked

Return to “GZDoom”