Editing
ANIMDEFS
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!
Eternity supports the ANIMDEFS lump inherited from Hexen and extended by GZDoom. Not all GZDoom features are available yet, though, but enough to improve cross-port mod compatibility. As in GZDoom, ANIMDEFS defines both animations and switches. ANIMDEFS in Eternity is meant only for compatibility with other ports; if you want to target only Eternity, use [[EDF]] instead. All features available in ANIMDEFS are possible in EDF. Example of feature not available in ANIMDEFS but available in EDF: animated warping textures, or animations which only warp at certain textures ==Syntax== ===Animation definition=== flat <name> pic <name or offset> tics <duration> pic <name or offset> rand <min duration> <max duration> texture <name> pic <name or offset> tics <duration> pic <name or offset> rand <min duration> <max duration> flat <name> range <name> tics <duration> texture <name> range <name> tics <duration> warp flat <name> warp texture <name> warp2 flat <name> warp2 texture <name> '''warp''' and '''warp2''' are currently identical, but may change if extra compatibility with GZDoom is added. To be sure of the effect, use EDF instead. The [[SMMU]]-based swirl effect in Eternity is defined as '''warp2''' in GZDoom. ===Switch definition=== switch <name> on pic <name> tics 0 [sound <name>] [off [pic <name> tics 0] [sound <name>]] Currently multi-frame switches aren't supported, but the GZDoom-based syntax requires '''tics''' to be present whenever a '''pic''' is set, that's why it has '''tics''' 0.
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