Difference between revisions of "Classes:Guard"
From ECWolf Wiki
Hair Machine (talk | contribs) (Created page with "{{Actor| | type = Internal | name = Guard | class = Guard }}Classes: {{Class}} → {{Class|WolfensteinMonster}} → Guard<br> == Overview == A brown-uniformed castl...") |
(No difference)
|
Revision as of 13:13, 6 January 2013
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
| Guard | |||
|---|---|---|---|
| Actor type | Internal | Game | |
| DoomEd Number | None | Class Name | Guard |
Classes: Actor → WolfensteinMonster → Guard
Overview
A brown-uniformed castle security guard, attacking with a pistol. The most commonplace enemy in the game.
DECORATE Definition
actor WolfensteinMonster
{
points 100
health 25
speed 1, 3
sighttime 1, 4
dropitem "Clip"
attacksound "guard/attack"
deathsound "guard/death"
secretdeathsound "guard/fart"
seesound "guard/fart"
states
{
Spawn:
GARD A -1 NOP A_Look
stop
Path:
GARD B 10 NOP A_Chase
GARD B 2.5
GARD C 7.5 NOP A_Chase
GARD D 10 NOP A_Chase
GARD D 2.5
GARD E 7.5 NOP A_Chase
loop
See:
GARD B 5 NOP A_Chase
GARD B 1.5
GARD C 4 NOP A_Chase
GARD D 5 NOP A_Chase
GARD D 1.5
GARD E 4 NOP A_Chase
loop
Missile:
GARD FG 10 A_FaceTarget
GARD H 10 bright A_WolfAttack
goto See
Pain:
GARD I 5 A_JumpIf(health & 1, 1)
goto See
GARD J 5
goto See
Death:
GARD K 7.5 A_Fall
GARD L 7.5 A_Scream
GARD M 7.5
GARD N -1
stop
}
}