Editing List of codepointers

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:
This '''list of codepointers''' is a list of all the action routines which can be performed by [[thingtype|things]] from [[EDF]] [[frame]]s. They are common for all games, so for example Heretic codepointers can be used in Doom.
This '''list of codepointers''' is a list of all the action routines which can be used in [[EDF]] [[frame]]s. They are common for all games, so for example Heretic codepointers can be used in Doom.


You can specify the codepointers with or without their internal A_ prefix, even inside [[DECORATE state syntax]]. For simplicity, they will be referred in this wiki without the prefix.
You can specify the codepointers with or without their internal A_ prefix, even inside [[DECORATE state syntax]]. For simplicity, they will be referred in this wiki without the prefix.


Note that some codepointers, inherited from MBF, use the '''misc1''' and '''misc2''' frame properties, instead of the more general '''args''' list. Side effects aside, this also means that in the DECORATE syntax they will have to use the '''offset'''(''misc1'', ''misc2'') specifier. They all have DECORATE-friendly equivalents however.
Note that some codepointers, inherited from MBF, use the '''misc1''' and '''misc2''' frame properties, instead of the more general '''args''' list. Side effects aside, this also means that they will not be usable in the DECORATE syntax, but they all have DECORATE-compatible equivalents.


'''IMPORTANT:''' Do not provide more nonzero arguments to the codepointers than specified in the reference. Doing so may break forward compatibility with versions of Eternity that implement new functionality to codepointers.
'''IMPORTANT:''' Do not provide more nonzero arguments to the codepointers than specified in the reference. Doing so may break forward compatibility with versions of Eternity that implement new functionality to codepointers.
Line 11: Line 11:


==Player guns==
==Player guns==
===Weapon maintenance===
===Attacks===
====Parameterized====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[CheckReload]]||Super shotgun reload check.||Doom 2
||[[CustomPlayerMelee]]||Configurable player melee attack.||Eternity
|-
|-
||[[CheckReloadEx]]||Extended version of [[CheckReload]] that allows counter comparison.||Eternity
||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity
|-
|-
||[[GunFlash]]||Produces a gun flash sprite without firing anything at the current moment.||Doom
||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity
|-
|-
||[[JumpIfNoAmmo]]||Jumps to a state if ammo is gone.||ZDoom
||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity
|-
||[[Light0]]||Resets the gun flash light level.||Doom
|-
||[[Light1]]||Sets the gun flash light level to 1.||Doom
|-
||[[Light2]]||Sets the gun flash light level to 2.||Doom
|-
||[[Lower]]||Action during a weapon's lowering sequence.||Doom
|-
||[[Raise]]||Action during a weapon's raise sequence.||Doom
|-
||[[ReFire]]||Skip frame if shooting is sustained (e.g. for plasma rifle's cooldown effect).||Doom
|-
||[[SubtractAmmo]]||Consumes one ammo unit without firing.||Eternity
|-
||[[WeaponReady]]||Action during a weapon's idle sequence.||Doom
|}
|}


===Player attacks===
====Classic====
====Classic Doom====
These exist to support the vanilla Doom player attacks.
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! Specifics
! Origin
! First game it appeared
|-
||[[BFGsound]]||Plays the BFG charge-up sound effect.||BFG||Doom
|-
|-
||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Super shotgun||Doom 2
||[[FireBFG]]||BFG9000 attack.||Doom
|-
|-
||[[FireBFG]]||BFG9000 attack.||BFG||Doom
||[[FireCGun]]||Chaingun attack.||Doom
|-
|-
||[[FireCGun]]||Chaingun attack.||||Doom
||[[FireMissile]]||Rocket launcher attack.||Doom
|-
|-
||[[FireMissile]]||Rocket launcher attack.||||Doom
||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||Doom
|-
|-
||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||||Doom
||[[FirePistol]]||Pistol attack.||Doom
|-
|-
||[[FirePistol]]||Pistol attack.||||Doom
||[[FirePlasma]]||Plasma rifle attack.||Doom
|-
|-
||[[FirePlasma]]||Plasma rifle attack.||||Doom
||[[FireShotgun]]||Shotgun attack.||Doom
|-
|-
||[[FireShotgun]]||Shotgun attack.||||Doom
||[[FireShotgun2]]||Super shotgun attack.||Doom 2
|-
|-
||[[FireShotgun2]]||Super shotgun attack.||Super shotgun||Doom 2
||[[Punch]]||Fist attack.||Doom
|-
|-
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Super shotgun||Doom 2
||[[Saw]]||Chainsaw attack.||Doom
|-
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Super shotgun||Doom 2
|-
||[[Punch]]||Fist attack.||||Doom
|-
||[[Saw]]||Chainsaw attack.||||Doom
|}
|}
====Classic Heretic====
 
