Property transfer linedef types

From Eternity Wiki
Jump to navigationJump to search
Back to Linedef types

These linedefs are special purpose and are used to transfer properties from the linedef itself or the sector on its first sidedef to the tagged sector(s). None are triggered, they simply exist.

New to Boom[edit]

Extended Property Transfer Linedefs
-------------------------------------------------------------------
#     Class  Trig Description
213   Ext    --   Set Tagged Floor Lighting to Lighting on 1st Sidedef's Sector

See Transfer_FloorLight.

261   Ext    --   Set Tagged Ceiling Lighting to Lighting on 1st Sidedef's Sector

See Transfer_CeilingLight.

260   Ext    --   Make Tagged Lines (or this line if tag==0) Translucent

Used to make 2s normal textures translucent. If tag==0, then this linedef's normal texture is made translucent if it's 2s, and the default translucency map TRANMAP is used as the filter. If tag!=0, then all similarly-tagged 2s linedefs' normal textures are made translucent, and if this linedef's first sidedef contains a valid lump name for its middle texture (as opposed to a texture name), and the lump is 64K long, then that lump will be used as the translucency filter instead of the default TRANMAP, allowing different filters to be used in different parts of the same maps. If the first side's normal texture is not a valid translucency filter lump name, it must be a valid texture name, and will be displayed as such on this linedef.

In UDMF, you need to use linedef's tranmap property to obtain the same effect, on all lines which have to be translucent. You can also opt to use alpha and renderstyle. There's no dedicated linedef special on UDMF for this.

242   Ext    --   Set Tagged Lighting, Flats Heights to 1st Sidedef's Sector,
                  and set colormap based on sidedef textures.

See Transfer_Heights.

223   Ext    --   Length Sets Friction in tagged Sector,Sludge<100, Ice>100

See Sector_SetFriction.

New to MBF[edit]

See Static_Init (sky transfer)

Constant pushers[edit]

Two types of constant pushers are available, wind and current. Depending on whether you are above, on, or below (special water sectors) the ground level, the amount of force varies.

The length of the linedef defines the 'full' magnitude of the force, and the linedef's angle defines the direction.

    line type         above  on   under
    ---------         -----  --   -----
    wind       224    full  half  none
    current    225    none  full  full

The linedef should be tagged to the sector where you want the effect. The special type of the sector should have bit 9 set (0x200). If this bit is turned off, the effect goes away. For example, a fan creating a wind could be turned off, and the wind dies, by changing the sector type and clearing that bit.

Constant pushers can be combined with scrolling effects and point pushers.

224  Ext     --   Length/Direction Sets Wind Force in tagged Sectors
225  Ext     --   Length/Direction Sets Current Force in tagged Sectors

Point pushers[edit]

Two types of point pushers are available, push and pull.

This implementation ignores sector boundaries and provides the effect in a circular area whose center is defined by a Thing of type 5001 (push) or 5002 (pull). In Doom format, a linedef type of 226 is used to control the effect, and this line should be tagged to the sector with the 5001/5002 Thing. In UDMF and ExtraData, use PointPush_SetForce.

Usually, the length of the linedef defines the 'full' magnitude of the force, and the force is inversely proportional to distance from the point source. If the length of the controlling linedef is L, then the force is reduced to zero at a distance of 2L. The angle of the controlling linedef is not used. In the parameterized version you also have the option to set an explicit length value.

The sector where the 5001/5002 Things reside must have the wind-enable bit set in its type. If this is turned off, the effect goes away. The bit is, depending on format:

  • bit 9 (0x200, 512) in the Doom format,
  • bit 12 (0x1000, 4096) in UDMF.

Point pushers can be combined with scrolling effects and constant pushers.

226  Ext     --   Length Sets Point Source Wind/Current Force in Tagged Sectors

Moving 3DMidTex Lines[edit]

These line types allow lines with the 3DMidTex flag (linedef flag 1024) to be scrolled vertically along with the floor or ceiling action of a sector.

The floor or ceiling movement of the sector on the first side of one of these lines will be transferred to the y offsets of both sidedefs of all like-tagged 3DMixTex lines. If the transfer sector or the tagged lines are blocked by a moving object such as an enemy, they will obey the transfer sector's rules for movement when blocked (for example, 3DMidTex lines tagged to a DR door sector will bounce off of monster's heads).

The new linedefs are as follows:

281  Ext     --   Floor movement of sector on 1st side is transferred to all
                  like-tagged 3DMidTex lines as vertical scrolling
              
282  Ext     --   Ceiling movement of sector on 1st side is transferred to all
                  like-tagged 3DMidTex lines as vertical scrolling

For the parameterized special, see Sector_Attach3dMidtex.

Heretic wind/current transfer[edit]

These lines allow Heretic-style wind and current effects to be used independent of automatic Heretic map translation. BOOM-style Heretic levels should use these lines in combination with scrollers and generalized damage sector types to replicate Heretic sector types 4 and 20 through 51.

Line type 293 duplicates Heretic wind specials, which affect only things with the Bits3 WINDTHRUST flag when the things are anywhere within the tagged sectors.

Line type 294 duplicates Heretic current specials, which affect only the player, and only when he/she is on the ground.

The effect, applied in every tagged sector, is to push all things in the direction of the control linedef with a force proportional to its length. The length of the line is scaled by a factor of 512, giving the following equivalencies for Heretic sector types:

Heretic Sector Type    Equivalent Line Setup
---------------------------------------------------------------------------
4                      294, East (0 degrees), length  112

20 - 24                294, East (0 degrees), lengths 20, 40, 100, 120, 140
25 - 29                294, North (90 deg.),  lengths 20, 40, 100, 120, 140
30 - 34                294, South (270 deg.), lengths 20, 40, 100, 120, 140
35 - 39                294, West (180 deg.),  lengths 20, 40, 100, 120, 140

40 - 42                293, East (0 degrees), lengths 20, 40, 100
43 - 45                293, North (90 deg.),  lengths 20, 40, 100
46 - 48                293, South (270 deg.), lengths 20, 40, 100
49 - 51                293, West (180 deg.),  lengths 20, 40, 100
---------------------------------------------------------------------------

The new linedefs are as follows:

293  Ext     --   Heretic wind in line direction with push magnitude proportional
                  to line length.
              
294  Ext     --   Heretic current in line direction with push magnitude proportional
                  to line length.