Point combine ball launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 32: Line 32:


{{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|int|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.}}


== Flags ==
== Flags ==

Revision as of 12:16, 2 March 2018

Template:Point ent

Entity description

This point entity launches combine balls from its origin.

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

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 ([todo internal name (i)]) <integer>
This is how many balls will be bouncing around inside the spawner.


Min ball speed ([todo internal name (i)]) <integer>
The minimum speed of balls that fly in the spawner.


Max ball speed ([todo internal name (i)]) <integer>
The maximum speed of balls that fly in the spawner


Ball radius ([todo internal name (i)]) <radius>
The radius of the energy balls.


Ball Type ([todo internal name (i)]) <choices>
  • 1 : Combine Engergy Ball 1
  • 2 : Combine Engergy Ball 2
  • 3 : Combine Engergy Ball 3


Ball Respawn Time ([todo internal name (i)]) <integer>
The energy balls respawn time.


Noise to launch direction ([todo internal name (i)]) <integer>
Noise in degrees added to the launch direction.


Name of Bullseys ([todo internal name (i)]) <targetsource>
If you select the Attach Bullseye spawnflag, you may specify a name here which will be given to the bullseye.


Max number of bounces ([todo internal name (i)]) <integer>
Maximum number of bounces the balls are allowed to do before they are removed.


parentname ([todo internal name (i)]) <targetsource>
!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