Editing List of codepointers
From Eternity Wiki
Jump to navigationJump to search
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== | ||
=== | ===Attacks=== | ||
====Parameterized==== | |||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ | ||[[CustomPlayerMelee]]||Configurable player melee attack.||Eternity | ||
|- | |- | ||
||[[ | ||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity | ||
|- | |- | ||
||[[ | ||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity | ||
|- | |- | ||
||[[ | ||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity | ||
|} | |} | ||
== | ====Classic==== | ||
=== | These exist to support the vanilla Doom and Heretic player attacks. | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ | ||[[FireBFG]]||BFG9000 attack.||Doom | ||
|- | |- | ||
||[[ | ||[[FireBlasterPL1]]||Dragon claw attack.||Heretic | ||
|- | |||
||[[FireCGun]]||Chaingun attack.||Doom | |||
|- | |||
||[[FireCrossbowPL1]]||Ethereal crossbow attack.||Heretic | |||
|- | |||
||[[FireCrossbowPL2]]||Ethereal crossbow attack with Tome of Power.||Heretic | |||
|- | |- | ||
||[[ | ||[[FireGoldWandPL1]]||Elven wand attack.||Heretic | ||
|- | |- | ||
||[[ | ||[[FireGoldWandPL2]]||Elven wand attack with Tome of Power.||Heretic | ||
|- | |- | ||
||[[ | ||[[FireMacePL1]]||Fire mace attack.||Heretic | ||
|- | |- | ||
||[[ | ||[[FireMacePL2]]||Fire mace attack with Tome of Power.||Heretic | ||
|- | |- | ||
||[[ | ||[[FireMissile]]||Rocket launcher attack.||Doom | ||
|- | |- | ||
||[[ | ||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||Doom | ||
|- | |- | ||
||[[ | ||[[FirePistol]]||Pistol attack.||Doom | ||
|- | |- | ||
||[[ | ||[[FirePlasma]]||Plasma rifle attack.||Doom | ||
|- | |- | ||
||[[ | ||[[FireShotgun]]||Shotgun attack.||Doom | ||
|- | |- | ||
||[[ | ||[[FireShotgun2]]||Super shotgun attack.||Doom 2 | ||
|- | |- | ||
||[[Punch]]||Fist attack. | ||[[Punch]]||Fist attack.||Doom | ||
|- | |- | ||
||[[Saw]]||Chainsaw attack. | ||[[Saw]]||Chainsaw attack.||Doom | ||
|} | |} | ||
=== | |||
===Control=== | |||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ | ||[[CheckReload]]||Super shotgun reload check.||Doom 2 | ||
|- | |- | ||
||[[ | ||[[CheckReloadEx]]||Extended version of [[CheckReload]] that allows counter comparison.||Eternity | ||
|- | |- | ||
||[[ | ||[[JumpIfNoAmmo]]||Jumps to a state if ammo is gone.||ZDoom | ||
|- | |- | ||
||[[ | ||[[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 | ||
|- | |- | ||
||[[ | ||[[WeaponReady]]||Action during a weapon's idle sequence.||Doom | ||
|} | |||
===Audiovisual effects=== | |||
{|class="wikitable sortable" | |||
! Name | |||
! Description | |||
! Origin | |||
|- | |- | ||
||[[ | ||[[BFGsound]]||Plays the BFG charge-up sound effect.||Doom | ||
|- | |- | ||
||[[ | ||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Doom 2 | ||
|- | |- | ||
||[[ | ||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity | ||
|- | |- | ||
||[[ | ||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Doom 2 | ||
|- | |- | ||
||[[ | ||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Doom 2 | ||
|} | |} | ||
=== | ===Flash state effects=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ | ||[[GunFlash]]||Produces a gun flash sprite without firing anything at the current moment.||Doom | ||
|- | |- | ||
||[[ | ||[[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 | ||
|} | |} | ||
=== | ===Frame scripting=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity | ||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity | ||
Line 152: | Line 147: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[Face]]||Face a specified angle.||MBF | ||[[Face]]||Face a specified angle.||MBF | ||
Line 166: | Line 161: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU | ||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU | ||
Line 181: | Line 176: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2 | ||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2 | ||
Line 194: | Line 189: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[Detonate]]||Thing damage controlled explosion.||MBF | ||[[Detonate]]||Thing damage controlled explosion.||MBF | ||
Line 203: | Line 198: | ||
|- | |- | ||
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF | ||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF | ||
|- | |- | ||
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU | ||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU | ||
Line 212: | Line 205: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! 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 | ||
|} | |} | ||
Line 227: | Line 216: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[GenTracer]]||Generic homing projectile.||Eternity | ||[[GenTracer]]||Generic homing projectile.||Eternity | ||
|- | |- | ||
||[[HticTracer]]||Heretic nitrogolem homing projectile | ||[[HticTracer]]||Heretic nitrogolem homing projectile.||Heretic | ||
|- | |- | ||
||[[Tracer]]||Revenant homing projectile.||Doom 2 | ||[[Tracer]]||Revenant homing projectile.||Doom 2 | ||
Line 242: | Line 229: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! 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 237: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic | ||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic | ||
Line 267: | Line 250: | ||
|- | |- | ||
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic | ||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic | ||
|- | |- | ||
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic | ||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic | ||
Line 285: | Line 266: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom | ||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom | ||
Line 317: | Line 298: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! 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 319: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BrainSpit]]||cube spawn||Doom 2 | ||[[BrainSpit]]||cube spawn||Doom 2 | ||
Line 385: | Line 366: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BeastAttack]]||weredragon||Heretic | ||[[BeastAttack]]||weredragon||Heretic | ||
Line 438: | Line 419: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! 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 444: | ||
|- | |- | ||
||[[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 | ||
|- | |- | ||
||[[SetFlags]]||alter flags||Eternity | ||[[SetFlags]]||alter flags||Eternity | ||
|- | |- | ||
||[[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 | ||
|- | |- | ||
||[[SteamSpawn]]||create steam effects||Eternity | ||[[SteamSpawn]]||create steam effects||Eternity | ||
Line 484: | Line 459: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ClearSkin]]||Removes the sprite skin.||Eternity | ||[[ClearSkin]]||Removes the sprite skin.||Eternity | ||
Line 503: | Line 478: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[AccelGlitter]]||accelerate upwards||Heretic | ||[[AccelGlitter]]||accelerate upwards||Heretic | ||
|- | |- | ||
||[[DripBlood]]||spawn heretic blood||Heretic | ||[[DripBlood]]||spawn heretic blood||Heretic | ||
|- | |- | ||
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic | ||[[HticBossDeath]]||special monster death functions for Heretic||Heretic | ||
|- | |- | ||
||[[ImpDeath]]||special death for gargoyle||Heretic | ||[[ImpDeath]]||special death for gargoyle||Heretic | ||
Line 522: | Line 493: | ||
|- | |- | ||
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic | ||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic | ||
|- | |- | ||
||[[MakePod]]||generate a pod||Heretic | ||[[MakePod]]||generate a pod||Heretic | ||
Line 555: | Line 524: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[AmbientThinker]]||ambient sound maintenance||Eternity | ||[[AmbientThinker]]||ambient sound maintenance||Eternity | ||
Line 575: | Line 544: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BrainAwake]]||loud bossit sound effect||Doom 2 | ||[[BrainAwake]]||loud bossit sound effect||Doom 2 | ||
Line 584: | Line 553: | ||
|- | |- | ||
||[[ESound]]||Heretic water and wind ambiend sounds||Heretic | ||[[ESound]]||Heretic water and wind ambiend sounds||Heretic | ||
|- | |- | ||
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2 | ||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2 | ||
Line 609: | Line 562: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2 | ||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2 | ||
Line 630: | Line 583: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[AproxDistance]]||assign distance from target to a variable||Eternity | ||[[AproxDistance]]||assign distance from target to a variable||Eternity | ||
Line 637: | Line 590: | ||
|- | |- | ||
||[[CopyCounter]]||copy a variable to another variable||Eternity | ||[[CopyCounter]]||copy a variable to another variable||Eternity | ||
|- | |- | ||
||[[CounterJump]]||counter-based next frame||Eternity | ||[[CounterJump]]||counter-based next frame||Eternity | ||
Line 667: | Line 618: | ||
|- | |- | ||
||[[TargetJump]]||go to designated frame if having a target||Eternity | ||[[TargetJump]]||go to designated frame if having a target||Eternity | ||
|} | |} | ||
[[Category:Codepointers|*]] | [[Category:Codepointers|*]] | ||
[[Category:EDF]] | [[Category:EDF]] |