Editing
EDF animation
(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!
===Hexen animations=== ====Syntax==== animation { // One of the following: flat <name> wall <name> // Optional flags for this animation flags <flags> // List of "pic" entries pic { name <name or number> tics <number> random <min>, <max> flags <flags> } pic { name <name or number> tics <number> random <min>, <max> flags <flags> } } ====Explanation==== For Hexen animations, '''flat''' or '''wall''' is still required, having the same role as in Doom animations. The actual animation however is defined by the several '''pic''' entries. Defining '''flat''' or '''wall''' is required because, unlike Doom animations which always define ranges, Hexen animations require the exact '''flat''' or '''wall''' texture to be applied in the map editor for the sector or sidedef to animate. Each '''pic''' has a '''name''', which can be the exact texture name, or a number like in vanilla Hexen's ANIMDEFS, starting from 1 and counting each neighbouring texture. The time it takes can be expressed exactly in '''tics''' (default 8) or as a random range using '''random'''. '''Flags''' is also supported for Hexen animations and once again it can only be '''SWIRL''' if specified. It can be applied globally to the animation or locally per '''pic'''. ====Examples==== animation // Water with random duration frames { flat WATER1 pic { name WATER1 random 4, 8 } pic { name WATER2 random 4, 8 } pic { name WATER3 random 4, 8 } } animation // A demon eye that stays shut most of the time, then opens and then has the swirl effect. { wall DEMONIC // the wall or flat definition can be unrelated to the first pic. It won't show in-game though, // but in the map editor the texture will have to be DEMONIC. pic { name EYECLOSE tics 150 } pic { name EYEOPEN1 random 20, 30 } pic { name EYEOPEN2 random 15, 35 } pic { name EYEHYPNO tics 105 flags SWIRL } pic { name EYEOPEN1 } // default tics is 8 } animation // This uses the number notation. MAGMA1 may be followed by MAGMA2 in the texture list. { flat MAGMA1 pic { name 1 } pic { name 2 } } [[category:EDF]]
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