|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Quietus
|
Actor type
|
Weapon
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
FWeapQuietus
|
Classes: Inventory→Weapon→FighterWeapon→FWeapQuietus
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.
ACTOR FWeapQuietus : FighterWeapon
{
Health 3
Weapon.SelectionOrder 2900
+WEAPON.PRIMARY_USES_BOTH
+INVENTORY.NOATTENPICKUPSOUND
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"
Tag "$TAG_FWEAPQUIETUS"
action native A_FSwordAttack();
States
{
Spawn:
TNT1 A -1
Stop
Select:
FSRD A 1 Bright A_Raise
Loop
Deselect:
FSRD A 1 Bright A_Lower
Loop
Ready:
FSRD AAAABBBBCCCC 1 Bright A_WeaponReady
Loop
Fire:
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
}
}