These exist to support the vanilla Doom and Heretic player attacks.
===Control===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[FireBlasterPL1]]||Dragon claw attack.||Heretic
||[[CheckReload]]||Super shotgun reload check.||Doom 2
|-
|-
||[[FireCrossbowPL1]]||Ethereal crossbow attack.||Heretic
||[[CheckReloadEx]]||Extended version of [[CheckReload]] that allows counter comparison.||Eternity
|-
|-
||[[FireCrossbowPL2]]||Ethereal crossbow attack with Tome of Power.||Heretic
||[[JumpIfNoAmmo]]||Jumps to a state if ammo is gone.||ZDoom
|-
|-
||[[FireGoldWandPL1]]||Elven wand attack.||Heretic
||[[Lower]]||Action during a weapon's lowering sequence.||Doom
|-
|-
||[[FireGoldWandPL2]]||Elven wand attack with Tome of Power.||Heretic
||[[Raise]]||Action during a weapon's raise sequence.||Doom
|-
|-
||[[FireMacePL1]]||Fire mace attack.||Heretic
||[[ReFire]]||Skip frame if shooting is sustained (e.g. for plasma rifle's cooldown effect).||Doom
|-
|-
||[[FireMacePL2]]||Fire mace attack with Tome of Power.||Heretic
||[[WeaponReady]]||Action during a weapon's idle sequence.||Doom
|}
 
===Other===
{|class="wikitable sortable"
! Name
! Description
! Origin
|-
|-
||[[FirePhoenixPL1]]||[[Doom Wiki:Phoenix Rod|Phoenix Rod]] attack.||Heretic
||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity
|}
 
===Muzzle flash effects===
{|class="wikitable sortable"
! Name
! Description
! Origin
|-
|-
||[[FirePhoenixPL2]]||Phoenix rod attack with Tome of Power.||Heretic
||[[GunFlash]]||Produces a gun flash sprite without firing anything at the current moment.||Doom
|-
|-
||[[FireSkullRodPL1]]||[[Doom Wiki:Hellstaff|Hellstaff]] attack.||Heretic
||[[Light0]]||Resets the gun flash light level.||Doom
|-
|-
||[[GauntletAttack]]||Gauntlets of the Necromancer attack.||Heretic
||[[Light1]]||Sets the gun flash light level to 1.||Doom
|-
|-
||[[InitPhoenixPL2]]||Heretic Tome of Power Phoenix Rod startup.||Heretic
||[[Light2]]||Sets the gun flash light level to 2.||Doom
|}
|}


====Parameterized====
===DOOM gun sound effects===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[CustomPlayerMelee]]||Configurable player melee attack.||Eternity
||[[BFGSound]]||Plays the BFG charge-up sound effect.||Doom
|-
|-
||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity
||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Doom 2
|-
|-
||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Doom 2
|-
|-
||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Doom 2
|-
||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity
|}
|}


