From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do NOT need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it will cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
Actor type Weapon Game MiniHexenLogoIcon.png (Hexen)
DoomEd Number None Class Name FWeapQuietus

Classes: InventoryWeaponFighterWeaponFWeapQuietus
The Fighter's final weapon, the Quietus is a very powerful sword that sends out a spread of green balls. It is recommended for use in short range, so all projectiles strike the target, inflicting serious damage. It uses 14 mana of each kind per attack.

DECORATE definition

ACTOR FWeapQuietus : FighterWeapon
  Health 3
  Weapon.SelectionOrder 2900
  Weapon.AmmoUse1 14
  Weapon.AmmoUse2 14
  Weapon.AmmoGive1 20
  Weapon.AmmoGive2 20
  Weapon.KickBack 150
  Weapon.YAdjust 10
  Weapon.AmmoType1 "Mana1"
  Weapon.AmmoType2 "Mana2"
  Inventory.PickupMessage "$TXT_WEAPON_F4"
  Inventory.PickupSound "WeaponBuild"

  action native A_FSwordAttack();

    TNT1 A -1
    FSRD A 1 Bright A_Raise
    FSRD A 1 Bright A_Lower
    FSRD AAAABBBBCCCC 1 Bright A_WeaponReady
    FSRD DE 3 Bright Offset(5, 36)
    FSRD F 2 Bright Offset(5, 36)
    FSRD G 3 Bright Offset(5, 36) A_FSwordAttack
    FSRD H 2 Bright Offset(5, 36)
    FSRD I 2 Bright Offset(5, 36)
    FSRD I 10 Bright Offset(5, 150)
    FSRD A 1 Bright Offset(5, 60)
    FSRD B 1 Bright Offset(5, 55)
    FSRD C 1 Bright Offset(5, 50)
    FSRD A 1 Bright Offset(5, 45)
    FSRD B 1 Bright Offset(5, 40)
    Goto Ready