Classes:KnightGhost: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
added decorate def |
Blue Shadow (talk | contribs) m →DECORATE definition: Updated |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
{{Actor| |
|||
| ⚫ | |||
| type = Monster |
|||
| name = Ghost warrior |
|||
| class = KnightGhost |
|||
| game = Heretic |
|||
| doomednum = 65 |
|||
| spawnid = 129 |
|||
| 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.}} |
|||
| ⚫ | |||
{ |
{ |
||
+SHADOW |
+{{Flag|SHADOW}} |
||
+GHOST |
+{{Flag|GHOST}} |
||
{{Property|RenderStyle}} Translucent |
|||
renderstyle translucent |
|||
{{Property|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 |
|||
} |
|||
} |
} |
||
Latest revision as of 21:02, 30 April 2015
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 { +SHADOW +GHOST RenderStyle Translucent Alpha 0.4 }