===Weapon frame scripting===
===Frame scripting===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity
||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity
Line 152: Line 140:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[Face]]||Face a specified angle.||MBF
||[[Face]]||Face a specified angle.||MBF
Line 166: Line 154:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU
Line 181: Line 169:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2
Line 194: Line 182:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[Detonate]]||Thing damage controlled explosion.||MBF
|-
|-
||[[DetonateEx]]||Parameterized detonate action.||Eternity
||[[Detonate]]||Thing damage controlled explosion.
|-
|-
||[[Explode]]||Rocket/barrel splash damage.||Doom
||[[DetonateEx]]||Parameterized detonate action.
|-
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF
|-
||[[MushroomEx]]||Extended mushroom explosion codepointer.||Eternity
|-
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU
|}
=====Heretic=====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[DeathBallImpact]]||Heretic super firemace sphere impact.||Heretic
||[[Explode]]||Rocket/barrel splash damage.
|-
|-
||[[HticExplode]]||Heretic-compatible explosion.||Heretic
||[[HticExplode]]||Heretic-compatible explosion.
|-
|-
||[[MaceBallImpact]]||Heretic small firemace sphere impact.||Heretic
||[[Mushroom]]||[[MBF]]-style mushroom explosion.
|-
|-
||[[MaceBallImpact2]]||Heretic medium firemace sphere impact.||Heretic
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.
|}
|}
====Homing projectiles====
====Homing projectiles====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[GenTracer]]||Generic homing projectile.||Eternity
||[[GenTracer]]||Generic homing projectile.
|-
|-
||[[HticTracer]]||Heretic nitrogolem homing projectile (generalized).||Heretic
||[[HticTracer]]||Heretic nitrogolem homing projectile.
|-
|-
||[[MummyFX1Seek]]||Heretic nitrogolem homing projectile (particular).||Heretic
||[[Tracer]]||Revenant homing projectile.
|-
||[[Tracer]]||Revenant homing projectile.||Doom 2
|}
|}
====Others====
====Others====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[Fire]]||Stick on the face of attacker's target, like the archvile's fire effect.||Doom 2
||[[Fire]]||Stick on the face of attacker's target, like the archvile's fire effect.
|}
|}
=====Heretic specific=====
=====Heretic specific=====
Line 250: Line 217:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[FlameEnd]]||Phoenix rod flame rising.||Heretic
|-
||[[FloatPuff]]||Phoenix rod flame hitting wall.||Heretic
|-
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic
|-
||[[BoltSpark]]||Ethereal arrow trail.||Heretic
|-
|-
||[[BlueSpark]]||Create a blue D'sparil attack projectile.||Heretic
||[[BeastPuff]]||Weredragon fire projectile smoke.
|-
|-
||[[GenWizard]]||Spawn a disciple of D'sparil.||Heretic
||[[BlueSpark]]||Create a blue D'sparil attack projectile.
|-
|-
||[[LichFireGrow]]||Expand the iron lich fire column projectile.||Heretic
||[[GenWizard]]||Spawn a disciple of D'sparil.
|-
|-
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic
||[[LichFireGrow]]||Expand the iron lich fire column projectile.
|-
|-
||[[MacePL1Check]]||Small Heretic mace sphere maintenance.||Heretic
||[[LichIceImpact]]||Explode iron lich ice globe into shards.
|-
|-
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.
|-
|-
||[[PhoenixPuff]]||Phoenix rod missile trail.||Heretic
||[[PhoenixPuff]]||Phoenix rod missile trail.
|-
|-
||[[PodPain]]||Special effect when pod is damaged.||Heretic
||[[PodPain]]||Special effect when pod is damaged.
|-
|-
||[[VolcBallImpact]]||Heretic volcano lava ball impact.||Heretic
||[[VolcBallImpact]]||Heretic volcano lava ball impact.
|-
|-
||[[WhirlwindSeek]]||Homing behaviour used by iron lich tornado projectiles.||Heretic
||[[WhirlwindSeek]]||Homing behaviour used by iron lich tornado projectiles.
|}
|}


Line 285: Line 243:
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom
||[[AlertMonsters]]||Shout so other monsters chase the player.
|-
|-
||[[Chase]]||Pursue a target and check for attacks||Doom
||[[Chase]]||Pursue a target and check for attacks
|-
|-
||[[CPosRefire]]||Go to '''seestate''' if target is out of sight.||Doom 2
||[[CPosRefire]]||Go to '''seestate''' if target is out of sight.
|-
|-
||[[FaceTarget]]||Turn to target, looking around it if it's partially invisible.||Doom
||[[FaceTarget]]||Turn to target, looking around it if it's partially invisible.
|-
|-
||[[GenRefire]]||Customizable refire control.||Eternity
||[[GenRefire]]||Customizable refire control.
|-
|-
||[[KeepChasing]]||pursue target without attacking.||Eternity
||[[KeepChasing]]||pursue target without attacking.
|-
|-
||[[Look]]||Stand in guard, looking for targets.||Doom
||[[Look]]||Stand in guard, looking for targets.
|-
|-
||[[RandomWalk]]||Random wandering for inactive enemies.||Eternity
||[[RandomWalk]]||Random wandering for inactive enemies.
|-
|-
||[[Sor1Chase]]||D'sparil's mount specific chase.||Heretic
||[[Sor1Chase]]||D'sparil's mount specific chase.
|-
|-
||[[Sor1Pain]]||D'sparil's mount specific twitch. Calls Pain.||Heretic
||[[Sor1Pain]]||D'sparil's mount specific twitch. Calls Pain.
|-
|-
||[[SpidRefire]]||Like CPosRefire, slightly modified.||Doom
||[[SpidRefire]]||Like CPosRefire, slightly modified.
|-
|-
||[[VileChase]]||Same as Chase, but resurrects encountered cadavres.||Doom 2
||[[VileChase]]||Same as Chase, but resurrects encountered cadavres.
|}
|}


