2008-08-08 10:24:08 +00:00
|
|
|
|
2008-08-12 14:30:07 +00:00
|
|
|
ACTOR StrifeWeapon : Weapon
|
2008-08-08 10:24:08 +00:00
|
|
|
{
|
2008-08-12 14:30:07 +00:00
|
|
|
Weapon.Kickback 100
|
2008-08-08 10:24:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Same as the bullet puff for Doom -----------------------------------------
|
|
|
|
|
|
|
|
ACTOR StrifePuff
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOGRAVITY
|
|
|
|
+ALLOWPARTICLES
|
|
|
|
RenderStyle Translucent
|
|
|
|
Alpha 0.25
|
|
|
|
|
|
|
|
states
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
POW3 ABCDEFGH 3
|
|
|
|
Stop
|
|
|
|
Crash:
|
|
|
|
PUFY A 4 Bright
|
|
|
|
PUFY BCD 4
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// A spark when you hit something that doesn't bleed ------------------------
|
|
|
|
// Only used by the dagger.
|
|
|
|
|
|
|
|
ACTOR StrifeSpark : StrifePuff
|
|
|
|
{
|
|
|
|
RenderStyle Add
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Crash:
|
|
|
|
POW2 ABCD 4
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Punch Dagger -------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR PunchDagger : StrifeWeapon
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
Weapon.SelectionOrder 3900
|
|
|
|
+WEAPON.NOALERT
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPPUNCHDAGGER"
|
|
|
|
Tag "$TAG_PUNCHDAGGER"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_JabDagger ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Ready:
|
|
|
|
PNCH A 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
PNCH A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
PNCH A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
PNCH B 4
|
|
|
|
PNCH C 4 A_JabDagger
|
|
|
|
PNCH D 5
|
|
|
|
PNCH C 4
|
|
|
|
PNCH B 5 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// The base for Strife projectiles that die with ZAP1 -----------------------
|
|
|
|
|
|
|
|
ACTOR StrifeZap1
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOGRAVITY
|
|
|
|
+DROPOFF
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
Death:
|
|
|
|
ZAP1 A 3 A_AlertMonsters
|
|
|
|
ZAP1 BCDEFE 3
|
|
|
|
ZAP1 DCB 2
|
|
|
|
ZAP1 A 1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Electric Bolt ------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR ElectricBolt : StrifeZap1
|
|
|
|
{
|
|
|
|
ConversationID 102,-1,-1
|
|
|
|
Speed 30
|
|
|
|
Radius 10
|
|
|
|
Height 10
|
|
|
|
Damage 10
|
|
|
|
Projectile
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
SeeSound "misc/swish"
|
|
|
|
ActiveSound "misc/swish"
|
|
|
|
DeathSound "weapons/xbowhit"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPELECTRICBOLT"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
AROW A 10 A_LoopActiveSound
|
|
|
|
Loop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Poison Bolt --------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR PoisonBolt native
|
|
|
|
{
|
|
|
|
ConversationID 102,-1,-1
|
|
|
|
Speed 30
|
|
|
|
Radius 10
|
|
|
|
Height 10
|
|
|
|
Damage 500
|
|
|
|
Projectile
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
SeeSound "misc/swish"
|
|
|
|
ActiveSound "misc/swish"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPPOISONBOLT"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
ARWP A 10 A_LoopActiveSound
|
|
|
|
Loop
|
|
|
|
Death:
|
|
|
|
AROW A 1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Strife's Crossbow --------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR StrifeCrossbow : StrifeWeapon 2001
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
+FLOORCLIP
|
|
|
|
ConversationID 194, 188, 192
|
|
|
|
Weapon.SelectionOrder 1200
|
|
|
|
+WEAPON.NOALERT
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 8
|
|
|
|
Weapon.AmmoType1 "ElectricBolts"
|
|
|
|
Weapon.SisterWeapon "StrifeCrossbow2"
|
|
|
|
Inventory.PickupMessage "$TXT_STRIFECROSSBOW"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_STRIFECROSSBOW1"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.Icon "CBOWA0"
|
|
|
|
|
|
|
|
action native A_ClearFlash ();
|
|
|
|
action native A_ShowElectricFlash ();
|
|
|
|
action native A_FireArrow (class<Actor> proj);
|
|
|
|
|
|
|
|
states
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
CBOW A -1
|
|
|
|
Stop
|
|
|
|
Ready:
|
|
|
|
XBOW A 0 A_ShowElectricFlash
|
|
|
|
XBOW A 1 A_WeaponReady
|
|
|
|
Wait
|
|
|
|
Deselect:
|
|
|
|
XBOW A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
XBOW A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
XBOW A 3 A_ClearFlash
|
|
|
|
XBOW B 6 A_FireArrow("ElectricBolt")
|
|
|
|
XBOW C 4
|
|
|
|
XBOW D 6
|
|
|
|
XBOW E 3
|
|
|
|
XBOW F 5
|
|
|
|
XBOW G 0 A_ShowElectricFlash
|
|
|
|
XBOW G 5 A_CheckReload
|
2008-08-11 21:05:43 +00:00
|
|
|
Goto Ready+1
|
2008-08-08 10:24:08 +00:00
|
|
|
Flash:
|
|
|
|
XBOW KLM 5
|
|
|
|
Loop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ACTOR StrifeCrossbow2 : StrifeCrossbow
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
Weapon.SelectionOrder 2700
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 0
|
|
|
|
Weapon.AmmoType1 "PoisonBolts"
|
|
|
|
Weapon.SisterWeapon "StrifeCrossbow"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_STRIFECROSSBOW2"
|
2009-02-20 00:53:25 +00:00
|
|
|
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Ready:
|
|
|
|
XBOW H 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
XBOW H 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
XBOW H 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
XBOW H 3
|
|
|
|
XBOW B 6 A_FireArrow("PoisonBolt")
|
|
|
|
XBOW C 4
|
|
|
|
XBOW D 6
|
|
|
|
XBOW E 3
|
|
|
|
XBOW I 5
|
|
|
|
XBOW J 5 A_CheckReload
|
|
|
|
Goto Ready
|
|
|
|
Flash:
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Assault Gun --------------------------------------------------------------
|
|
|
|
|
|
|
|
actor AssaultGun : StrifeWeapon 2002
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 188, 182, 186
|
|
|
|
+FLOORCLIP
|
|
|
|
Weapon.SelectionOrder 600
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 20
|
|
|
|
Weapon.AmmoType1 "ClipOfBullets"
|
|
|
|
Inventory.Icon "RIFLA0"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_ASSAULTGUN"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.PickupMessage "$TXT_ASSAULTGUN"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPASSAULTGUN"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
RIFL A -1
|
|
|
|
Stop
|
|
|
|
Ready:
|
|
|
|
RIFG A 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
RIFG B 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
RIFG A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
RIFF AB 3 A_FireAssaultGun
|
|
|
|
RIFG D 3 A_FireAssaultGun
|
|
|
|
RIFG C 0 A_ReFire
|
|
|
|
RIFG B 2 A_Light0
|
|
|
|
Goto Ready
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Standing variant of the assault gun --------------------------------------
|
|
|
|
|
|
|
|
ACTOR AssaultGunStanding : WeaponGiver 2006
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 189, 183, 187
|
|
|
|
DropItem "AssaultGun"
|
|
|
|
Inventory.PickupMessage "$TXT_ASSAULTGUN"
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
RIFL B -1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Mini-Missile Launcher ----------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
ACTOR MiniMissileLauncher : StrifeWeapon 2003
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 192, 186, 190
|
|
|
|
+FLOORCLIP
|
|
|
|
Weapon.SelectionOrder 1800
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 8
|
|
|
|
Weapon.AmmoType1 "MiniMissiles"
|
|
|
|
Inventory.Icon "MMSLA0"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_MMLAUNCHER"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.PickupMessage "$TXT_MMLAUNCHER"
|
|
|
|
|
|
|
|
action native A_FireMiniMissile ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
MMSL A -1
|
|
|
|
Stop
|
|
|
|
Ready:
|
|
|
|
MMIS A 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
MMIS A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
MMIS A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
MMIS A 4 A_FireMiniMissile
|
|
|
|
MMIS B 4 A_Light1
|
|
|
|
MMIS C 5 Bright
|
|
|
|
MMIS D 2 Bright A_Light2
|
|
|
|
MMIS E 2 Bright
|
|
|
|
MMIS F 2 Bright A_Light0
|
|
|
|
MMIS F 0 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Rocket Trail -------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR RocketTrail
|
|
|
|
{
|
|
|
|
ConversationID 51,-1,-1
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOGRAVITY
|
|
|
|
RenderStyle Translucent
|
|
|
|
Alpha 0.25
|
|
|
|
SeeSound "misc/missileinflight"
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
PUFY BCBCD 4
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Rocket Puff --------------------------------------------------------------
|
|
|
|
|
2008-08-11 21:05:43 +00:00
|
|
|
ACTOR MiniMissilePuff : StrifePuff
|
2008-08-08 10:24:08 +00:00
|
|
|
{
|
|
|
|
-ALLOWPARTICLES
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
Goto Crash
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Mini Missile -------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR MiniMissile
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
ConversationID 99,-1,-1
|
|
|
|
Speed 20
|
|
|
|
Radius 10
|
|
|
|
Height 14
|
|
|
|
Damage 10
|
|
|
|
Projectile
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
SeeSound "weapons/minimissile"
|
|
|
|
DeathSound "weapons/minimissilehit"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPMINIMISSILELAUNCHER"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
MICR A 6 Bright A_RocketInFlight
|
|
|
|
Loop
|
|
|
|
Death:
|
|
|
|
SMIS A 0 Bright A_SetTranslucent(1,1)
|
|
|
|
SMIS A 0 Bright A_StopSoundEx("Voice")
|
|
|
|
SMIS A 5 Bright A_Explode(64,64,1,1)
|
|
|
|
SMIS B 5 Bright
|
|
|
|
SMIS C 4 Bright
|
|
|
|
SMIS DEFG 2 Bright
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Flame Thrower ------------------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR FlameThrower : StrifeWeapon 2005
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 190, 184, 188
|
|
|
|
+FLOORCLIP
|
|
|
|
Weapon.SelectionOrder 2100
|
|
|
|
Weapon.Kickback 0
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 100
|
|
|
|
Weapon.UpSound "weapons/flameidle"
|
|
|
|
Weapon.ReadySound "weapons/flameidle"
|
|
|
|
Weapon.AmmoType1 "EnergyPod"
|
|
|
|
Inventory.Icon "FLAMA0"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_FLAMER"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.PickupMessage "$TXT_FLAMER"
|
|
|
|
|
|
|
|
action native A_FireFlamer ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
FLAM A -1
|
|
|
|
Stop
|
|
|
|
Ready:
|
|
|
|
FLMT AB 3 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
FLMT A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
FLMT A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
FLMF A 2 A_FireFlamer
|
|
|
|
FLMF B 3 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Flame Thrower Projectile -------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR FlameMissile
|
|
|
|
{
|
|
|
|
Speed 15
|
|
|
|
Height 11
|
|
|
|
Radius 8
|
|
|
|
Mass 10
|
|
|
|
Damage 4
|
|
|
|
DamageType Fire
|
|
|
|
ReactionTime 8
|
|
|
|
Projectile
|
|
|
|
-NOGRAVITY
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
RenderStyle Add
|
|
|
|
SeeSound "weapons/flamethrower"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPFLAMETHROWER"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_FlameDie ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
FRBL AB 3 Bright
|
|
|
|
FRBL C 3 Bright A_Countdown
|
|
|
|
Loop
|
|
|
|
Death:
|
|
|
|
FRBL D 5 Bright A_FlameDie
|
|
|
|
FRBL EFGHI 5 Bright
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Mauler -------------------------------------------------------------------
|
|
|
|
// The scatter version
|
|
|
|
|
|
|
|
ACTOR Mauler : StrifeWeapon 2004
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 193, 187, 191
|
|
|
|
+FLOORCLIP
|
|
|
|
Weapon.SelectionOrder 300
|
|
|
|
Weapon.AmmoUse1 20
|
|
|
|
Weapon.AmmoGive1 40
|
|
|
|
Weapon.AmmoType1 "EnergyPod"
|
|
|
|
Weapon.SisterWeapon "Mauler2"
|
|
|
|
Inventory.Icon "TRPDA0"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_MAULER1"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.PickupMessage "$TXT_MAULER"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPMAULER1"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_FireMauler1 ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Ready:
|
|
|
|
MAUL FGHA 6 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
MAUL A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
MAUL A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
BLSF A 5 Bright A_FireMauler1
|
|
|
|
MAUL B 3 Bright A_Light1
|
|
|
|
MAUL C 2 A_Light2
|
|
|
|
MAUL DE 2
|
|
|
|
MAUL A 7 A_Light0
|
|
|
|
MAUL H 7
|
|
|
|
MAUL G 7 A_CheckReload
|
|
|
|
Goto Ready
|
|
|
|
Spawn:
|
|
|
|
TRPD A -1
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Mauler Torpedo version ---------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR Mauler2 : Mauler
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
Weapon.SelectionOrder 3300
|
|
|
|
Weapon.AmmoUse1 30
|
|
|
|
Weapon.AmmoGive1 0
|
|
|
|
Weapon.AmmoType1 "EnergyPod"
|
|
|
|
Weapon.SisterWeapon "Mauler"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPMAULER2"
|
|
|
|
Tag "$TAG_MAULER2"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_FireMauler2Pre ();
|
|
|
|
action native A_FireMauler2 ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Ready:
|
|
|
|
MAUL IJKL 7 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
MAUL I 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
MAUL I 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
MAUL I 20 A_FireMauler2Pre
|
|
|
|
MAUL J 10 A_Light1
|
|
|
|
BLSF A 10 Bright A_FireMauler2
|
2008-08-11 21:05:43 +00:00
|
|
|
MAUL B 10 Bright A_Light2
|
2008-08-08 10:24:08 +00:00
|
|
|
MAUL C 2
|
|
|
|
MAUL D 2 A_Light0
|
|
|
|
MAUL E 2 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Mauler "Bullet" Puff -----------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR MaulerPuff
|
|
|
|
{
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+NOGRAVITY
|
|
|
|
+PUFFONACTORS
|
|
|
|
RenderStyle Add
|
|
|
|
DamageType Disintegrate
|
|
|
|
states
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
MPUF AB 5
|
|
|
|
POW1 ABCDE 4
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// The Mauler's Torpedo -----------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR MaulerTorpedo
|
|
|
|
{
|
|
|
|
Speed 20
|
|
|
|
Height 8
|
|
|
|
Radius 13
|
|
|
|
Damage 1
|
|
|
|
DamageType Disintegrate
|
|
|
|
Projectile
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
RenderStyle Add
|
|
|
|
SeeSound "weapons/mauler2fire"
|
|
|
|
DeathSound "weapons/mauler2hit"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPMAULER"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_MaulerTorpedoWave ();
|
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
TORP ABCD 4 Bright
|
|
|
|
Loop
|
|
|
|
Death:
|
|
|
|
THIT AB 8 Bright
|
|
|
|
THIT C 8 Bright A_MaulerTorpedoWave
|
|
|
|
THIT DE 8 Bright
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// The mini torpedoes shot by the big torpedo --------------------------------
|
|
|
|
|
|
|
|
ACTOR MaulerTorpedoWave
|
|
|
|
{
|
|
|
|
Speed 35
|
|
|
|
Radius 13
|
|
|
|
Height 13
|
|
|
|
Damage 10
|
|
|
|
DamageType Disintegrate
|
|
|
|
Projectile
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
MaxStepHeight 4
|
|
|
|
RenderStyle Add
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPMAULER"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
2008-08-11 21:05:43 +00:00
|
|
|
TWAV AB 9 Bright
|
|
|
|
Death:
|
|
|
|
TWAV C 9 Bright
|
2008-08-08 10:24:08 +00:00
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// High-Explosive Grenade ---------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR HEGrenade
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
ConversationID 106,-1,-1
|
|
|
|
Speed 15
|
|
|
|
Radius 13
|
|
|
|
Height 13
|
|
|
|
Mass 20
|
|
|
|
Damage 1
|
|
|
|
Reactiontime 30
|
|
|
|
Projectile
|
|
|
|
-NOGRAVITY
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
+BOUNCEONACTORS
|
|
|
|
+EXPLODEONWATER
|
|
|
|
MaxStepHeight 4
|
2009-05-23 08:30:36 +00:00
|
|
|
BounceType "Doom"
|
2008-08-08 10:24:08 +00:00
|
|
|
BounceFactor 0.5
|
|
|
|
BounceCount 2
|
|
|
|
SeeSound "weapons/hegrenadeshoot"
|
|
|
|
DeathSound "weapons/hegrenadebang"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPSTRIFEGRENADE"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
GRAP AB 3 A_Countdown
|
|
|
|
Loop
|
|
|
|
Death:
|
|
|
|
BNG4 A 0 Bright A_NoGravity
|
|
|
|
BNG4 A 0 Bright A_SetTranslucent(1,1)
|
|
|
|
BNG4 A 2 Bright A_Explode(192,192,1,1)
|
|
|
|
BNG4 BCDEFGHIJKLMN 3 Bright
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// White Phosphorous Grenade ------------------------------------------------
|
|
|
|
|
|
|
|
ACTOR PhosphorousGrenade
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
ConversationID 107,-1,-1
|
|
|
|
Speed 15
|
|
|
|
Radius 13
|
|
|
|
Height 13
|
|
|
|
Mass 20
|
|
|
|
Damage 1
|
|
|
|
Reactiontime 40
|
|
|
|
Projectile
|
|
|
|
-NOGRAVITY
|
|
|
|
+STRIFEDAMAGE
|
|
|
|
+BOUNCEONACTORS
|
|
|
|
+EXPLODEONWATER
|
2009-05-23 08:30:36 +00:00
|
|
|
BounceType "Doom"
|
2008-08-08 10:24:08 +00:00
|
|
|
MaxStepHeight 4
|
|
|
|
BounceFactor 0.5
|
|
|
|
BounceCount 2
|
|
|
|
SeeSound "weapons/phgrenadeshoot"
|
|
|
|
DeathSound "weapons/phgrenadebang"
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPPHOSPHOROUSGRENADE"
|
2008-08-08 10:24:08 +00:00
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
GRIN AB 3 A_Countdown
|
|
|
|
Loop
|
|
|
|
Death:
|
2008-08-11 21:05:43 +00:00
|
|
|
BNG3 A 2 A_SpawnItemEx("PhosphorousFire")
|
2008-08-08 10:24:08 +00:00
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Fire from the Phoshorous Grenade -----------------------------------------
|
|
|
|
|
|
|
|
ACTOR PhosphorousFire native
|
|
|
|
{
|
|
|
|
Reactiontime 120
|
|
|
|
DamageType Fire
|
|
|
|
+NOBLOCKMAP
|
|
|
|
+FLOORCLIP
|
|
|
|
+NOTELEPORT
|
|
|
|
+NODAMAGETHRUST
|
2009-10-17 11:30:44 +00:00
|
|
|
+DONTSPLASH
|
2008-08-08 10:24:08 +00:00
|
|
|
RenderStyle Add
|
2010-08-18 20:26:25 +00:00
|
|
|
Obituary "$OB_MPPHOSPHOROUSGRENADE"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
action native A_Burnarea ();
|
|
|
|
action native A_Burnination ();
|
|
|
|
|
|
|
|
states
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
BNG3 B 2 Bright A_Burnarea
|
|
|
|
BNG3 C 2 Bright A_Countdown
|
|
|
|
FLBE A 2 Bright A_Burnination
|
|
|
|
FLBE B 2 Bright A_Countdown
|
|
|
|
FLBE C 2 Bright A_Burnarea
|
|
|
|
FLBE D 3 Bright A_Countdown
|
|
|
|
FLBE E 3 Bright A_Burnarea
|
|
|
|
FLBE F 3 Bright A_Countdown
|
|
|
|
FLBE G 3 Bright A_Burnination
|
|
|
|
Goto Spawn+5
|
|
|
|
Death:
|
|
|
|
FLBE H 2 Bright
|
|
|
|
FLBE I 2 Bright A_Burnination
|
|
|
|
FLBE JK 2 Bright
|
|
|
|
Stop
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// High-Explosive Grenade Launcher ------------------------------------------
|
|
|
|
|
|
|
|
ACTOR StrifeGrenadeLauncher : StrifeWeapon 154
|
|
|
|
{
|
|
|
|
Game Strife
|
|
|
|
ConversationID 195, 189, 193
|
|
|
|
+FLOORCLIP
|
|
|
|
Weapon.SelectionOrder 2400
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 12
|
|
|
|
Weapon.AmmoType1 "HEGrenadeRounds"
|
|
|
|
Weapon.SisterWeapon "StrifeGrenadeLauncher2"
|
|
|
|
Inventory.Icon "GRNDA0"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_GLAUNCHER1"
|
2008-08-08 10:24:08 +00:00
|
|
|
Inventory.PickupMessage "$TXT_GLAUNCHER"
|
|
|
|
|
2008-08-11 22:28:14 +00:00
|
|
|
action native A_FireGrenade (class<Actor> grenadetype, int angleofs, state flash);
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Spawn:
|
|
|
|
GRND A -1
|
|
|
|
Stop
|
|
|
|
Ready:
|
|
|
|
GREN A 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
GREN A 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
GREN A 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
GREN A 5 A_FireGrenade("HEGrenade", -90, "Flash")
|
|
|
|
GREN B 10
|
|
|
|
GREN A 5 A_FireGrenade("HEGrenade", 90, "Flash2")
|
|
|
|
GREN C 10
|
|
|
|
GREN A 0 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
Flash:
|
|
|
|
GREF A 5 Bright A_Light1
|
|
|
|
Goto LightDone
|
|
|
|
Flash2:
|
|
|
|
GREF B 5 Bright A_Light2
|
|
|
|
Goto LightDone
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
// White Phosphorous Grenade Launcher ---------------------------------------
|
|
|
|
|
|
|
|
ACTOR StrifeGrenadeLauncher2 : StrifeGrenadeLauncher
|
|
|
|
{
|
2009-02-20 00:53:25 +00:00
|
|
|
Game Strife
|
2008-08-08 10:24:08 +00:00
|
|
|
Weapon.SelectionOrder 3200
|
|
|
|
Weapon.AmmoUse1 1
|
|
|
|
Weapon.AmmoGive1 0
|
|
|
|
Weapon.AmmoType1 "PhosphorusGrenadeRounds"
|
|
|
|
Weapon.SisterWeapon "StrifeGrenadeLauncher"
|
2010-08-18 20:26:25 +00:00
|
|
|
Tag "$TAG_GLAUNCHER2"
|
2008-08-08 10:24:08 +00:00
|
|
|
|
|
|
|
States
|
|
|
|
{
|
|
|
|
Ready:
|
|
|
|
GREN D 1 A_WeaponReady
|
|
|
|
Loop
|
|
|
|
Deselect:
|
|
|
|
GREN D 1 A_Lower
|
|
|
|
Loop
|
|
|
|
Select:
|
|
|
|
GREN D 1 A_Raise
|
|
|
|
Loop
|
|
|
|
Fire:
|
|
|
|
GREN D 5 A_FireGrenade("PhosphorousGrenade", -90, "Flash")
|
|
|
|
GREN E 10
|
|
|
|
GREN D 5 A_FireGrenade("PhosphorousGrenade", 90, "Flash2")
|
|
|
|
GREN F 10
|
|
|
|
GREN A 0 A_ReFire
|
|
|
|
Goto Ready
|
|
|
|
Flash:
|
|
|
|
GREF C 5 Bright A_Light1
|
|
|
|
Goto LightDone
|
|
|
|
Flash2:
|
|
|
|
GREF D 5 Bright A_Light2
|
|
|
|
Goto LightDone
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|