monster_barnacle

monster_barnacle #

TWHL

Changes #

  • Barnacles won’t grab monsters in Non-interruptible scripts.

Skill variables #

  • sk_barnacle_health - monster’s health.

When attacked with player’s melee weapon a barnacle will die with one hit no matter the current health. This is the original Half-Life behavior. To change that you can create an entity template with a custom take_damage rules.

Default classification #

Alien Monster

Soundscripts #

  • Barnacle.Bite - biting the prey when it’s lifted.
  • Barnacle.Chew - random chewing sound when the prey is lifted and when the gib is spewed out.
  • Barnacle.Alert - when starting lifting the prey.
  • Barnacle.Die - death sound.
  • Barnacle.Pain - pain sound.

Entity template examples #

{
    "monster_barnacle": {
        "size_for_grapple": "no"
    }
}

The take damage rules that emulate monster’s native ones. Could be used as a starting point for further changes.

{
    "monster_barnacle": {
        "take_damage": [
            {
                "conditions": {
                    "dmg_type": ["club"]
                },
                "modifier": {
                    "dmg": "=health"
                }
            }
        ]
    }
}