Line 317: Line 274:
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[BetaSkullAttack]]||Remote melee attack, as used by the Doom alpha lost souls (available since [[MBF]]).||MBF beta emulation
||[[BetaSkullAttack]]||Remote melee attack, as used by the Doom alpha lost souls (available since [[MBF]]).
|-
|-
||[[BulletAttack]]||Generic bullet (hitscan) shooting.||Eternity
||[[BulletAttack]]||Generic bullet (hitscan) shooting.
|-
|-
||[[MissileAttack]]||Generic projectile shooting.||Eternity
||[[MissileAttack]]||Generic projectile shooting.
|-
|-
||[[MissileSpread]]||'''MissileAttack''' variation, supports shooting in spread patterns.||Eternity
||[[MissileSpread]]||'''MissileAttack''' variation, supports shooting in spread patterns.
|-
|-
||[[SargAttack12]]||Old Doom 1.2 style monster melee attack which uses hitscan similar to player's fist.||Doom v1.2
||[[SargAttack12]]||Old Doom 1.2 style monster melee attack which uses hitscan similar to player's fist.
|-
|-
||[[Scratch]]||Generic melee attack.||MBF
||[[Scratch]]||Generic melee attack.
|-
|-
||[[ThingSummon]]||Generic creature summoning.||Eternity
||[[ThingSummon]]||Generic creature summoning.
|}
|}


