Editing UDMF
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 6: | Line 6: | ||
Maps designed in UDMF no longer need ExtraData. | Maps designed in UDMF no longer need ExtraData. | ||
==Basics== | ==Basics== | ||
Line 30: | Line 26: | ||
linedef | linedef | ||
{ | { | ||
polycross = <boolean>; | polycross = <boolean>; | ||
midtex3d = <boolean>; | midtex3d = <boolean>; | ||
Line 47: | Line 39: | ||
portal = <integer>; | portal = <integer>; | ||
alpha = <floating-point>; | alpha = <floating-point>; | ||
renderstyle = <string>; | renderstyle = <string>; | ||
tranmap = <string>; | tranmap = <string>; | ||
} | } | ||
===Explanation of fields=== | ===Explanation of fields=== | ||
*'''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. | ||
*'''midtex3d''' | *'''midtex3d''' | ||
:If true, this linedef's middle texture uses [[3DMidTex_tutorial|3dmidtex]] physics. | :If true, this linedef's middle texture uses [[3DMidTex_tutorial|3dmidtex]] physics. | ||
Line 81: | Line 67: | ||
:Either "translucent" or "add". Default is "". | :Either "translucent" or "add". Default is "". | ||
*'''tranmap''' | *'''tranmap''' | ||
:Boom | :Boom translucency map. Mutually exclusive with alpha and renderstyle. | ||
==Sidedefs== | ==Sidedefs== | ||
No new fields are in Eternity, but '''offsetx''' and '''offsety''' now work as floating-point, instead of integer. | |||
==Vertices== | ==Vertices== | ||
Line 157: | Line 110: | ||
lightfloorabsolute = <boolean>; | lightfloorabsolute = <boolean>; | ||
lightceilingabsolute = <boolean>; | lightceilingabsolute = <boolean>; | ||
colormaptop = <string>; | colormaptop = <string>; | ||
Line 171: | Line 120: | ||
scroll_floor_x = <floating-point>; | scroll_floor_x = <floating-point>; | ||
scroll_floor_y = <floating-point>; | scroll_floor_y = <floating-point>; | ||
scroll_floot_type = <string>; | |||
floorid = <integer>; | floorid = <integer>; | ||
Line 228: | Line 177: | ||
:If true, then each damage hit will produce a splash, like the Heretic lava. | :If true, then each damage hit will produce a splash, like the Heretic lava. | ||
*'''damagetype''' (default: "Unknown") | *'''damagetype''' (default: "Unknown") | ||
:The [[damagetype|damage type]] of the floor | :The [[damagetype|damage type]] of the floor. | ||
*'''floorterrain''' (default: "@flat") | *'''floorterrain''' (default: "@flat") | ||
:The [[terrain]] effect of the floor. | :The [[terrain]] effect of the floor. | ||
Line 237: | Line 186: | ||
*'''lightfloorabsolute''', '''lightceilingabsolute''' | *'''lightfloorabsolute''', '''lightceilingabsolute''' | ||
:If true, then '''lightfloor''' or '''lightceiling''' just overrides the light. | :If true, then '''lightfloor''' or '''lightceiling''' just overrides the light. | ||
*'''colormaptop''', '''colormapmid''', '''colormapbottom''' (default: "@default") | *'''colormaptop''', '''colormapmid''', '''colormapbottom''' (default: "@default") | ||
:The colormap to set for the top, normal or bottom part of a Boom sector with fake flats. Or for any normal part, if it's '''colormapmid'''. Use a lump from between '''C_START''' and '''C_END'''. "WATERMAP" and "LAVAMAP" are provided by Eternity. | :The colormap to set for the top, normal or bottom part of a Boom sector with fake flats. Or for any normal part, if it's '''colormapmid'''. Use a lump from between '''C_START''' and '''C_END'''. "WATERMAP" and "LAVAMAP" are provided by Eternity. | ||
Line 254: | Line 197: | ||
:Makes the floor or ceiling of this sector move whenever sectors with '''floorid''' or '''ceilingid''' with the same number move their respective surfaces. If you want this sector's floor or ceiling to move in opposite direction, use the negative value. | :Makes the floor or ceiling of this sector move whenever sectors with '''floorid''' or '''ceilingid''' with the same number move their respective surfaces. If you want this sector's floor or ceiling to move in opposite direction, use the negative value. | ||
*'''soundsequence''' | *'''soundsequence''' | ||
:Name of the [[soundsequence]] to use for the movement of this sector | :Name of the [[soundsequence]] to use for the movement of this sector. | ||
*'''portalfloor''', '''portalceiling''' | *'''portalfloor''', '''portalceiling''' | ||
:Portal ID to use on the floor or ceiling of this sector, using the same value as the one set in [[Portal_Define]]. For two-way portals, use the negative number for the opposite portal (i.e. one way uses portal ''n'', and the other way uses -''n''). | :Portal ID to use on the floor or ceiling of this sector, using the same value as the one set in [[Portal_Define]]. For two-way portals, use the negative number for the opposite portal (i.e. one way uses portal ''n'', and the other way uses -''n''). |