Monster barney (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Cleanup)
Line 11: Line 11:


== Keyvalues ==
== Keyvalues ==
* {{KV BaseNPC}}
{{KV GoldSrc BaseNPC}}
{{KV|Use Sentence||}}
{{KV|Un-Use Sentence||}}


== Flags ==
== Flags ==
* {{Fl BaseNPC}}
{{Fl BaseHL1NPC}}


== GoldSrc flags ==
*{{Fl BaseHL1NPC}}
== Inputs ==
* {{I BaseNPC}}
== Outputs ==
* {{O BaseNPC}}


[[Category:Half-Life]][[Category:Half-Life 1 NPCs]]
[[Category:Half-Life]][[Category:Half-Life 1 NPCs]]

Revision as of 15:18, 4 January 2014

Monster barney.PNG

Half-Life monster_barney is a point entity available in Half-Life.

Entity description

The Black Mesa Security personnel. Not Barney Calhoun, but this entity's design was later used as a base for him. They can assist the player with weak weaponry, or serve as cannon fodder and access to otherwise restricted areas.

Note.pngNote:Using the "Pre-Disaster" spawnflag will make this entity refuse to follow the player.
Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Keyvalues

Template:KV GoldSrc BaseNPC

Use Sentence ([todo internal name (i)])
Un-Use Sentence ([todo internal name (i)])

Flags

Wait Till Seen : [1]
Gag (No IDLE sounds until angry) : [2]
MonsterClip : [4]
No wreckage : [8]
Prisoner : [16]
Start inactive : [64]
Wait for script : [128]
Pre-disaster : [256]
Only for use with monster_scientist and monster_barney. Has no effect on aliens.
Fade corpse : [512]
Not In Deathmatch : [2048]
Prevent this entity from attempting to spawn when deathmatch (multiplayer) is enabled.
Tip.pngTip:This is intercepted before the entity spawns (hardcoded in the engine), and as such prevents it from ever contributing to the edict limit. As such, it may be desirable to set this on entities that delete themselves in multiplayer anyway, such as monsters and info_null, to prevent them from contributing towards map spawn edict limit crashes on maps with lots of entities.