Line 338: Line 294:
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[BrainSpit]]||cube spawn||Doom 2
||[[BrainSpit]]||cube spawn
|-
|-
||[[BruisAttack]]||baron/knight of hell||Doom
||[[BruisAttack]]||baron/knight of hell
|-
|-
||[[BspiAttack]]||arachnotron||Doom 2
||[[BspiAttack]]||arachnotron
|-
|-
||[[CPosAttack]]||pistol attack w/ shotgn noise||Doom 2
||[[CPosAttack]]||pistol attack w/ shotgn noise
|-
|-
||[[CyberAttack]]||rocket launching||Doom
||[[CyberAttack]]||rocket launching
|-
|-
||[[FatAttack1]]||mancubus left attack||Doom 2
||[[FatAttack1]]||mancubus left attack
|-
|-
||[[FatAttack2]]||mancubus right attack||Doom 2
||[[FatAttack2]]||mancubus right attack
|-
|-
||[[FatAttack3]]||mancubus front attack||Doom 2
||[[FatAttack3]]||mancubus front attack
|-
|-
||[[HeadAttack]]||cacodemon||Doom
||[[HeadAttack]]||cacodemon
|-
|-
||[[PainAttack]]||elemental||Doom 2
||[[PainAttack]]||elemental
|-
|-
||[[PainDie]]||elemental death (3 souls)||Doom 2
||[[PainDie]]||elemental death (3 souls)
|-
|-
||[[PosAttack]]||former human||Doom
||[[PosAttack]]||former human
|-
|-
||[[SargAttack]]||demon bite||Doom
||[[SargAttack]]||demon bite
|-
|-
||[[SkelFist]]||revenant punch||Doom 2
||[[SkelFist]]||revenant punch
|-
|-
||[[SkelMissile]]||revenant missile||Doom 2
||[[SkelMissile]]||revenant missile
|-
|-
||[[SkullAttack]]||flying skull||Doom
||[[SkullAttack]]||flying skull
|-
|-
||[[SPosAttack]]||sergeant||Doom
||[[SPosAttack]]||sergeant
|-
|-
||[[TroopAttack]]||imp||Doom
||[[TroopAttack]]||imp
|-
|-
||[[VileAttack]]||arch vile toss||Doom 2
||[[VileAttack]]||arch vile toss
|-
|-
||[[VileTarget]]||spawn a vile fire effect on target||Doom 2
||[[VileTarget]]||spawn a vile fire effect on target
|}
|}
====Heretic====
====Heretic====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
|-
|-
||[[BeastAttack]]||weredragon||Heretic
||[[BeastAttack]]||weredragon
|-
|-
||[[ClinkAttack]]||sabreclaw||Heretic
||[[ClinkAttack]]||sabre
|-
|-
||[[ImpChargeAtk]]||gargoyle charge||Heretic
||[[ImpChargeAtk]]||gargoyle charge
|-
|-
||[[ImpMeleeAtk]]||gargoyle scratch||Heretic
||[[ImpMeleeAtk]]||gargoyle scratch
|-
|-
||[[ImpMissileAtk]]||gargoyle fire||Heretic
||[[ImpMissileAtk]]||gargoyle fire
|-
|-
||[[KnightAttack]]||undead warrior||Heretic
||[[KnightAttack]]||undead warrior
|-
|-
||[[LichAttack]]||iron lich random attack **only one which includes ice globes**||Heretic
||[[LichAttack]]||iron lich random attack **only one which includes ice globes**
|-
|-
||[[LichFire]]||iron lich fire column||Heretic
||[[LichFire]]||iron lich fire column
|-
|-
||[[LichWhirlwind]]||iron lich tornado||Heretic
||[[LichWhirlwind]]||iron lich tornado
|-
|-
||[[MinotaurAtk1]]||maulotaur melee damage||Heretic
||[[MinotaurAtk1]]||maulotaur melee damage
|-
|-
||[[MinotaurAtk2]]||spreadshot||Heretic
||[[MinotaurAtk2]]||spreadshot
|-
|-
||[[MinotaurAtk3]]||straight flame snake||Heretic
||[[MinotaurAtk3]]||straight flame snake
|-
|-
||[[MinotaurCharge]]||maulotaur charge||Heretic
||[[MinotaurCharge]]||maulotaur charge
|-
|-
||[[MinotaurDecide]]||maulotaur ranged attack choosing||Heretic
||[[MinotaurDecide]]||maulotaur ranged attack choosing
|-
|-
||[[MummyAttack]]||golem melee||Heretic
||[[MummyAttack]]||golem melee
|-
|-
||[[MummyAttack2]]||nitrogolem range||Heretic
||[[MummyAttack2]]||nitrogolem range
|-
|-
||[[SnakeAttack]]||ophidian blue spark||Heretic
||[[SnakeAttack]]||ophidian blue spark
|-
|-
||[[SnakeAttack2]]||ophidian yellow shot||Heretic
||[[SnakeAttack2]]||ophidian yellow shot
|-
|-
||[[Srcr1Attack]]||d'sparil mount attack||Heretic
||[[Srcr1Attack]]||d'sparil mount attack
|-
|-
||[[Srcr2Attack]]||d'sparil sorcerer attack||Heretic
||[[Srcr2Attack]]||d'sparil sorcerer attack
|-
|-
||[[Srcr2Decide]]||d'sparil decide whether to teleport||Heretic
||[[Srcr2Decide]]||d'sparil decide whether to teleport
|-
|-
||[[VolcanoBlast]]||volcano burst||Heretic
||[[VolcanoBlast]]||volcano burst
|-
|-
||[[WizardAtk3]]||disciple tri-ball||Heretic
||[[WizardAtk3]]||disciple tri-ball
|}
|}


