Point combine ball launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Inputs: Substituted IO templates)
 
(21 intermediate revisions by 14 users not shown)
Line 1: Line 1:
{{wrongtitle|title=point_combine_ball_launcher}}
{{this is a|point entity|game=Half-Life 2: Episode One|name=point_combine_ball_launcher}}
==Entity Description==
 
Launches combine balls from this point
== Entity description ==
==Keyvalues==
This [[point entity]] launches [[prop_combine_ball|combine ball]]s from its [[origin]].
* {{kv targetname}}
 
* '''bullseyename'''
{{Not in FGD}} Note: this entity can be parented by manually adding the parentname keyvalue.
: <targetsource> This gives the launcher life
 
* {{kv angles}}
This entity is derived from [[func_combine_ball_spawner]].
* '''launchconenoise'''
 
: <float> Launch cone spread
== Keyvalues ==
* '''maxballbounces'''
{{KV Targetname}}
: <integer> Determines a ball's life
 
==Flags==
{{KV Angles}}
 
{{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|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|Ball Type|intn=balltype|choices|}}
:* 1 : Combine Energy Ball 1
:* 2 : Combine Energy Ball 2
:* 3 : Combine Energy Ball 3
 
{{KV|Ball Respawn Time|intn=ballrespawntime|float|The energy balls respawn time.}}
 
{{KV|Noise to launch direction|intn=launchconenoise|integer|Noise in degrees added to the launch direction.}}
 
{{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|intn=maxballbounces|integer|Maximum number of bounces the balls are allowed to do before they are removed.}}
 
{{KV|Parent|intn=parentname|string|{{Not in FGD}} The name of the entity this entity is parented to.}}
 
== Flags ==
* 1 : Attach bullseye
* 1 : Attach bullseye
: Create my bullseye
: Create my bullseye
* 2 : Ball/player collide
* 2 : Ball/player collide
: Allow launched balls to collide with player
: Allow launched balls to collide with player
==Inputs==
 
* {{i targetname}}
== Inputs ==
* '''LaunchBall'''
{{I Targetname}}
: Launch ball
{{I|LaunchBall|Launch ball|}}
==Outputs==
 
* {{o targetname}}
== Outputs ==
{{O Targetname}}
 
 
==See also==
*[[prop_combine_ball]]
 
[[Category:Half-Life 2: Episode One Entities]]
[[Category:Half-Life 2: Episode One Entities]]

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