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 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.||BFG||Doom
||[[FireBFG]]||BFG9000 attack.||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.||Super shotgun||Doom 2
||[[FireShotgun2]]||Super shotgun attack.||Doom 2
|-
|-
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Super shotgun||Doom 2
||[[Punch]]||Fist attack.||Doom
|-
|-
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Super shotgun||Doom 2
||[[Saw]]||Chainsaw attack.||Doom
|-
||[[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
|-
|-
||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity
||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Doom 2
|-
|-
||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Doom 2
|-
|-
||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Doom 2
|}
|}


===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
! Origin
|-
|-
||[[Detonate]]||Thing damage controlled explosion.||MBF
||[[Detonate]]||Thing damage controlled explosion.||MBF
Line 203: Line 191:
|-
|-
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF
|-
||[[MushroomEx]]||Extended mushroom explosion codepointer.||Eternity
|-
|-
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU
Line 212: Line 198:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[DeathBallImpact]]||Heretic super firemace sphere impact.||Heretic
||[[DeathBallImpact]]||Heretic super firemace sphere impact.||Heretic
|-
|-
||[[HticExplode]]||Heretic-compatible explosion.||Heretic
||[[HticExplode]]||Heretic-compatible explosion.||Heretic
|-
||[[MaceBallImpact]]||Heretic small firemace sphere impact.||Heretic
|-
||[[MaceBallImpact2]]||Heretic medium firemace sphere impact.||Heretic
|}
|}


Line 227: Line 209:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[GenTracer]]||Generic homing projectile.||Eternity
||[[GenTracer]]||Generic homing projectile.||Eternity
|-
|-
||[[HticTracer]]||Heretic nitrogolem homing projectile (generalized).||Heretic
||[[HticTracer]]||Heretic nitrogolem homing projectile.||Heretic
|-
||[[MummyFX1Seek]]||Heretic nitrogolem homing projectile (particular).||Heretic
|-
|-
||[[Tracer]]||Revenant homing projectile.||Doom 2
||[[Tracer]]||Revenant homing projectile.||Doom 2
Line 242: Line 222:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[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.||Doom 2
Line 250: Line 230:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
||[[FlameEnd]]||Phoenix rod flame rising.||Heretic
|-
||[[FloatPuff]]||Phoenix rod flame hitting wall.||Heretic
|-
|-
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic
Line 267: Line 243:
|-
|-
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic
|-
||[[MacePL1Check]]||Small Heretic mace sphere maintenance.||Heretic
|-
|-
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic
Line 285: Line 259:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom
Line 317: Line 291:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[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]]).||MBF beta emulation
Line 338: Line 312:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BrainSpit]]||cube spawn||Doom 2
||[[BrainSpit]]||cube spawn||Doom 2
Line 385: Line 359:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BeastAttack]]||weredragon||Heretic
||[[BeastAttack]]||weredragon||Heretic
Line 438: Line 412:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)||Doom
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)||Doom
Line 463: Line 437:
|-
|-
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.||Heretic
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.||Heretic
|-
||[[SelfDestruct]]||Projectile-compatible counterpart to '''Die'''.||Eternity
|-
|-
||[[SetFlags]]||alter flags||Eternity
||[[SetFlags]]||alter flags||Eternity
|-
||[[SetSpecial]]||alter thing's special and args||ZDoom
|-
|-
||[[ShowMessage]]||display text message||Eternity
||[[ShowMessage]]||display text message||Eternity
|-
|-
||[[Spawn]]||create another object on top of this one||MBF
||[[Spawn]]||create another object on top of this one||MBF
|-
||[[SpawnEx]]||enhanced spawn variant||Eternity
|-
|-
||[[SteamSpawn]]||create steam effects||Eternity
||[[SteamSpawn]]||create steam effects||Eternity
Line 484: Line 452:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[ClearSkin]]||Removes the sprite skin.||Eternity
||[[ClearSkin]]||Removes the sprite skin.||Eternity
Line 503: Line 471:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AccelGlitter]]||accelerate upwards||Heretic
||[[AccelGlitter]]||accelerate upwards||Heretic
|-
|-
||[[DripBlood]]||spawn heretic blood||Heretic
||[[DripBlood]]||spawn heretic blood||Heretic
|-
||[[GhostOff]]||Remove the ghost effect||Heretic
|-
|-
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic
|-
||[[Fall|HticDrop]]||{{deprecated}} same thing as [[Fall]]||Heretic
|-
|-
||[[ImpDeath]]||special death for gargoyle||Heretic
||[[ImpDeath]]||special death for gargoyle||Heretic
Line 522: Line 486:
|-
|-
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic
|-
||[[InitKeyGizmo]]||Heretic key lock orb statue maintenance||Heretic
|-
|-
||[[MakePod]]||generate a pod||Heretic
||[[MakePod]]||generate a pod||Heretic
Line 555: Line 517:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AmbientThinker]]||ambient sound maintenance||Eternity
||[[AmbientThinker]]||ambient sound maintenance||Eternity
Line 575: Line 537:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BrainAwake]]||loud bossit sound effect||Doom 2
||[[BrainAwake]]||loud bossit sound effect||Doom 2
Line 584: Line 546:
|-
|-
||[[ESound]]||Heretic water and wind ambiend sounds||Heretic
||[[ESound]]||Heretic water and wind ambiend sounds||Heretic
|-
||[[FlameSnd]]||Heretic player burning death sound||Heretic
|-
||[[RavenPlayerScream]]||Heretic player scream||Heretic
|-
||'''SorDBon'''||Plays sound 329 ('''ht_sordbon''')||Heretic
|-
||'''SorDExp'''||Plays sound 328 ('''ht_sordexp''')||Heretic
|-
||'''SorDSph'''||Plays sound 327 ('''ht_sordsph''')||Heretic
|-
||'''SorRise'''||Plays sound 322 ('''ht_sorrise''')||Heretic
|-
||'''SorSightSnd'''||Plays sound 323 ('''ht_sorsit''')||Heretic
|-
||'''SorZap'''||Plays sound 321 ('''ht_sorzap''')||Heretic
|-
|-
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2
Line 609: Line 555:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2
Line 630: Line 576:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AproxDistance]]||assign distance from target to a variable||Eternity
||[[AproxDistance]]||assign distance from target to a variable||Eternity
Line 637: Line 583:
|-
|-
||[[CopyCounter]]||copy a variable to another variable||Eternity
||[[CopyCounter]]||copy a variable to another variable||Eternity
|-
||[[CounterDiceRoll]]||set a variable to the result of a damage calculation||Eternity
|-
|-
||[[CounterJump]]||counter-based next frame||Eternity
||[[CounterJump]]||counter-based next frame||Eternity
Line 667: Line 611:
|-
|-
||[[TargetJump]]||go to designated frame if having a target||Eternity
||[[TargetJump]]||go to designated frame if having a target||Eternity
|}
===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
|-
||[[HticSpawnFireBomb]]||Time Bomb of the Ancients action||Heretic
|}
|}


[[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: