Cleanup is going to take awhile, so the site is back up but editing has been disabled.

Weapon rpg

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

weapon_rpg

Half-Life 2 Point Entity

description

Missile Launcher

properties

  • Name targetname(target_source)
    The name that other entities refer to this entity by.
  • Pitch Yaw Roll (Y Z X) angles(angle)
    This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
  • spawnflags spawnflags(flags)

spawn flags

  • 1 : Start contrained

inputs

  • Kill(void)
    Removes this entity from the world.
  • KillHierarchy(void)
    Removes this entity and all its children from the world.
  • AddOutput(string)
    Adds an entity I/O connection to this entity. Format <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
  • FireUser1(void)
    Causes this entity's OnUser1 output to be fired.
  • FireUser2(void)
    Causes this entity's OnUser2 output to be fired.
  • FireUser3(void)
    Causes this entity's OnUser3 output to be fired.
  • FireUser4(void)
    Causes this entity's OnUser4 output to be fired.

outputs

  • OnUser1(void)
    Fired in response to FireUser1 input.
  • OnUser2(void)
    Fired in response to FireUser2 input.
  • OnUser3(void)
    Fired in response to FireUser3 input.
  • OnUser4(void)
    Fired in response to FireUser4 input.
  • OnPlayerUse(void)
    Fires when the player +uses this weapon.
  • OnPlayerPickup(void)
    Fires when the player picks up this weapon.
  • OnNPCPickup(void)
    Fires when an NPC picks up this weapon.

related tutorials

Submit your tutorial for weapon_rpg

Personal tools