mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
f9523a01e3
SVN r2552 (trunk)
93 lines
1.4 KiB
Text
93 lines
1.4 KiB
Text
|
|
// The Mage's Frost Cone ----------------------------------------------------
|
|
|
|
ACTOR MWeapFrost : MageWeapon 53
|
|
{
|
|
Game Hexen
|
|
SpawnID 36
|
|
+BLOODSPLATTER
|
|
Weapon.SelectionOrder 1700
|
|
Weapon.AmmoUse1 3
|
|
Weapon.AmmoGive1 25
|
|
Weapon.KickBack 150
|
|
Weapon.YAdjust 20
|
|
Weapon.AmmoType1 "Mana1"
|
|
Inventory.PickupMessage "$TXT_WEAPON_M2"
|
|
Obituary "$OB_MPMWEAPFROST"
|
|
Tag "$TAG_MWEAPFROST"
|
|
|
|
action native A_FireConePL1();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
WMCS ABC 8 Bright
|
|
Loop
|
|
Select:
|
|
CONE A 1 A_Raise
|
|
Loop
|
|
Deselect:
|
|
CONE A 1 A_Lower
|
|
Loop
|
|
Ready:
|
|
CONE A 1 A_WeaponReady
|
|
Loop
|
|
Fire:
|
|
CONE B 3
|
|
CONE C 4
|
|
Hold:
|
|
CONE D 3
|
|
CONE E 5
|
|
CONE F 3 A_FireConePL1
|
|
CONE G 3
|
|
CONE A 9
|
|
CONE A 10 A_ReFire
|
|
Goto Ready
|
|
}
|
|
}
|
|
|
|
// Frost Missile ------------------------------------------------------------
|
|
|
|
ACTOR FrostMissile native
|
|
{
|
|
Speed 25
|
|
Radius 13
|
|
Height 8
|
|
Damage 1
|
|
DamageType "Ice"
|
|
Projectile
|
|
DeathSound "MageShardsExplode"
|
|
Obituary "$OB_MPMWEAPFROST"
|
|
|
|
action native A_ShedShard();
|
|
|
|
States
|
|
{
|
|
Spawn:
|
|
SHRD A 2 Bright
|
|
SHRD A 3 Bright A_ShedShard
|
|
SHRD B 3 Bright
|
|
SHRD C 3 Bright
|
|
Loop
|
|
Death:
|
|
SHEX ABCDE 5 Bright
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Ice Shard ----------------------------------------------------------------
|
|
|
|
ACTOR IceShard : FrostMissile
|
|
{
|
|
Game Hexen
|
|
SpawnID 65
|
|
DamageType "Ice"
|
|
-ACTIVATEIMPACT
|
|
-ACTIVATEPCROSS
|
|
States
|
|
{
|
|
Spawn:
|
|
SHRD ABC 3 Bright
|
|
Loop
|
|
}
|
|
}
|