FireMacePL1
From Eternity Wiki
Jump to navigationJump to search
Description
Heretic Fire Mace basic attack.
Usage
FireMacePL1
Parameters
No parameters.
Examples
From base/heretic/player.edf:
Fire: MACE B 4 Hold: MACE CDEF 3 A_FireMacePL1 MACE C 4 A_ReFire MACE DEFB 4 goto Ready
Notes
Only called from player weapon states. Most of the time (89% chance) it will shoot an autoaimed projectile of dehackednum 438 (MaceFX1 in Heretic), assign to it counter 0 value 16 and randomly offset the weapon sprite.
In the other case (11%) it will shoot a projectile of dehackednum 439 (MaceFX2 in Heretic) with a slight initial vertical speed, and its XY velocity (based on the speed field) added with half of player's velocity. No autoaiming will be done for this projectile, and looking manually up or down won't help much. It will also play sound of dehackednum 414 (ht_lobsht).