UDMF: Sector fields
Based on !1694 (merged), so merge that one first.
This branch deals with sector fields:
- The
flagsfield is now exposed to UDMF. This means you can set all the flags that used to require linedef type 8 directly in the sector.- The "intangible to the camera" sector special and the heat wave linedef effect have been turned into sector flags.
- The
specialfield has been made obsolete and replaced with the following:-
damagetypefor, well, damage types. There are different damage types for fire and lava: They're identical when applied directly to a sector or a solid FOF, but for water FOFs, lava is solid whereas fire is not. -
triggertag,triggererand the sector flagsMSF_TRIGGERLINE_MOBJandMSF_TRIGGERLINE_PLANEfor linedef executor triggering. -
specialflagsfor everything else. This means you can now freely combine sector effects that used to be in the same group.
-
- A few sector specials are deprecated and aren't accessible in UDMF.
- Ring drainers and the egg capsule can be recreated with linedef executors.
- Bouncy FOFs are now made with the "make FOF bouncy" linedef type.
- The Special Stage requirements and global gravity sector types are obsolete now that we have level header options for those.
- The Wind/Current and Conveyor Belt effects no longer have to set in the map. The game detects pusher/scroller effects at runtime and adds the flags for you.
- Linedef type 540 has been replaced with a
frictionsector field. - Linedef type 1 has been replaced with a
gravitysector field and theMSF_GRAVITYFLIPsector flag. You can change a sector's gravity at runtime with the new linedef type 469.
Edited by MascaraSnake