qzdoom-gpl/wadsrc/static/actors/hexen/magewand.txt
Christoph Oelckers 3d8d176087 - Added Gez's MageWandMissile customization patch but moved the new functionality
into the FastProjectile base class and removed the native MageWandMissile
  class, using the generic functionality instead.
- Fixed: GetReplacement and GetReplacee always checked the skill definitions,
  even if they weren't supposed to be used. It was also missing a range check
  for 'gameskill'.


SVN r1894 (trunk)
2009-10-03 17:07:11 +00:00

72 lines
1.2 KiB
Text

// The Mage's Wand ----------------------------------------------------------
ACTOR MWeapWand : MageWeapon
{
Game Hexen
Weapon.SelectionOrder 3600
Weapon.KickBack 0
Weapon.YAdjust 9
States
{
Select:
MWND A 1 A_Raise
Loop
Deselect:
MWND A 1 A_Lower
Loop
Ready:
MWND A 1 A_WeaponReady
Loop
Fire:
MWND A 6
MWND B 6 Bright Offset (0, 48) A_FireCustomMissile ("MageWandMissile")
MWND A 3 Offset (0, 40)
MWND A 3 Offset (0, 36) A_ReFire
Goto Ready
}
}
// Wand Smoke ---------------------------------------------------------------
ACTOR MageWandSmoke
{
+NOBLOCKMAP +NOGRAVITY +SHADOW
+NOTELEPORT +CANNOTPUSH +NODAMAGETHRUST
RenderStyle Translucent
Alpha 0.6
States
{
Spawn:
MWND CDCD 4
Stop
}
}
// Wand Missile -------------------------------------------------------------
ACTOR MageWandMissile : FastProjectile
{
Speed 184
Radius 12
Height 8
Damage 2
+RIPPER +CANNOTPUSH +NODAMAGETHRUST
+SPAWNSOUNDSOURCE
MissileType "MageWandSmoke"
SeeSound "MageWandFire"
States
{
Spawn:
MWND CD 4 Bright
Loop
Death:
MWND E 4 Bright
MWND F 3 Bright
MWND G 4 Bright
MWND H 3 Bright
MWND I 4 Bright
Stop
}
}