mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-24 12:51:09 +00:00
61cc7dbb29
- fixed parsing of named damage types and pain chances.
141 lines
1.8 KiB
Text
141 lines
1.8 KiB
Text
// Fire Ball ----------------------------------------------------------------
|
|
|
|
class FireBall : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 2;
|
|
Radius 8;
|
|
Height 8;
|
|
Damage 4;
|
|
DamageType "Fire";
|
|
+NOBLOCKMAP +NOGRAVITY +DROPOFF +MISSILE
|
|
+NOTELEPORT
|
|
RenderStyle "Add";
|
|
DeathSound "Fireball";
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
FBL1 AB 4 Bright;
|
|
Loop;
|
|
Death:
|
|
XPL1 ABCDEF 4 Bright;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Arrow --------------------------------------------------------------------
|
|
|
|
class Arrow : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 6;
|
|
Radius 8;
|
|
Height 4;
|
|
Damage 4;
|
|
+NOBLOCKMAP +NOGRAVITY +DROPOFF +MISSILE
|
|
+NOTELEPORT
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
ARRW A -1;
|
|
Stop;
|
|
Death:
|
|
ARRW A 1;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Dart ---------------------------------------------------------------------
|
|
|
|
class Dart : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 6;
|
|
Radius 8;
|
|
Height 4;
|
|
Damage 2;
|
|
+NOBLOCKMAP +NOGRAVITY +DROPOFF +MISSILE
|
|
+NOTELEPORT
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
DART A -1;
|
|
Stop;
|
|
Death:
|
|
DART A 1;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Poison Dart --------------------------------------------------------------
|
|
|
|
class PoisonDart : Dart
|
|
{
|
|
Default
|
|
{
|
|
PoisonDamage 20;
|
|
}
|
|
}
|
|
|
|
// Ripper Ball --------------------------------------------------------------
|
|
|
|
class RipperBall : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 6;
|
|
Radius 8;
|
|
Damage 2;
|
|
+NOBLOCKMAP +NOGRAVITY +DROPOFF +MISSILE
|
|
+NOTELEPORT +RIPPER
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
RIPP ABC 3;
|
|
Loop;
|
|
Death:
|
|
CFCF Q 4 Bright;
|
|
CFCF R 3 Bright;
|
|
CFCF S 4 Bright;
|
|
CFCF T 3 Bright;
|
|
CFCF U 4 Bright;
|
|
CFCF V 3 Bright;
|
|
CFCF W 4 Bright;
|
|
CFCF X 3 Bright;
|
|
CFCF Y 4 Bright;
|
|
CFCF Z 3 Bright;
|
|
Stop;
|
|
}
|
|
}
|
|
|
|
// Projectile Blade ---------------------------------------------------------
|
|
|
|
class ProjectileBlade : Actor
|
|
{
|
|
Default
|
|
{
|
|
Speed 6;
|
|
Radius 6;
|
|
Height 6;
|
|
Damage 3;
|
|
+NOBLOCKMAP +NOGRAVITY +DROPOFF +MISSILE
|
|
+NOTELEPORT
|
|
}
|
|
States
|
|
{
|
|
Spawn:
|
|
BLAD A -1;
|
|
Stop;
|
|
Death:
|
|
BLAD A 1;
|
|
Stop;
|
|
}
|
|
}
|
|
|