BFGSpray: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
m (Minor changes)
No edit summary
 
Line 1: Line 1:
'''BFGSpray''' (void)
{{codepointer|description=BFGSpray is a codepointer which causes a BFG explosion effect.|usage='''BFGSpray'''|notes=
 
The effect differs depending on the player's selected type of BFG:
==Usage==
BFGSpray is a codepointer which causes BFG explosion effects, which differ depending on the player's selected type of BFG:


*Normal BFG: 40 tracers will emanate from the object which fired the projectile in the general direction in which the projectile was fired, each doing damage that is the sum of 15 rolls of an 8-sided die.
*Normal BFG: 40 tracers will emanate from the object which fired the projectile in the general direction in which the projectile was fired, each doing damage that is the sum of 15 rolls of an 8-sided die.
*BFG11K: Control is transferred to the [[BFG11KHit]] codepointer.
*BFG11K: Control is transferred to the [[BFG11KHit]] codepointer.
*Bouncing BFG: Control is transferred to the [[BouncingBFG]] codepointer.
*Bouncing BFG: Control is transferred to the [[BouncingBFG]] codepointer.
*Plasma Burst BFG: Control is transferred to the [[BFGBurst]] codepointer.
*Plasma Burst BFG: Control is transferred to the [[BFGBurst]] codepointer.


[[Category:Codepointers]]
Note: this will not trigger the Doom beta BFG attack if its gameplay setting is enabled. There is a separate set of frames for the classic BFG that replace the normal BFG9000.|seealso=
*[[BFG11KHit]]
*[[BFGBurst]]
*[[BouncingBFG]]|examples=
{{example|description=From base\doom\frames.edf:|code=<nowiki>frame S_BFGLAND3 { cmp = "BFE1|2|T|8|BFGSpray|@next";      dehackednum = 119 }</nowiki>}}}}

Latest revision as of 07:04, 9 May 2011

Description

BFGSpray is a codepointer which causes a BFG explosion effect.

Usage

BFGSpray

Parameters

No parameters.

Examples

From base\doom\frames.edf:

frame S_BFGLAND3 { cmp = "BFE1|2|T|8|BFGSpray|@next";       dehackednum = 119 }

Notes

The effect differs depending on the player's selected type of BFG:

  • Normal BFG: 40 tracers will emanate from the object which fired the projectile in the general direction in which the projectile was fired, each doing damage that is the sum of 15 rolls of an 8-sided die.
  • BFG11K: Control is transferred to the BFG11KHit codepointer.
  • Bouncing BFG: Control is transferred to the BouncingBFG codepointer.
  • Plasma Burst BFG: Control is transferred to the BFGBurst codepointer.

Note: this will not trigger the Doom beta BFG attack if its gameplay setting is enabled. There is a separate set of frames for the classic BFG that replace the normal BFG9000.

See also