EDF thing reference
From Eternity Wiki
Jump to navigation
Jump to search
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
fill this in!
====ID / Type Info==== *'''doomednum''' :Default = -1 :The identification number, which makes this actor type placeable in maps. Zombieman monsters for example have '''doomednum''' 3004. Objects which don't need to be placed on the map can have '''doomednum''' -1. For EDF, recommended numbers are in the ranges 3000-3999 and 20000 up. Other numbers may be used by future versions of Eternity, so they're not safe to use. :NOTE: you can just use the first number following the inherited class, in the title. Just remember to start the script with <code>setdialect("alfheim")</code>. *'''dehackednum''' :Default = -1 :Fake array index number, for Dehacked patch (BEX or DEH file) compatibility. It has to be an unique number if not -1. Safe numbers are from 10000 up. :NOTE: you can use the second number following the inherited class in the title. For this, you also need <code>setdialect("alfheim")</code>. *'''inherits''' :Default = (nothing) :Sets the thing type from which this will copy properties. All of the properties except '''dehackednum''' will be copied from the base actor type. :NOTE: you can use the class in the title properties after the colon, instead of '''inherits''' in the '''thingtype''' body. You also need <code>setdialect("alfheim")</code>. *'''compatname''' :Default = (nothing) :Sets a "compatible name" useful for [[ACS]] scripts copied from GZDoom mods or for cross-port usage. Typically the need for this is because of ACS scripts assuming thingtype names from GZDoom, and in the base Eternity definitions, '''compatname''' is set to names which GZDoom uses for its thingtypes. :Setting this flag is not needed and shouldn't be done in mods. *'''basictype''' :Default = (nothing) :'''Basictype''' is a list of common flags used in Doom and derived games. Using '''basictype''' instead of setting individual flags is encouraged, in order to keep up with Eternity engine updates. Other flags may be subsequently added or removed with '''addflags''' or '''remflags'''. See the [[Thing type flags]] page for a full list. The '''basictype''' mnemonics follow: :*''Monster'' ::An ordinary walking monster with no fancy features. ::'''cflags''' "SOLID+SHOOTABLE+COUNTKILL+FOOTCLIP+SPACMONSTER+PASSMOBJ" :*''FlyingMonster'' ::An ordinary flying monster. ::'''cflags''' "SOLID+SHOOTABLE+COUNTKILL+NOGRAVITY+FLOAT+SPACMONSTER+PASSMOBJ" :*''FriendlyHelper'' ::A player helper with maximum friendliness options. ::'''cflags''' "SOLID+SHOOTABLE+COUNTKILL+FRIEND+JUMPDOWN+FOOTCLIP+WINDTHRUST+SUPERFRIEND+SPACMONSTER+PASSMOBJ" :*''Projectile'' ::A standard projectile. ::'''cflags''' "NOBLOCKMAP+NOGRAVITY+DROPOFF+MISSILE+NOCROSS" :*''PlayerProjectile'' ::A projectile for use by players. ::'''cflags''' "NOBLOCKMAP+NOGRAVITY+DROPOFF+MISSILE+NOCROSS+SPACMISSILE" :*''Seeker'' ::A missile prepared to be fired by homing missile codepointers. ::'''cflags''' "NOBLOCKMAP+NOGRAVITY+DROPOFF+MISSILE+NOCROSS+SEEKERMISSILE" :*''SolidDecor'' ::A solid decorative item. ::'''cflags''' SOLID :*''HangingDecor'' ::A hanging decorative item that is passable even without 3D object clipping. ::'''cflags''' "SPAWNCEILING+NOGRAVITY" :*''SolidHangingDecor'' ::A solid hanging decorative item. ::'''cflags''' "SOLID+SPAWNCEILING+NOGRAVITY" :*''ShootableDecor'' ::A shootable decorative item. ::'''cflags''' "SOLID+SHOOTABLE+NOBLOOD" :*''Fog'' ::A fog item such as telefog or item fog. ::'''cflags''' "NOBLOCKMAP+NOGRAVITY+TRANSLUCENT+NOSPLASH" :*''Item'' ::A collectable item. Doesn't count towards the item score. ::'''cflags''' SPECIAL :*''ItemCount'' ::A collectable item. Counts for item score. ::'''cflags''' "SPECIAL+COUNTITEM" :*''TerrainBase'' ::A TerrainTypes base item. ::'''cflags''' "NOBLOCKMAP+NOGRAVITY+NOSPLASH" :*''TerrainChunk'' ::A TerrainTypes chunk item. ::'''cflags''' "NOBLOCKMAP+DROPOFF+MISSILE+LOGRAV+NOSPLASH+NOCROSS+CANNOTPUSH" :*''ControlPoint'' ::An inert control point. ::'''cflags''' "NOBLOCKMAP+NOSECTOR+NOGRAVITY" ::'''spawnstate''' S_TNT1 :*''ControlPointGrav'' ::An control point that is subject to gravity. Because of this, it's not considered inert. ::'''cflags''' "DONTDRAW+NOSPLASH" ::'''spawnstate''' S_TNT1
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
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!
(opens in new window)
Retrieved from "
Not logged in
Help about MediaWiki
What links here
About Eternity Wiki