monster_barney

monster_barney #

TWHL

Changes #

  • Checks for friendly fire when shooting.
  • Now uses alert sentences (BA_ATTACK) when encountering enemy.

New parameters #

  • Gun state allows to spawn a security guard with a gun drawn.

Skill variables #

  • sk_barney_health - monster’s health.
  • sk_9mm_bullet - handgun bullet damage.
  • sk_357_bullet - Python bullet damage.

Default classification #

Player Ally

Soundscripts #

  • Barney.Pain - pain sound.
  • Barney.Die - death sound.
  • Barney.FirePistol - firing a handgun.
  • Barney.FirePython - firing a Python. Derived from NPC.Python.

Entity template examples #

Barney’s evil twin from Sven Co-op.

{
    "barnabus": {
        "own_visual": {
            "model": "models/barnabus.mdl"
        },
        "classify": "Human Military"
    }
}