prop_bonemerge

From Valve Developer Community
Jump to navigation Jump to search
Icon-callout-not-in-fgd.png
This entity is not in the FGD by default.
It should not be put directly in a map, because it can only be configured through code.
C++ Class hierarchy
CProp_BoneMerge
↳CBaseAnimating
↳CBaseEntity
Commander's beret and cigar as prop_bonemerge entity.

prop_bonemerge is a model entity available in Black Mesa Black Mesa. Used by character system to create bone merged props on characters. The entity itself is a model attached to an NPC, once owning NPC is dead or removed, it becomes a VPhysics simulated model. It is attached during spawn via bone marge, the owning NPC should be set before spawn (otherwise the entity will be deleted), both prop and owning NPC should have at least one mathing bone by name, so the prop can be marged by bone.

Icon-Bug.pngBug:
  • Dropped object adds FSOLID_TRIGGER solid flag, which is why it cannot be hit by bullets, explosions, etc. This is also the reason why the player can't pick it up by use.
  • Touch detection is very inconsistent.
Note.pngNote:
  • For unknown reason, the dropped object can heal touching entity by 5 health points (removes itself if healed something).
  • If this entity has owner, the character system removes this entity when reapplied to avoid new bone merged prop appear on top of existing one.