Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "Knight"

From Quake Wiki

m
m (gibs)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Infobox Monster
 
{{Infobox Monster
|name=Knight
+
| name = Knight
|entity=monster_knight
+
| image = monster_quake_knight.png
|model=knight.mdl<br />h_knight.mdl (head gib)
+
| manualtext = Canned meat. Open 'er up and see if it's still fresh.
|health=75
+
| health = 75
|attacks=Sword
+
| gibthresh = -40
|drop=nothing
+
| attacks = Sword
|1stappearance=[[e1m2]]
+
| drop = nothing
|gameversion=Shareware
+
| 1stappearance = [[e1m2]]
 +
| gameversion = Shareware
 +
| deathmessage = Player was slashed by a Knight
 
}}
 
}}
[[Image:Knight.gif|left]]
+
 
 
'''Knights''' have a sharp sword and strong arms, but their drawback is their lack of a ranged attack. Two good spanks from the [[Double-Barrelled Shotgun]] will work (or, more efficiently, a [[Shotgun]] blast immediately followed by a double-barrelled shot).
 
'''Knights''' have a sharp sword and strong arms, but their drawback is their lack of a ranged attack. Two good spanks from the [[Double-Barrelled Shotgun]] will work (or, more efficiently, a [[Shotgun]] blast immediately followed by a double-barrelled shot).
  
''"Canned meat. Open 'er up and see if it's still fresh."''
+
==Tactics==
 +
 
 +
 
 +
<br>
 +
<br>
 +
 
 +
{{Infobox_entity
 +
| classname = monster_knight
 +
| commonname = [[Knight]]
 +
| type = point
 +
| class = [[Monster (entity class)|monster]]
 +
| dimensions = 32 x 32 x 64
 +
| quakec = [[knight.qc]]
 +
| precaches =
 +
progs/knight.mdl<br>
 +
progs/h_knight.mdl<br>
 +
knight/kdeath.wav<br>
 +
knight/khurt.wav<br>
 +
knight/ksight.wav<br>
 +
knight/sword1.wav<br>
 +
knight/sword2.wav<br>
 +
knight/idle.wav
 +
}}
 +
 
 +
==Entity information==
 +
 
 +
'''monster_knight''' is the [[Entity|entity]] for placing '''Knights''' in a level.
 +
 
 +
===Usage===
 +
 
 +
 
 +
===Attributes===
 +
 
 +
====Keys====
 +
{| class="wikitable" width="100%"
 +
|-
 +
| ! bgcolor="#eeeeee" width="100px" | ''targetname'' || The targetname of the Knight. When triggered, the Knight will wake up if inactive.
 +
|-
 +
| ! bgcolor="#eeeeee" | ''target'' || The targetname of the entity to be triggered when the Knight dies.
 +
|-
 +
| ! bgcolor="#eeeeee" | ''killtarget'' || The targetname of the entity to be removed when the Knight dies.
 +
|}
 +
 
 +
====Spawnflags====
 +
The monster_knight entity supports the following [[Entity#Spawnflags|spawnflags]]:
 +
{| class="wikitable" width="100%"
 +
! width="50" | Flag
 +
! width="150" | Common Name
 +
! Description
 +
|-
 +
| 1
 +
| Ambush
 +
| The Knight will not wake up from seeing other monsters wake up or hearing sounds.
 +
|}
 +
 
 +
It also supports the standard spawnflags for difficulty and deathmatch presence.
 +
{{Template:Mode_spawnflags
 +
| entity = The Knight
 +
}}
 +
 
 +
===Definitions===
 +
 
 +
====FGD Definition====
 +
This is the format used by [[TrenchBroom]] and [[Worldcraft]]. Note that the model(...) parameter is not supported by Worldcraft. This does not include the Monster base class definition, which is also required.
 +
<pre>
 +
@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model(":progs/knight.mdl")
 +
    = monster_knight: "Knight" []
 +
</pre>
 +
 
 +
====DEF Definition====
 +
This is the definition format used for most old Quake editors, including the original [[QuakeEd]].
 +
<pre>
 +
/*QUAKED monster_knight (1 0 0) (-16 -16 -24) (16 16 40) Ambush
 +
*/
 +
</pre>
  
{{Monsters}}
+
[[Category:Quake entities]][[Category:Monsters]]

Latest revision as of 17:43, 4 May 2013

Knight
Knight

"Canned meat. Open 'er up and see if it's still fresh."

Health 75
Gib threshold -40
Attacks Sword
Drop nothing
1st appearance e1m2
Game version Shareware
Death message Player was slashed by a Knight
† The data files for monsters that appear only in the registered version of Quake reside in pak1.pak rather than pak0.pak.

Knights have a sharp sword and strong arms, but their drawback is their lack of a ranged attack. Two good spanks from the Double-Barrelled Shotgun will work (or, more efficiently, a Shotgun blast immediately followed by a double-barrelled shot).

Tactics[edit]



monster_knight
(Knight)
Entity type point
Entity class monster
Dimensions 32 x 32 x 64
Quake-C knight.qc
Precaches progs/knight.mdl

progs/h_knight.mdl
knight/kdeath.wav
knight/khurt.wav
knight/ksight.wav
knight/sword1.wav
knight/sword2.wav
knight/idle.wav

Entity information[edit]

monster_knight is the entity for placing Knights in a level.

Usage[edit]

Attributes[edit]

Keys[edit]

targetname The targetname of the Knight. When triggered, the Knight will wake up if inactive.
target The targetname of the entity to be triggered when the Knight dies.
killtarget The targetname of the entity to be removed when the Knight dies.

Spawnflags[edit]

The monster_knight entity supports the following spawnflags:

Flag Common Name Description
1 Ambush The Knight will not wake up from seeing other monsters wake up or hearing sounds.

It also supports the standard spawnflags for difficulty and deathmatch presence.

Flag Common Name Description
256 Not on Easy The Knight will not spawn on Easy difficulty.
512 Not on Normal The Knight will not spawn on Normal difficulty.
1024 Not on Hard The Knight will not spawn on Hard difficulty.
2048 Not in Deathmatch The Knight will not spawn in Deathmatch mode.

Definitions[edit]

FGD Definition[edit]

This is the format used by TrenchBroom and Worldcraft. Note that the model(...) parameter is not supported by Worldcraft. This does not include the Monster base class definition, which is also required.

@PointClass base(Monster) size(-16 -16 -24, 16 16 40) model(":progs/knight.mdl")
    = monster_knight: "Knight" []

DEF Definition[edit]

This is the definition format used for most old Quake editors, including the original QuakeEd.

/*QUAKED monster_knight (1 0 0) (-16 -16 -24) (16 16 40) Ambush
*/