Editing
EDF terrain reference
(section)
From Eternity Wiki
Jump to navigation
Jump 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.
Anti-spam check. Do
not
fill this in!
==Floor Objects== Floor objects associate a terrain with a flat graphic. All fields in the floor block are optional, and as usual, order is irrelevant. Floor objects are precisely equivalent to entries in the old, obsolete binary TERTYPES lump, and in fact, TERTYPES is still supported for legacy projects, and will be used to generate additional floor objects if it is found. See the TERTYPES Lump Processing section below for more information. Multiple floor objects may associate the same flat with different terrains. The last such definition encountered will determine what terrain the flat uses. ===Syntax=== floor { flat <string> terrain <terrain mnemonic> } ===Explanation of Fields=== *'''flat''' :Default = "none" :This field determines the flat to which this floor object's terrain is applied. If a terrain has already been applied to this flat, the terrain specified in this object will override the previous definition. This field need not refer to a valid flat name. No error will occur if the flat specified does not exist; this object will simply have no effect. However, the string specified in this field must be no longer than eight characters or an error will occur. *'''terrain''' :Default = Solid :This field specifies the mnemonic of the terrain to associate with the flat named in this floor object. As mentioned in the terrain section above, the default Solid terrain type is defined by the game engine. By default, all floors are associated with the Solid terrain. The terrain mnemonic need not be a valid terrain. If it is invalid, a warning will be issued to the verbose EDF log file and the floor object will be modified to use the Solid terrain object. ===Full Example=== // A couple of the floor objects defined for DOOM in terrain.edf: floor { flat FWATER1; terrain Water } floor { flat LAVA1; terrain Lava }
Summary:
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)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information