Classes:KnightGhost: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Actor| |
{{Actor| |
||
| type = Monster |
| type = Monster |
||
| name = Ghost |
| name = Ghost warrior |
||
| class = KnightGhost |
| class = KnightGhost |
||
| game = Heretic |
| game = Heretic |
||
| doomednum = 65 |
| doomednum = 65 |
||
| spawnid = 129 |
| spawnid = 129 |
||
| spawnname = T_KNIGHTGHOST |
| spawnname = T_KNIGHTGHOST |
||
| ⚫ | |||
}} |
|||
| ⚫ | |||
The |
The ghost version of the [[Classes:Knight|undead warrior]]. Contrarily to its skeletal variant, all his attacks use the more powerful [[Classes:RedAxe|bloody axe]] rather than the usual [[Classes:KnightAxe|ethereal axe]], this difference in behavior is handled by the native action [[A_KnightAttack]] rather than by the actor's [[DECORATE]] code. Being a ghost, physical projectiles, such as the [[Classes:PhoenixFX1|phoenix shot]] or the [[Classes:Mace|firemace]]'s attacks, pass through him without causing any harm. |
||
==== [[DECORATE]] definition ==== |
==== [[DECORATE]] definition ==== |
||
| ⚫ | |||
{{Note|text=The Undead Warrior Ghost's code has not been officially exported from the ZDoom EXE into the Decorate format. The definition below was provided by a user and may not be a 100% accurate recreation.}} |
|||
| ⚫ | |||
{ |
{ |
||
Game Heretic |
|||
SpawnID 129 |
|||
+SHADOW |
+SHADOW |
||
+GHOST |
+GHOST |
||
RenderStyle Translucent |
|||
renderstyle translucent |
|||
Alpha 0.4 |
|||
States |
|||
{ |
|||
Melee: |
|||
Missile: |
|||
KNIG E 10 A_FaceTarget |
|||
KNIG F 8 A_FaceTarget |
|||
KNIG G 8 A_CustomComboAttack("[[Classes:RedAxe|RedAxe]]",36,(3*random(1,10)),"hknight/melee") |
|||
KNIG E 10 A_FaceTarget |
|||
KNIG F 8 A_FaceTarget |
|||
KNIG G 8 A_CustomComboAttack("RedAxe",36,(3*random(1,10)),"hknight/melee") |
|||
goto See |
|||
} |
|||
} |
} |
||
Revision as of 23:02, 23 July 2008
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
| Ghost warrior | |||
|---|---|---|---|
| Actor type | Monster | Game | |
| DoomEd Number | 65 | Class Name | KnightGhost |
| Spawn ID | 129 | Identifier | T_KNIGHTGHOST |
The ghost version of the undead warrior. Contrarily to its skeletal variant, all his attacks use the more powerful bloody axe rather than the usual ethereal axe, this difference in behavior is handled by the native action A_KnightAttack rather than by the actor's DECORATE code. Being a ghost, physical projectiles, such as the phoenix shot or the firemace's attacks, pass through him without causing any harm.
DECORATE definition
ACTOR KnightGhost : Knight 65 { Game Heretic SpawnID 129 +SHADOW +GHOST RenderStyle Translucent Alpha 0.4 }