Point energy ball launcher: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(cleanup)
m (minoro)
Line 1: Line 1:
{{wrongtitle|title=point_energy_ball_launcher}}
{{wrongtitle|title=point_energy_ball_launcher}}


==Entity Description==
== Entity description ==
An entity that spawns and launches an energy ball periodically.
An entity that spawns and launches an energy ball periodically.


==Availability==
== Availability ==
This point entity is exclusive to [[Portal]].
This point entity is exclusive to [[Portal]].


==Keyvalues==
== Keyvalues ==
 
* {{KV Targetname}}
* {{KV Targetname}}
* {{KV Parentname}}
* {{KV Parentname}}
Line 39: Line 38:
: <float> The energy balls' respawn time.
: <float> The energy balls' respawn time.


==Inputs==
== Inputs ==
* {{i enabledisable}}
* {{i enabledisable}}
* '''LaunchBall'''
* '''LaunchBall'''
: Launch a ball from the spawner.
: Launch a ball from the spawner.
==Outputs==
 
== Outputs ==
* {{o targetname}}
* {{o targetname}}
* '''OnPostSpawnBall'''
* '''OnPostSpawnBall'''
: Fire when a ball was launched.
: Fire when a ball was launched.
[[Category:Portal Entities]]
[[Category:Portal Entities]]

Revision as of 15:20, 1 December 2007

Template:Wrongtitle

Entity description

An entity that spawns and launches an energy ball periodically.

Availability

This point entity is exclusive to Portal.

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

Parentname:
Parent (parentname) <targetname>
Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
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.
Global:
Global Entity Name (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.
  • Ball Lifetime
<float> The time in seconds the ball will live before self-destructing. A negative value will give infinite life.
  • Min life after portal transition
<float> When energy balls created by this launcher pass, if the remaining lifespan of the ball is less than this value, the lifespan will reset to this value.
  • ballcount
<integer> The amount of balls bouncing around inside the spawner.
  • minspeed
<float> The minimum speed of balls spawned.
  • maxspeed
<float> The maximum speed of balls spawned.
  • 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.

Inputs

Launch a ball from the spawner.

Outputs

Fire when a ball was launched.