A BulletAttack

From Eternity Wiki
Revision as of 18:19, 15 August 2009 by Printz (talk | contribs) (New page: Type: Monster attack, parameterized Parameter Information: *Args1 = DeHackEd number of sound to play (default of 0 = no sound) *Args2 = Select accuracy (default of 0 = 1) **1 = Always...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Type: Monster attack, parameterized

Parameter Information:

  • Args1 = DeHackEd number of sound to play (default of 0 = no sound)
  • Args2 = Select accuracy (default of 0 = 1)
    • 1 = Always accurate
    • 2 = Never accurate (moderate horizontal spread with no vertical error)
    • 3 = Super Shotgun accuracy (wide horizontal spread with moderate vertical error)
    • 4 = Monster accuracy (very wide horizontal spread)
  • Args3 = Number of bullet tracers to fire (default of 0 = 0)
  • Args4 = Damage factor (Damage formula is: dmgfactor * ((rnd%dmgmod) + 1))
  • Args5 = Damage modulus (Forced into range of 1 to 256)

Purpose: Powerful codepointer which allows construction of custom monster bullet attacks. This pointer is capable of emulating any of the built-in player or monster bullet attacks, as well creating many completely new ones (including a super shotgun attack for monsters). New to Eternity Engine v3.31 public beta 6.

Notes: The Args2 parameter for this pointer differs slightly from the Args2 parameter to the FireCustomBullets player codepointer. The value which allows "first fire only" accuracy is not available for monsters.

Thunk: Yes.