|
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do NOT need to copy that actor, since it is already defined.
- In fact, it's not just useless, it will cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
|
Wraithverge
|
Actor type
|
Weapon
|
Game
|
(Hexen)
|
DoomEd Number
|
None
|
Class Name
|
CWeapWraithverge
|
Classes: ClericWeapon→CWeapWraithverge
The Cleric's ultimate weapon, the Wraithverge is the most powerful weapon in Hexen. It fires a white ball which splits into various ghosts. They tear enemies apart.
ACTOR CWeapWraithverge : ClericWeapon native
{
Health 3
Weapon.SelectionOrder 3000
+WEAPON.PRIMARY_USES_BOTH
+INVENTORY.NOATTENPICKUPSOUND
Weapon.AmmoUse1 18
Weapon.AmmoUse2 18
Weapon.AmmoGive1 20
Weapon.AmmoGive2 20
Weapon.KickBack 150
Weapon.AmmoType1 "Mana1"
Weapon.AmmoType2 "Mana2"
Inventory.PickupMessage "$TXT_WEAPON_C4"
Tag "$TAG_CWEAPWRAITHVERGE"
Inventory.PickupSound "WeaponBuild"
action native A_CHolyAttack();
action native A_CHolyPalette();
States
{
Spawn:
TNT1 A -1
Stop
Ready:
CHLY A 1 A_WeaponReady
Loop
Select:
CHLY A 1 A_Raise
Loop
Deselect:
CHLY A 1 A_Lower
Loop
Fire:
CHLY AB 1 Bright Offset(0, 40)
CHLY CD 2 Bright Offset(0, 43)
CHLY E 2 Bright Offset(0, 45)
CHLY F 6 Bright Offset(0, 48) A_CHolyAttack
CHLY GG 2 Bright Offset(0, 40) A_CHolyPalette
CHLY G 2 Offset(0, 36) A_CHolyPalette
Goto Ready
}
}