Line 438: Line 391:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)||Doom
|-
||[[BrainDie]]||exits the level||Doom 2
|-
||[[CasingThrust]]||movement for ejected casing||Eternity
|-
|-
||[[Die]]||causes suicide||MBF
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)
|-
|-
||[[Fall]]||remove SOLID flag (used on dying monsters)||Doom
||[[BrainDie]]||exits the level
|-
|-
||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters||Doom 2
||[[CasingThrust]]||movement for ejected casing
|-
|-
||[[KillChildren]]||destroy all summoned things||ZDoom
||[[Die]]||causes suicide
|-
|-
||[[LineEffect]]||activate a tag using a special||MBF
||[[FadeIn]]||increments alpha
|-
|-
||[[PainNukeSpec]]||Pain elemental nuke cheat handler.||Eternity
||[[FadeOut]]||decrements alpha, DOESN'T destroy the thing
|-
|-
||[[RestoreArtifact]]||Adds the SPECIAL flag back to an object, sets the object back into its spawnstate, and plays the object's seesound.||Heretic
||[[Fall]]||remove SOLID flag (used on dying monsters)
|-
|-
||[[RestoreSpecialThing1]]||Removes the DONTDRAW flag from an object. If the object defines the itemrespawnat property, it will at this time be moved to a random spot if any such spots exist on the map (otherwise the item will remain where it spawned originally). The item will play its seesound.||Heretic
||[[HideThing]]||Sets DONTDRAW flag on an object
|-
|-
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.||Heretic
||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters
|-
|-
||[[SelfDestruct]]||Projectile-compatible counterpart to '''Die'''.||Eternity
||[[KillChildren]]||destroy all summoned things
|-
|-
||[[SetFlags]]||alter flags||Eternity
||[[LineEffect]]||activate a tag using a special
|-
|-
||[[SetSpecial]]||alter thing's special and args||ZDoom
||[[PainNukeSpec]]||Pain elemental nuke cheat handler.
|-
|-
||[[ShowMessage]]||display text message||Eternity
||[[RestoreArtifact]]||Adds the SPECIAL flag back to an object, sets the object back into its spawnstate, and plays the object's seesound.
|-
|-
||[[Spawn]]||create another object on top of this one||MBF
||[[RestoreSpecialThing1]]||Removes the DONTDRAW flag from an object. If the object defines the itemrespawnat property, it will at this time be moved to a random spot if any such spots exist on the map (otherwise the item will remain where it spawned originally). The item will play its seesound.
|-
|-
||[[SpawnEx]]||enhanced spawn variant||Eternity
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.
|-
|-
||[[SteamSpawn]]||create steam effects||Eternity
||[[SetFlags]]||alter flags
|-
|-
||[[UnSetFlags]]||alter flags||Eternity
||[[SetTranslucent]]||modify alpha amount; setup additiveness or fuzziness
|}
====Visual====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[ClearSkin]]||Removes the sprite skin.||Eternity
||[[ShowMessage]]||display text message
|-
|-
||[[FadeIn]]||increments alpha||ZDoom
||[[Spawn]]||create another object on top of this one
|-
|-
||[[FadeOut]]||decrements alpha, DOESN'T destroy the thing||ZDoom
||[[SteamSpawn]]||create steam effects
|-
|-
||[[HideThing]]||Sets DONTDRAW flag on an object||ZDoom
||[[UnHideThing]]||Unsets DONTDRAW flag on an object
|-
||[[SetTranslucent]]||modify alpha amount; setup additiveness or fuzziness||ZDoom
|-
||[[UnHideThing]]||Unsets DONTDRAW flag on an object||ZDoom
|-
|-
||[[UnSetFlags]]||alter flags
|}
|}
====Heretic====
====Heretic====
Line 503: Line 440:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[AccelGlitter]]||accelerate upwards||Heretic
|-
||[[DripBlood]]||spawn heretic blood||Heretic
|-
||[[GhostOff]]||Remove the ghost effect||Heretic
|-
|-
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic
||[[AccelGlitter]]||accelerate upwards
|-
|-
||[[Fall|HticDrop]]||{{deprecated}} same thing as [[Fall]]||Heretic
||[[DripBlood]]||spawn heretic blood
|-
|-
||[[ImpDeath]]||special death for gargoyle||Heretic
||[[HticBossDeath]]||special monster death functions for Heretic
|-
|-
||[[ImpExplode]]||crash for gargoyle||Heretic
||[[ImpDeath]]||special death for gargoyle
|-
|-
||[[ImpXDeath1]]||special extreme death for gargoyle, stage 1||Heretic
||[[ImpExplode]]||crash for gargoyle
|-
|-
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic
||[[ImpXDeath1]]||special extreme death for gargoyle, stage 1
|-
|-
||[[InitKeyGizmo]]||Heretic key lock orb statue maintenance||Heretic
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2
|-
|-
||[[MakePod]]||generate a pod||Heretic
||[[MakePod]]||generate a pod
|-
|-
||[[MummySoul]]||create raising soul||Heretic
||[[MummySoul]]||create raising soul
|-
|-
||[[PlayerSkull]]||player death effect, when the skull tosses in air||Heretic
||[[PlayerSkull]]||player death effect, when the skull tosses in air
|-
|-
||[[RemovePod]]||notifies the generator that this pod was destroyed||Heretic
||[[RemovePod]]||notifies the generator that this pod was destroyed
|-
|-
||[[Sor2DthInit]]||d'sparil death maintenance||Heretic
||[[Sor2DthInit]]||d'sparil death maintenance
|-
|-
||[[Sor2DthLoop]]||d'sparil death maintenance||Heretic
||[[Sor2DthLoop]]||d'sparil death maintenance
|-
|-
||[[SorcererRise]]||d'sparil waking up after mount crash||Heretic
||[[SorcererRise]]||d'sparil waking up after mount crash
|-
|-
||[[SorcNukeSpec]]||D'sparil handling of the nuke cheat.||Heretic
||[[SorcNukeSpec]]||D'sparil handling of the nuke cheat.
|-
|-
||[[SpawnAbove]]||spawns above the summoner||Heretic
||[[SpawnAbove]]||spawns above the summoner
|-
|-
||[[SpawnGlitter]]||create teleportation sparkle||Heretic
||[[SpawnGlitter]]||create teleportation sparkle
|-
|-
||[[WizardAtk1]]||face target and clear GHOST flag||Heretic
||[[WizardAtk1]]||face target and clear GHOST flag
|-
|-
||[[WizardAtk2]]||face target and set GHOST flag||Heretic
||[[WizardAtk2]]||face target and set GHOST flag
|}
|}


