mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-14 08:30:49 +00:00
53 lines
623 B
Text
53 lines
623 B
Text
|
|
class StrifeWeapon : Weapon
|
|
{
|
|
Default
|
|
{
|
|
Weapon.Kickback 100;
|
|
}
|
|
}
|
|
|
|
// Same as the bullet puff for Doom -----------------------------------------
|
|
|
|
class StrifePuff : Actor
|
|
{
|
|
Default
|
|
{
|
|
+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.
|
|
|
|
class StrifeSpark : StrifePuff
|
|
{
|
|
Default
|
|
{
|
|
+ZDOOMTRANS
|
|
RenderStyle "Add";
|
|
}
|
|
States
|
|
{
|
|
Crash:
|
|
POW2 ABCD 4;
|
|
Stop;
|
|
}
|
|
}
|
|
|