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.
Is this intended behavior? Getting rid of the defaultmap returns the freezer fog to its desired level.
Also, I have other instructions in defaultmap that I want to keep, so I don't want to get rid of defaultmap entirely. However, it seems that if I use defaultmap I (somehow) automatically get a fogdensity that over-rides the map-specific scripted instruction. I tried removing the fogdensity instruction, but it changed nothing.
Here is the MAPINFO definition:
Code: Select all
defaultmap
{
lightmode = 4
fogdensity = 32
fade = "00 00 00"
evenlighting
}