|
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
- This actor is already defined in GZDoom, there's no reason to define it again.
- In fact, trying to define an actor with the same name will cause an error (because it already exists).
- If you want to make your own version of this actor, use inheritance.
- Definitions for existing actors are put on the wiki for reference purpose only.
|
Reaver
|
Actor type
|
Monster
|
Game
|
(Strife)
|
DoomEd Number
|
3001
|
Class Name
|
Reaver
|
Classes: Reaver
Reavers are enemies from Strife. From range, they shoot bullets at you, which can take you quite some health, so be careful. If they get close, they attempt to slice you with a blade. They don't have much health but can deal some good damage, especially in groups.
ACTOR Reaver
{
Health 150
PainChance 128
Speed 12
Radius 20
Height 60
Monster
+NOBLOOD
+INCOMBAT
MinMissileChance 150
MaxDropoffHeight 32
Mass 500
SeeSound "reaver/sight"
PainSound "reaver/pain"
DeathSound "reaver/death"
ActiveSound "reaver/active"
HitObituary "$OB_REAVERHIT" // "%o was sliced open by a Reaver."
Obituary "$OB_REAVER" // "%o was shot down by a Reaver."
action native A_ReaverRanged();
States
{
Spawn:
ROB1 A 10 A_Look
Loop
See:
ROB1 BBCCDDEE 3 A_Chase
Loop
Melee:
ROB1 H 6 Slow A_FaceTarget
ROB1 I 8 Slow A_CustomMeleeAttack(random[ReaverMelee](1, 8)*3, "reaver/blade")
ROB1 H 6 Slow
Goto See
Missile:
ROB1 F 8 Slow A_FaceTarget
ROB1 G 11 Slow Bright A_ReaverRanged
Goto See
Pain:
ROB1 A 2 Slow
ROB1 A 2 A_Pain
Goto See
Death:
ROB1 J 6
ROB1 K 6 A_Scream
ROB1 L 5
ROB1 M 5 A_NoBlocking
ROB1 NOP 5
ROB1 Q 6 A_Explode(32, 32, 1, 1)
ROB1 R -1
Stop
XDeath:
ROB1 L 5 A_TossGib
ROB1 M 5 A_Scream
ROB1 N 5 A_TossGib
ROB1 O 5 A_NoBlocking
ROB1 P 5 A_TossGib
Goto Death+7
}
}