This article relates to the game "Half-Life 2". Click here for more information.

Blob element: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (WisdomBot moved page Blob element to Blob element/en: Moved to {{Multipage}} compliant page name. This action was perfomed by a bot under supervision.)
(-added class hierarchy, cleanup)
Line 1: Line 1:
{{langsp}}
{{langsp}}
{{HL2 topicon}}
{{HL2 topicon}}
{{CD|CBlobElement|file1=npc_blob.cpp}}
{{Ent not in fgd|nolink=1}}
{{Ent not in fgd|nolink=1}}
These are normally created and managed by an {{ent|npc_blob}}. By itself, it's basically a {{ent|prop_dynamic}} set to not be solid.
These are normally created and managed by an {{ent|npc_blob}}. By itself, it's basically a {{ent|prop_dynamic}} set to not be solid.


This entity is ''only'' in Half-Life 2 and the 2013 SDK. Not even the Episodes have it.
This entity is ''only'' in Half-Life 2 and the 2013 SDK. Not even the Episodes have it.
{{Code class|CBlobElement|npc_blob.cpp}}


== ConVars/Commands ==
== ConVars/Commands ==
Line 16: Line 15:
:3. <code>baby_headcrab.mdl</code> ([[baby headcrab]] (not in final game, shows error model))}}
:3. <code>baby_headcrab.mdl</code> ([[baby headcrab]] (not in final game, shows error model))}}
{{varcom|end}}
{{varcom|end}}
== Keyvalues ==
{{KV BaseAnimating|base=1}}
{{KV BaseEntity|base=1}}
== Outputs ==
{{O BaseAnimating}}
{{O BaseEntity}}
== Inputs ==
{{I BaseAnimating|base=1}}
{{I BaseEntity|base=1|prel4d=1}}

Revision as of 09:43, 2 July 2024

English (en)Translate (Translate)

C++ Class hierarchy
CBlobElement
CBaseAnimating
CBaseEntity
C++ npc_blob.cpp
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.

These are normally created and managed by an npc_blob. By itself, it's basically a prop_dynamic set to not be solid.

This entity is only in Half-Life 2 and the 2013 SDK. Not even the Episodes have it.

ConVars/Commands

Cvar/Command Parameters or default value Descriptor Effect
npc_blob_use_model 2 Arbitrary number Chooses which model to show blob_elements as. Requires restart to take effect.
0. gibs/agibs.mdl (skull)
1. props_junk/watermelon01.mdl (watermelon)
2. w_squeak.mdl (snark (not in final game, shows error model))
3. baby_headcrab.mdl (baby headcrab (not in final game, shows error model))