View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000250||GZDoom (All)||[All Projects] Bug||public||2017-02-12 07:51||2017-02-13 15:17|
|Platform||OS||Windows||OS Version||7 Pro|
|Summary||0000250: Selectively Setting Up Fog in Maps?|
|Description||I have a map that has fog (via an OPEN Script using Sector_SetFade) in some areas only. [FYI, these are meant to represent large, walk-in freezers.] This effect worked perfectly until recently. I believe the introduction of a defaultmap definition in MAPINFO may be causing the freezer fog to be over-ridden. In other words, I can get a default fog value for all maps, or I can get it selectively in various sectors in each map. But I can't get both.|
|Steps To Reproduce||1. Open map|
2. Walk to freezer area & see no fog
|Additional Information||From Graf in this thread:|
The problem is simply that the fog density being set in MAPINFO is map global and will affect all fogged sectors. If you do not want that you have to resort to a post 2.3 feature which allows setting this per sector via UDMF or ACS.
If you just need an automated way to convert light levels into sector colors, I guess the only way to do that is to define a ZSCRIPT actor that scans the entire sector array in its Tick function and converts the light level into sector color.
Is the ZSCRIPT route the only solution, or will this be addressed in any upcoming GZDooM official release?
|Tags||No tags attached.|
Checking the implementation, the global setting for fog has no effect on black fog (i.e. light diminishing.) I think the only option you really need is to disable light diminishing per map, right?
|Turning off light diminishing while keeping fog for the freezer sections would be ideal.|
|2017-02-12 07:51||rex||New Issue|
|2017-02-13 13:12||Graf Zahl||Status||new => feedback|
|2017-02-13 13:12||Graf Zahl||Note Added: 0000547|
|2017-02-13 14:54||Rachael||Note Added: 0000556|
|2017-02-13 15:17||Graf Zahl||Note Added: 0000558|
|2017-02-13 15:17||Graf Zahl||Status||feedback => resolved|
|2017-02-13 15:17||Graf Zahl||Resolution||open => fixed|