===Sound effects===
===Sound effects===
====Generic====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
||[[AmbientThinker]]||ambient sound maintenance||Eternity
|-
||[[Pain]]||play pain sound||Doom
|-
||[[PlayerScream]]||player-specific, health-dependent (death) sound||Doom
|-
||[[PlaySound]]||custom sound||MBF
|-
||[[PlaySoundEx]]||extended custom sound||ZDoom
|-
||[[Scream]]||play death sound||Doom
|-
||[[XScream]]||extreme death gut noise||Doom
|}
====Game specific====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[BrainAwake]]||loud bossit sound effect||Doom 2
|-
|-
||[[BrainPain]]||loud bospn sound effect||Doom 2
||[[AmbientThinker]]||ambient sound maintenance
|-
|-
||[[ContMobjSound]]||Heretic knight axe and nitrogolem missile sounds||Heretic
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!
|-
|-
||[[ESound]]||Heretic water and wind ambiend sounds||Heretic
||[[BrainAwake]]||loud bossit sound effect
|-
|-
||[[FlameSnd]]||Heretic player burning death sound||Heretic
||[[BrainPain]]||loud bospn sound effect
|-
|-
||[[RavenPlayerScream]]||Heretic player scream||Heretic
||[[FatRaise]]||mancubus warning — also includes FaceTarget
|-
|-
||'''SorDBon'''||Plays sound 329 ('''ht_sordbon''')||Heretic
||[[FireCrackle]]||flame sound effect — also includes "Fire" action!
|-
|-
||'''SorDExp'''||Plays sound 328 ('''ht_sordexp''')||Heretic
||[[Hoof]]||cyberdemon hoof sound — also includes Chase!
|-
|-
||'''SorDSph'''||Plays sound 327 ('''ht_sordsph''')||Heretic
||[[Metal]]||metal sound effect — also includes Chase!
|-
|-
||'''SorRise'''||Plays sound 322 ('''ht_sorrise''')||Heretic
||[[Pain]]||play pain sound
|-
|-
||'''SorSightSnd'''||Plays sound 323 ('''ht_sorsit''')||Heretic
||[[PlayerScream]]||player-specific, health-dependent (death) sound
|-
|-
||'''SorZap'''||Plays sound 321 ('''ht_sorzap''')||Heretic
||[[PlaySound]]||custom sound
|-
|-
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2
||[[PlaySoundEx]]||extended custom sound
|-
|-
||[[VileStart]]||archvile heat-up noise||Doom 2
||[[Scream]]||play death sound
|}
=====Combined=====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2
||[[SkelWhoosh]]||revenant swing noise — also includes FaceTarget
|-
|-
||[[FatRaise]]||mancubus warning — also includes FaceTarget||Doom 2
||[[SpawnSound]]||boscub sound effect — also includes SpawnFly
|-
|-
||[[FireCrackle]]||flame sound effect — also includes "Fire" action!||Doom 2
||[[StartFire]]||flamst sound effect — also includes "Fire" action!
|-
|-
||[[Hoof]]||cyberdemon hoof sound — also includes Chase!||Doom
||[[VileStart]]||archvile heat-up noise
|-
|-
||[[Metal]]||metal sound effect — also includes Chase!||Doom
||[[XScream]]||extreme death gut noise
|-
||[[SkelWhoosh]]||revenant swing noise — also includes FaceTarget||Doom 2
|-
||[[SpawnSound]]||boscub sound effect — also includes SpawnFly||Doom 2
|}
|}


