Editing Generalized sector types
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
Eternity provides generalized sector types, based on bit fields, that allow several sector type properties to be independently specified for a sector. Texture change linedefs can be used to switch some or all of these properties dynamically, outside lighting. | Eternity also provides generalized sector types, based on bit fields, that allow several sector type properties to be independently specified for a sector. Texture change linedefs can be used to switch some or all of these properties dynamically, outside lighting. | ||
{{Backto|Sector types}} | {{Backto|Sector types}} | ||
Bits 0 thru 4 specify the lighting type in the sector, the same codes that DOOM used are employed: | |||
Dec Bits 4-0 Description | Dec Bits 4-0 Description | ||
Line 17: | Line 17: | ||
17 10001 flickers on and off randomly | 17 10001 flickers on and off randomly | ||
'''IMPORTANT for UDMF''': to use the following values in UDMF, you need to multiply them by 8 first. | |||
'''IMPORTANT for UDMF''': to use the following values in UDMF, you need to multiply them by 8 first. | |||
All decimal values listed below can be added from each category to obtain the generalized sector effects. | All decimal values listed below can be added from each category to obtain the generalized sector effects. | ||
Line 49: | Line 47: | ||
0 0 0 Sector wind disabled | 0 0 0 Sector wind disabled | ||
512 4096 1 Sector wind enabled | 512 4096 1 Sector wind enabled | ||
== Introduced with SMMU == | === Introduced with SMMU === | ||
Bits 10 and 11 are now implemented as of SMMU v3.21. | Bits 10 and 11 are now implemented as of SMMU v3.21. | ||
Line 63: | Line 61: | ||
0 0 0 Sounds made by sector floor/ceiling movement normal | 0 0 0 Sounds made by sector floor/ceiling movement normal | ||
2048 16384 1 Sounds made by sector floor/ceiling movement suppressed | 2048 16384 1 Sounds made by sector floor/ceiling movement suppressed | ||
[[Category:Editing reference]] | [[Category:Editing reference]] |