FireCrossbowPL1: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 13: Line 13:
Must be called from a player weapon state. Subtracts ammo and shoots three projectiles:
Must be called from a player weapon state. Subtracts ammo and shoots three projectiles:
*one of '''dehackednum''' 434 ('''CrossbowFX1''' in Heretic), straight ahead;
*one of '''dehackednum''' 434 ('''CrossbowFX1''' in Heretic), straight ahead;
*two of '''dehackednum''' 436 ('''CrossbowFX3''' in Heretic), at angle of 4˚30' left and right.
*two of '''dehackednum''' 436 ('''CrossbowFX3''' in Heretic), at angle of 4˚30' left and right (9˚ total spread).
Each projectile autoaims independently if player autoaim is enabled.
Each projectile autoaims independently if player autoaim is enabled.
|seealso=
|seealso=
*[[FireCrossbowPL2]]
*[[FireCrossbowPL2]]
}}
}}

Revision as of 06:13, 19 April 2020

Description

Heretic Ethereal Crossbow basic attack.

Usage

FireCrossbowPL1

Parameters

No parameters.

Examples

From base/heretic/player.edf:

 Fire:
   CRBW D 6 A_FireCrossbowPL1
   CRBW EFGH 3
   CRBW AB 4
   CRBW C 5 A_ReFire
   goto Ready

Notes

Must be called from a player weapon state. Subtracts ammo and shoots three projectiles:

  • one of dehackednum 434 (CrossbowFX1 in Heretic), straight ahead;
  • two of dehackednum 436 (CrossbowFX3 in Heretic), at angle of 4˚30' left and right (9˚ total spread).

Each projectile autoaims independently if player autoaim is enabled.

See also