Line 630: Line 526:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[AproxDistance]]||assign distance from target to a variable||Eternity
|-
||[[CheckPlayerDone]]||jump to a frame if not under player control||ZDoom
|-
||[[CopyCounter]]||copy a variable to another variable||Eternity
|-
|-
||[[CounterDiceRoll]]||set a variable to the result of a damage calculation||Eternity
||[[AproxDistance]]||assign distance from target to a variable
|-
|-
||[[CounterJump]]||counter-based next frame||Eternity
||[[CheckPlayerDone]]||jump to a frame if not under player control
|-
|-
||[[CounterJumpEx]]||DECORATE-compatible counter-based next frame||Eternity
||[[CopyCounter]]||copy a variable to another variable
|-
|-
||[[CounterOp]]||set a variable to an operation of another 2 variables||Eternity
||[[CounterJump]]||counter-based next frame
|-
|-
||[[CounterSwitch]]||counter-based set of frames||Eternity
||[[CounterJumpEx]]||DECORATE-compatible counter-based next frame
|-
|-
||[[CounterSwitchEx]]||DECORATE-compatible counter-based set of states||Eternity
||[[CounterOp]]||set a variable to an operation of another 2 variables
|-
|-
||[[HealthJump]]||health-based next frame||Eternity
||[[CounterSwitch]]||counter-based set of frames
|-
|-
||[[JumpIfTargetInLOS]]||jump to frame if target is in the field of view||ZDoom
||[[CounterSwitchEx]]||DECORATE-compatible counter-based set of states
|-
|-
||[[RandomJump]]||random next frame||MBF
||[[HealthJump]]||health-based next frame
|-
|-
||[[Jump]]||Decorate-compatible alternative to RandomJump.||ZDoom
||[[JumpIfTargetInLOS]]||jump to frame if target is in the field of view
|-
|-
||[[SetCounter]]||set a variable||Eternity
||[[RandomJump]]||random next frame
|-
|-
||[[SetTics]]||set frame duration||Eternity
||[[Jump]]||Decorate-compatible alternative to RandomJump.
|-
|-
||[[StartScript]]||run map script||Eternity
||[[SetCounter]]||set a variable
|-
|-
||[[StartScriptNamed]]||run named map script||Eternity
||[[SetTics]]||set frame duration
|-
|-
||[[TargetJump]]||go to designated frame if having a target||Eternity
||[[StartScript]]||run map script
|}
 
===Powerup use===
These are triggered from [[EDF_item_effects_and_inventory#artifact|artifact]]'s '''useaction''' field, not from states.
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[HticArtiTele]]||Chaos Device action||Heretic
||[[StartScriptNamed]]||run named map script
|-
|-
||[[HticSpawnFireBomb]]||Time Bomb of the Ancients action||Heretic
||[[TargetJump]]||go to designated frame if having a target
|}
|}


[[Category:Codepointers|*]]
[[Category:Codepointers|*]]
[[Category:EDF]]
[[Category:EDF]]
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: