14,239
edits
Kappes Buur (talk | contribs) (added example map) |
(made into a table) |
||
|
Sets a sector property during level initialization. '''Static_Init''' was designed to copy the functionality of several [[Boom]], [[MBF]] and [[Eternity Engine]] linetypes; the specific action depends on the second argument.
{| {{prettytable}}
; prop == 0 : Sets the [[gravity]] in tagged sectors to the length of the linedef (333 in Doom-style maps).▼
|-
!colspan="3"| Property
; prop == 1 : Sets the [[colored lighting|light]] or [[fog]] color in a sector. An RRGGBB hex format color used as an upper texture name will set the light color; a lower texture will set the fog color.▼
|-
! Value !! Function !! Notes
; prop == 2 : Sets [[Sector_SetDamage|damage]] in tagged sectors to the length of the linedef (335 in Doom-style maps).▼
|-
▲
; prop == 3 : Defines a [[Sector links with Static_Init|sector link]] with line IDs instead of tags, as in Eternity.▼
|-
▲
; prop == 255 : Uses the line's upper texture as the sky in any tagged sectors (that is, the [[sky]] flat will be replaced with that texture instead of the sky indicated in [[MAPINFO]]). If flip is set to 1, the texture will be flipped, as is normal behavior for Doom skies. Offsets and scrolling of the texture are transferred to the sky as well. Scrolling, however, is only at a tiny fraction of the wall texture's scrolling speed. This corresponds to the MBF sky transfer linetypes (271 and 272).▼
|-
:Note: The line's lower texture, if set and of the same dimensions as the upper texture, will be used during [[lightning]] flashes.▼
▲
|-
▲
|-
| 253 || Sector || rowspan="2" | Define special handling for adding Eternity Engine ExtraData to sector and line. Used by [[XLAT]] for Eternity levels.
|-
| 254 || Line
|-
▲
▲
|}
==Forum threads==
| |||