Editing EDF state reference

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 1: Line 1:
The Frame EDF block allows definition of each individual actor frame in Eternity, independent from the thing types. Frames are commonly referred to by name in the [[thingtype]] definitions. Their data structure resembles the Dehacked "Frame" block, but is expanded upon, and uses different keywords.
The Frame EDF block allows definition of each individual actor frame in Eternity, independent from the thing types. Frames are commonly referred to by name in the [[thingtype]] definitions. Their data structure resembles the Dehacked "Frame" block, but is expanded upon, and uses different keywords.
NOTE: most of the time you'll want to use the [[DECORATE state syntax]] right inside the [[thingtype]] definition. It is more concise than the classic frame definition described here. In any case, this information is still useful if you want to use '''framedelta''' or provide compatibility with Dehacked (even though this can also be ensured by using '''firstdecoratestate''' in the thing type definition).
{{see|List of codepointers}}
{{see|List of codepointers}}
{{see|DECORATE state syntax}}
{{see|DECORATE state syntax}}
Line 73: Line 71:
:Default: 0
:Default: 0
:This is the first argument, used by certain [[list of codepointers|codepointers]] which were inherited from MBF, see their enumeration above.
:This is the first argument, used by certain [[list of codepointers|codepointers]] which were inherited from MBF, see their enumeration above.
:It is also used for weapon sprites to offset their graphics relative to center horizontally. Positive means to the right
*'''misc2'''
*'''misc2'''
:Default: 0
:Default: 0
:This is the second argument used by some MBF inherited codepointers.
:This is the second argument used by some MBF inherited codepointers.
:It is also used for weapon sprites to offset their graphics relative to center vertically. Be careful that the origin is 32 and greater values mean downwards.
*'''particle_event'''
*'''particle_event'''
:Default: pevt_none
:Default: pevt_none
Line 93: Line 89:
*'''+skill5fast'''
*'''+skill5fast'''
:If added, will make the state take half '''tics''' on skill 5 and fast mode. Used by the demon in Doom. Note that on Heretic the faster [[Chase]] state behaviour is different and not influenced by this.
:If added, will make the state take half '''tics''' on skill 5 and fast mode. Used by the demon in Doom. Note that on Heretic the faster [[Chase]] state behaviour is different and not influenced by this.
*'''+interpolate'''
:This flag only has meaning for weapon state if '''misc1''' and '''misc2''' are nonzero. These two fields will change the weapon sprite offset and by default that will happen without visual interpolation. If this flag is set, interpolation will be enabled even for this case.
*'''dehackednum'''
*'''dehackednum'''
:Default: -1
:Default: -1
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)

Templates used on this page: