Classes:Archvile
From ZDoom Wiki
| Arch-Vile | |||
|---|---|---|---|
| Actor type | Monster | Game | |
| DoomEd Number | 64 | Class Name | Archvile |
| Spawn ID | 111 | Identifier | T_VILE |
Classes: Archvile
→StealthArchvile
The Archvile's primary attack sends a huge flame into its target, which then punts it up into the air and knocking large amounts of health. The only way to dodge it is to get behind a wall fast, or hurt the Archvile before it can complete the attack. The Archvile can also resurrect it's hellish brethren. However, Archviles cannot resurrect the Cyberdemon, Spider Mastermind, Lost Soul, Pain Elemental, or fellow Archviles. The Archvile is lacking from the console versions of Doom.
The Archvile can only resurrect an actor if they have a Raise state in their Decorate definition. By default, the large enemies (listed above) do not have this state and so the Archvile won't attempt to resurrect them. If you want to create a new actor inherited from one with a Raise state, but don't want the new monster to be resurrectable, you can disable the Raise state using the following code in your actor:
Raise: stop
DECORATE definition
actor Archvile 64
{
spawnid 111
obituary "%o was incinerated by an archvile."
health 700
radius 20
height 56
mass 500
speed 15
painchance 10
seesound "vile/sight"
painsound "vile/pain"
deathsound "vile/death"
activesound "vile/active"
MONSTER
+FLOORCLIP
+NOTARGET
+QUICKTORETALIATE
+SHORTMISSILERANGE
states
{
Spawn:
VILE AB 10 A_Look
loop
See:
VILE AABBCCDDEEFF 2 A_VileChase
loop
Missile:
VILE G 0 bright A_VileStart
VILE G 10 bright A_FaceTarget
VILE H 8 bright A_VileTarget // See ArchvileFire
VILE IJKLMN 8 bright A_FaceTarget
VILE O 8 bright A_VileAttack
VILE P 20 bright
goto See
Heal:
VILE [\] 10 bright
goto See
Pain:
VILE Q 5
VILE Q 5 A_Pain
goto See
Death:
VILE Q 7
VILE R 7 A_Scream
VILE S 7 A_NoBlocking
VILE TUVW 7
VILE XY 5
VILE Z -1
stop
}
}

