# Game Configuration - Sectors Settings

generalizedsectors (boolean)
Set to true to support generalized sector effects. This makes the gen_sectortypes structure mandatory. Default value is false.
sectorflags (structure) - GZDB only, UDMF only.
Lists the options that can be set on a sector.
ceilingportalflags (structure) - GZDB only, UDMF only.
Lists the options that can be set on a sector's ceiling portal.
floorportalflags (structure) - GZDB only, UDMF only.
Lists the options that can be set on a sector's floor portal.
sectorrenderstyles (structure) - GZDB only, UDMF only.
Lists the renderstyles that can be set on a sector.
Example:

    sectorrenderstyles
    {
    	translucent = "Translucent";
    	add = "Additive";
    }

sectorportalrenderstyles (structure) - GZDB only, UDMF only.
Same as sectorrenderstyles, but for floor/ceiling portals.
sectorbrightness (structure)
This structure provides Doom Builder with a list of sector brightness levels that are most common. Doom Builder will use these levels to increase/decrease the brightness quickly. The structure must contain numeric setting names for the brightness levels. The settings don't need a value and any value will be ignored by Doom Builder.
Example:

    sectorbrightness
    {
    	96;
    	64;
    	32;
    	0;
    }

gen_sectortypes (structure)
Generalized sector types are described in this structure. This structure is required when generalizedsectors is set to true. For each option there should be a structure. The name of the structure is displayed as the option description. Each option structure should contain a setting for the available choices. The setting name must be a numeric value that is added to the final sector effect value along with the values of the choices from other options (so the final sector effect value is the sum of the choices from every option). The setting must have a string value containing the choice description to be displayed.
Example:

    gen_sectortypes
    {
    	secret
    	{
    		0 = "No";
    		128 = "Yes";
    	}

    	friction
    	{
    		0 = "Disabled";
    		256 = "Enabled";
    	}

    	wind
    	{
    		0 = "Disabled";
    		512 = "Enabled";
    	}
    }

sectortypes (structure)
This is a simple list of all available sector effects that the user can choose from. The setting names must be numeric (the sector effect number) and the value must be a string containing the description to display.
Example:

    sectortypes
    {
    	0 = "Normal";
    	1 = "Light Blinks (randomly)";
    	2 = "Light Blinks (2 Hz)";
    	3 = "Light Blinks (1 Hz)";
    	4 = "Damage -10 or 20% health and Light Blinks (2 Hz)";
    	5 = "Damage -5 or 10% health";
    	7 = "Damage -2 or 5% health";
    	8 = "Light Glows (1+ sec)";
    	9 = "Secret";
    }