Point combine ball launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Keyvalues: fill in some property names from parent entity)
m (Added missing keyvalue internal names.)
Line 25: Line 25:
{{KV|Ball Respawn Time|intn=ballrespawntime|float|The energy balls respawn time.}}
{{KV|Ball Respawn Time|intn=ballrespawntime|float|The energy balls respawn time.}}


{{KV|Noise to launch direction|int|Noise in degrees added to the launch direction.}}
{{KV|Noise to launch direction|intn=launchconenoise|integer|Noise in degrees added to the launch direction.}}


{{KV|Name of Bullseye|targetsource|If you select the Attach Bullseye spawnflag, you may specify a name here which will be given to the bullseye.}}
{{KV|Name of Bullseye|intn=bullseyename|string|If you select the Attach Bullseye spawnflag, you may specify a name here which will be given to the bullseye.}}


{{KV|Max number of bounces|int|Maximum number of bounces the balls are allowed to do before they are removed.}}
{{KV|Max number of bounces|intn=maxballbounces|integer|Maximum number of bounces the balls are allowed to do before they are removed.}}


{{KV|parentname|targetsource|{{Not in FGD}} The name of the entity this entity is parented to.}}
{{KV|Parent|intn=parentname|string|{{Not in FGD}} The name of the entity this entity is parented to.}}


== Flags ==
== Flags ==

Revision as of 06:44, 6 November 2024

point_combine_ball_launcher is a point entity available in Half-Life 2: Episode One Half-Life 2: Episode One.

Entity description

This point entity launches combine balls from its origin.

!FGD Note: this entity can be parented by manually adding the parentname keyvalue.

This entity is derived from func_combine_ball_spawner.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities


Pitch Yaw Roll (Y Z X) (angles) <QAngle>
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.


Ball count (ballcount) <integer>
This is how many balls will be bouncing around inside the spawner.
Min ball speed (minspeed) <float>
The minimum speed of balls that fly in the spawner.
Max ball speed (maxspeed) <float>
The maximum speed of balls that fly in the spawner
Ball radius (ballradius) <float>
The radius of the energy balls.


Ball Type (balltype) <choices>
  • 1 : Combine Energy Ball 1
  • 2 : Combine Energy Ball 2
  • 3 : Combine Energy Ball 3


Ball Respawn Time (ballrespawntime) <float>
The energy balls respawn time.


Noise to launch direction (launchconenoise) <integer>
Noise in degrees added to the launch direction.


Name of Bullseye (bullseyename) <string>
If you select the Attach Bullseye spawnflag, you may specify a name here which will be given to the bullseye.


Max number of bounces (maxballbounces) <integer>
Maximum number of bounces the balls are allowed to do before they are removed.


Parent (parentname) <string>
!FGD The name of the entity this entity is parented to.

Flags

  • 1 : Attach bullseye
Create my bullseye
  • 2 : Ball/player collide
Allow launched balls to collide with player

Inputs

LaunchBall
Launch ball

Outputs

See also