Point combine ball launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (typos fixd)
m (→‎Inputs: Substituted IO templates)
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
This [[point entity]] launches [[prop_combine_ball|combine ball]]s from its [[origin]].
This [[point entity]] launches [[prop_combine_ball|combine ball]]s from its [[origin]].


{{Not in FGD}} Note, this entity can be parented by manually adding the parentname keyvalue.
{{Not in FGD}} Note: this entity can be parented by manually adding the parentname keyvalue.
 
This entity is derived from [[func_combine_ball_spawner]].


== Keyvalues ==
== Keyvalues ==
Line 11: Line 13:
{{KV Angles}}
{{KV Angles}}


{{KV|Ball count|int|This is how many balls will be bouncing around inside the spawner.}}
{{KV|Ball count|intn=ballcount|int|This is how many balls will be bouncing around inside the spawner.}}
 
{{KV|Min ball speed|intn=minspeed|float|The minimum speed of balls that fly in the spawner.}}
{{KV|Min ball speed|int|The minimum speed of balls that fly in the spawner.}}
{{KV|Max ball speed|intn=maxspeed|float|The maximum speed of balls that fly in the spawner}}
 
{{KV|Ball radius|intn=ballradius|float|The radius of the energy balls.}}
{{KV|Max ball speed|int|The maximum speed of balls that fly in the spawner}}
 
{{KV|Ball radius|radius|The radius of the energy balls.}}


{{KV|Ball Type|choices|}}
{{KV|Ball Type|intn=balltype|choices|}}
:* 1 : Combine Energy Ball 1
:* 1 : Combine Energy Ball 1
:* 2 : Combine Energy Ball 2
:* 2 : Combine Energy Ball 2
:* 3 : Combine Energy Ball 3
:* 3 : Combine Energy Ball 3


{{KV|Ball Respawn Time|int|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 ==
Line 42: Line 41:
== Inputs ==
== Inputs ==
{{I Targetname}}
{{I Targetname}}
{{IO|LaunchBall|Launch ball|}}
{{I|LaunchBall|Launch ball|}}


== Outputs ==
== Outputs ==

Latest revision as of 21:48, 19 April 2025

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