Func combine ball spawner

From Valve Developer Community

Table of contents

Entity Description

A volumetric trigger that creates combine balls.

See the combine_ball_generator and combine_ballspawner prefabs for examples of uses.

Availability

This brush-based entity is available in: HL2. In code it is represented by class CFuncCombineBallSpawner (http://doxygen.page.needed/class_c_func_combine_ball_spawner.html), defined in hl2_dll\prop_combine_ball.cpp (http://doxygen.page.needed/prop__combine__ball_8cpp-source.html).

Keyvalues

Defines the name that other entities refer to this entity by.
  • hammerid [Episode Two Update]
<integer readonly> This id is used for debugging purposes in Hammer.
Pitch Yaw Roll (Y Z X)
This entity's angular orientation in the world (also used for angular effect entities).
  • globalname
<string> Name by which this entity is linked to another entity in a different map. When the player transitions to a new map, entities in the new map with globalnames matching entities in the previous map will have the previous map's state copied over their state.
  • ballcount
<integer> This is how many balls will be bouncing around inside the spawner.
  • minspeed
<float> The minimum speed of balls that fly in the spawner.
  • maxspeed
<float> The maximum speed of balls that fly in the spawner.
  • ballradius
<float> The radius of the energy balls.
  • balltype
<choices>
Literal Value Description
0 Combine Energy Ball 1
1 Combine Energy Ball 2
2 Combine Energy Ball 3
  • ballrespawntime
<float> The energy balls' respawn time.

Flags

  • 4096 : Start Inactive
  • 8192 : Combine Power Supply
If set, combine balls will bounce in this entity's volume.

Inputs

  • Kill
Removes this entity from the world.
Removes this entity and all its children from the world.
  • AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
  • Enable
  • Disable

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator
  • OnBallGrab

Image:Todo.png To do: Write what it does.

!activator = prop_combine_ball
  • OnBallHitBottomSide

Image:Todo.png To do: Write what it does.

!activator = prop_combine_ball
  • OnBallHitTopSide

Image:Todo.png To do: Write what it does.

!activator = prop_combine_ball
  • OnBallReinserted

Image:Todo.png To do: Write what it does.

!activator = prop_combine_ball
  • OnFirstBallReinserted

Image:Todo.png To do: Write what it does.

!activator = prop_combine_ball