Editing UDMF

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 30: Line 30:
  linedef
  linedef
  {
  {
  blocklandmonsters = <boolean>;
  blockplayers = <boolean>;
   polycross = <boolean>;
   polycross = <boolean>;
   monstershoot = <boolean>;
   monstershoot = <boolean>;
Line 52: Line 49:
  }
  }
===Explanation of fields===
===Explanation of fields===
*'''blocklandmonsters'''
:If true, linedef blocks walking monsters but allows fliers to pass. Players can pass anyway.
*'''blockplayers'''
:If true, linedef blocks players but allows monsters and projectiles to pass.
*'''polycross'''
*'''polycross'''
:If true, linedef is activated when a polyobject's center point crosses it.
:If true, linedef is activated when a polyobject's center point crosses it.
Line 84: Line 77:


==Sidedefs==
==Sidedefs==
sidedef
No new fields are in Eternity, but '''offsetx''' and '''offsety''' now work as floating-point, instead of integer.
{
  offsetx = <floating-point>;
  offsety = <floating-point>;
  offsetx_top = <floating-point>;
  offsety_top = <floating-point>;
  offsetx_mid = <floating-point>;
  offsety_mid = <floating-point>;
  offsetx_bottom = <floating-point>;
  offsety_bottom = <floating-point>;
  light = <integer>;
  lightabsolute = <boolean>;
  light_top = <integer>;
  lightabsolute_top = <boolean>;
  light_mid = <integer>;
  lightabsolute_mid = <boolean>;
  light_bottom = <integer>;
  lightabsolute_bottom = <boolean>;
  skew_top_type = <string>;
  skew_middle_type = <string>;
  skew_bottom_type = <string>;
}
 
===Explanation of fields===
*'''offsetx''', '''offsety'''
:Overall horizontal and vertical offsets for the top, middle, and bottom textures of this sidedef.
*'''offsetx_top''', '''offsety_top''', '''offsetx_mid''', '''offsety_mid''', '''offsetx_bottom''', '''offsety_bottom'''
:Horizontal and vertical offsets for the individual top, middle, and bottom portions of this sidedef.
*'''light''', '''light_top''', '''light_mid''', '''light_bottom''', '''lightabsolute''', '''lightabsolute_top''', '''lightabsolute_mid''', '''lightabsolute_bottom'''
:Brightness for the whole, and the individual top, middle, and bottom portions of this sidedef. By default the values are additive to the inherited brightness. If the "absolute" properties are set to "true" the values are not additive anymore, but absolute.
*'''skew_top_type''', '''skew_bottom_type''', '''skew_middle_type'''
:The type of skewing that the a given texture of this sidedef has. This skew starts at the left side of the sidedef (if viewing the sidedef straight-on) and conforms to either the slope on the front or back side of the line the sidedef is on. Either the floor or ceiling slope can be picked as the slope for the skewing to conform to. Values are "none", "front_floor", "front_ceiling", "back_floor", and "back_ceiling", with "none" being the default.


==Vertices==
==Vertices==
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)