User Tools

Site Tools


xg:sector_type

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
xg:sector_type [2018-10-20 07:51] – [Sector Type (XG)] skyjakexg:sector_type [2019-11-26 08:53] (current) – [Sector Type (XG)] skyjake
Line 1: Line 1:
 +====== 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.
 +
 +
 +
  
xg/sector_type.txt · Last modified: 2019-11-26 08:53 by skyjake