|
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
- You do not need to copy that actor, since it is already defined.
- In fact, it's not just useless, it's actually harmful as it can cause problems.
- If you want to modify it, or use a modified version, using inheritance is the way to go.
- The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
- There is only one exception: if what you want is changing Ammo capacity, you need to create a new type from Ammo.
|
Ophidian
|
Actor type
|
Monster
|
Game
|
(Heretic)
|
DoomEd Number
|
92
|
Class Name
|
Snake
|
Spawn ID
|
132
|
Identifier
|
T_SNAKE
|
Classes: Snake
A serpentine enemy wielding a magic trident able to throw projectiles of ice and fire. They are tougher than they look.
ACTOR Snake
{
Health 280
Radius 22
Height 70
Speed 10
PainChance 48
Monster
+FLOORCLIP
AttackSound "snake/attack"
SeeSound "snake/sight"
PainSound "snake/pain"
DeathSound "snake/death"
ActiveSound "snake/active"
Obituary "$OB_SNAKE"
DropItem "PhoenixRodAmmo", 84, 5
States
{
Spawn:
SNKE AB 10 A_Look
Loop
See:
SNKE ABCD 4 A_Chase
Loop
Missile:
SNKE FF 5 A_FaceTarget
SNKE FFF 4 A_CustomMissile("SnakeProjA", 32, 0, 0, CMF_CHECKTARGETDEAD)
SNKE FFF 5 A_FaceTarget
SNKE F 4 A_CustomMissile("SnakeProjB", 32, 0, 0, CMF_CHECKTARGETDEAD)
Goto See
Pain:
SNKE E 3
SNKE E 3 A_Pain
Goto See
Death:
SNKE G 5
SNKE H 5 A_Scream
SNKE IJKL 5
SNKE M 5 A_NoBlocking
SNKE NO 5
SNKE P -1
Stop
}
}