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 revision Previous revision
Next revision
Previous revision
xg:sector_type [2018-10-20 10:36]
skyjake [Sector Type (XG)]
xg:sector_type [2019-11-26 10:53] (current)
skyjake [Sector Type (XG)]
Line 3: Line 3:
 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). 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 [[xg_line_type|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]].+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]].
  
  
xg/sector_type.1540020963.txt.gz ยท Last modified: 2018-10-20 10:36 by skyjake