====== Sector Type (XG) ====== A //sector type// defines the behavioral properties of a [[sector]]. All sectors set to a certain type share the same behavior. [[XG]] allows defining properties related to the visual appearance of the sector (for instance, light color) and gameplay functionality (for instance, damaging the player). An //XG sector// is a normal [[games:Doom]] sector whose type is an //XG sector type//. XG sectors have special physics processing for [[sector_wind|wind]], [[sector_gravity|customized gravity]] and [[sector_friction|friction]]. Each sector has a number of [[sector_chain|chains]] that are used to define extended functionality. Note that [[sector chain]]s refer to [[line type]]s, so anything that can be achieved with line types can also be done with sectors. For instance, if you want a sector to damage all the things touching its floor, you would set the sector type's floor chain to a [[xg:class:damage|line type that deals damage]]. ===== Physics ===== * [[sector_wind|Wind]]: Apply directional wind effects to a sector. * [[sector_gravity|Gravity]]: Specify the gravity inside a sector. * [[sector_friction|Friction]]: Specify the friction affecting things in a sector. ===== Properties ===== The properties of XG sector types are documented in the [[ded:sector_type|Sector Type]] definition.