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 player attacks. | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[FireBFG]]||BFG9000 attack. | ||[[FireBFG]]||BFG9000 attack.||Doom | ||
|- | |- | ||
||[[FireCGun]]||Chaingun attack. | ||[[FireCGun]]||Chaingun attack.||Doom | ||
|- | |- | ||
||[[FireMissile]]||Rocket launcher attack. | ||[[FireMissile]]||Rocket launcher attack.||Doom | ||
|- | |- | ||
||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]). | ||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||Doom | ||
|- | |- | ||
||[[FirePistol]]||Pistol attack. | ||[[FirePistol]]||Pistol attack.||Doom | ||
|- | |- | ||
||[[FirePlasma]]||Plasma rifle attack. | ||[[FirePlasma]]||Plasma rifle attack.||Doom | ||
|- | |- | ||
||[[FireShotgun]]||Shotgun attack. | ||[[FireShotgun]]||Shotgun attack.||Doom | ||
|- | |- | ||
||[[FireShotgun2]]||Super shotgun attack. | ||[[FireShotgun2]]||Super shotgun attack.||Doom 2 | ||
|- | |- | ||
||[[ | ||[[Punch]]||Fist attack.||Doom | ||
|- | |- | ||
||[[Saw]]||Chainsaw attack.||Doom | |||
||[[Saw]]||Chainsaw attack. | |||
|} | |} | ||
=== | |||
===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 | ||
|} | |||
===Other=== | |||
{|class="wikitable sortable" | |||
! Name | |||
! Description | |||
! Origin | |||
|- | |- | ||
||[[ | ||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity | ||
|} | |||
===Muzzle flash effects=== | |||
{|class="wikitable sortable" | |||
! Name | |||
! 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 | ||
|} | |} | ||
=== | ===DOOM gun sound effects=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[ | ||[[BFGSound]]||Plays the BFG charge-up sound effect.||Doom | ||
|- | |- | ||
||[[ | ||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Doom 2 | ||
|- | |- | ||
||[[ | ||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Doom 2 | ||
|- | |- | ||
||[[ | ||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Doom 2 | ||
|} | |} | ||
=== | ===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 140: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[Face]]||Face a specified angle.||MBF | ||[[Face]]||Face a specified angle.||MBF | ||
Line 166: | Line 154: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU | ||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU | ||
Line 181: | Line 169: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2 | ||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2 | ||
Line 194: | Line 182: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[Detonate]]||Thing damage controlled explosion.||MBF | ||[[Detonate]]||Thing damage controlled explosion.||MBF | ||
Line 201: | Line 189: | ||
|- | |- | ||
||[[Explode]]||Rocket/barrel splash damage.||Doom | ||[[Explode]]||Rocket/barrel splash damage.||Doom | ||
|- | |||
||[[HticExplode]]||Heretic-compatible explosion.||Heretic | |||
|- | |- | ||
||[[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 227: | Line 201: | ||
! 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 214: | ||
! 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 222: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic | ||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic | ||
|- | |- | ||
||[[BlueSpark]]||Create a blue D'sparil attack projectile.||Heretic | ||[[BlueSpark]]||Create a blue D'sparil attack projectile.||Heretic | ||
Line 267: | Line 233: | ||
|- | |- | ||
||[[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 249: | ||
! 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 281: | ||
! 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 302: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BrainSpit]]||cube spawn||Doom 2 | ||[[BrainSpit]]||cube spawn||Doom 2 | ||
Line 385: | Line 349: | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[BeastAttack]]||weredragon||Heretic | ||[[BeastAttack]]||weredragon||Heretic | ||
Line 438: | Line 402: | ||
! 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 447: | Line 411: | ||
|- | |- | ||
||[[Die]]||causes suicide||MBF | ||[[Die]]||causes suicide||MBF | ||
|- | |||
||[[FadeIn]]||increments alpha||ZDoom | |||
|- | |||
||[[FadeOut]]||decrements alpha, DOESN'T destroy the thing||ZDoom | |||
|- | |- | ||
||[[Fall]]||remove SOLID flag (used on dying monsters)||Doom | ||[[Fall]]||remove SOLID flag (used on dying monsters)||Doom | ||
|- | |||
||[[HideThing]]||Sets DONTDRAW flag on an object||ZDoom | |||
|- | |- | ||
||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters||Doom 2 | ||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters||Doom 2 | ||
Line 463: | Line 433: | ||
|- | |- | ||
||[[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 | ||
|- | |- | ||
||[[ | ||[[SetTranslucent]]||modify alpha amount; setup additiveness or fuzziness||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 | ||
|- | |- | ||
||[[SteamSpawn]]||create steam effects||Eternity | ||[[SteamSpawn]]||create steam effects||Eternity | ||
|- | |- | ||
||[[UnHideThing]]||Unsets DONTDRAW flag on an object||ZDoom | ||[[UnHideThing]]||Unsets DONTDRAW flag on an object||ZDoom | ||
|- | |- | ||
||[[UnSetFlags]]||alter flags||Eternity | |||
|} | |} | ||
====Heretic==== | ====Heretic==== | ||
Line 503: | Line 452: | ||
! 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 467: | ||
|- | |- | ||
||[[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 551: | Line 494: | ||
===Sound effects=== | ===Sound effects=== | ||
{|class="wikitable sortable" | {|class="wikitable sortable" | ||
! Name | ! Name | ||
! Description | ! Description | ||
! | ! Origin | ||
|- | |- | ||
||[[AmbientThinker]]||ambient sound maintenance||Eternity | ||[[AmbientThinker]]||ambient sound maintenance||Eternity | ||
|- | |- | ||
||[[ | ||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2 | ||
|- | |- | ||
||[[BrainAwake]]||loud bossit sound effect||Doom 2 | ||[[BrainAwake]]||loud bossit sound effect||Doom 2 | ||
Line 581: | Line 507: | ||
||[[BrainPain]]||loud bospn sound effect||Doom 2 | ||[[BrainPain]]||loud bospn sound effect||Doom 2 | ||
|- | |- | ||
||[[ | ||[[FatRaise]]||mancubus warning — also includes FaceTarget||Doom 2 | ||
|- | |- | ||
||[[ | ||[[FireCrackle]]||flame sound effect — also includes "Fire" action!||Doom 2 | ||
|- | |||
||[[Hoof]]||cyberdemon hoof sound — also includes Chase!||Doom | |||
|- | |- | ||
||[[ | ||[[Metal]]||metal sound effect — also includes Chase!||Doom | ||
|- | |- | ||
||[[ | ||[[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 | ||
|- | |- | ||
|| | ||[[SkelWhoosh]]||revenant swing noise — also includes FaceTarget||Doom 2 | ||
|- | |- | ||
|| | ||[[SpawnSound]]||boscub sound effect — also includes SpawnFly||Doom 2 | ||
|- | |- | ||
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2 | ||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2 | ||
|- | |- | ||
||[[VileStart]]||archvile heat-up noise||Doom 2 | ||[[VileStart]]||archvile heat-up noise||Doom 2 | ||
|- | |- | ||
||[[ | ||[[XScream]]||extreme death gut noise||Doom | ||
|} | |} | ||
Line 630: | Line 540: | ||
! 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 547: | ||
|- | |- | ||
||[[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 575: | ||
|- | |- | ||
||[[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]] |