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

Phys convert

From HalfLife 2 Knowledge Base

Jump to: navigation, search

Contents

phys_convert

Source(core) Point Entity


description

Turns an arbitrary entity into a physically simulated entity. i.e. brush entities will behave like func_physbox, model entities behave like prop_physics.


properties

  • Name targetname(target_source)
    The name that other entities refer to this entity by.
  • Entity to convert target(target_destination)
    Name of the entity that will be converted to a physics object when the ConvertTarget input is fired.
  • Model Swap Entity swapmodel(string)


spawn flags

  • 1: Convert Asleep - default: OFF


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
  • Convert(void)
    Causes the entity to convert, to be converted in a physic entity.
  • 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.


related tutorials

Submit your tutorial for phys_convert

Personal tools