Func combine ball spawner: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(NEED: Do your cleanup/template thing! Please!)
No edit summary
Line 1: Line 1:
{{wrongtitle|title=func_combine_ball_spawner}}
{{wrongtitle|title=func_combine_ball_spawner}}
{{cleanup}}


==Entity Description==
==Entity Description==
Line 8: Line 6:
==Availability==
==Availability==
{{in game|point}} {{game|HL2}}
{{in game|point}} {{game|HL2}}
{{in code|class=Bem|file=Lem}}
{{in code|class=CFuncCombineBallSpawner|file=dlls\hl2_dll\prop_combine_ball.cpp}}


==Keyvalues==
==Keyvalues==
{{KV_Targetname}}
* {{KV Targetname}}
{{KV_Angles}}
* {{KV Angles}}
*'''ballcount'''
* {{KV Global}}
:This is how many balls will be bouncing around inside the spawner
* '''ballcount'''
*'''minspeed'''
: <integer> This is how many balls will be bouncing around inside the spawner
:The minimum speed of balls that fly in the spawner
* '''minspeed'''
*'''maxspeed'''
: <float> The minimum speed of balls that fly in the spawner
:The maximum speed of balls that fly in the spawner
* '''maxspeed'''
*'''ballradius'''
: <float> The maximum speed of balls that fly in the spawner
:The radius of the energy balls
* '''ballradius'''
*'''balltype'''
: <float> The radius of the energy balls
:(NEED: Table)
* '''balltype'''
::Combine Energy Ball 1
: <choices>
::Combine Energy Ball 2
:{|
::Combine Energy Ball 3
! Literal Value || Description
*'''ballrespawntime'''
|-
:The energy balls' respawn time
| 0 || Combine Energy Ball 1
|-
| 1 || Combine Energy Ball 2
|-
| 2 || Combine Energy Ball 3
|}
* '''ballrespawntime'''
: <float> The energy balls' respawn time


==Flags==
==Flags==
* # : Start Inactive
* 4096 : Start Inactive
* # : Combine Power Supply
* 8192 : Combine Power Supply


==Inputs==
==Inputs==
{{I_Targetname}}
* {{I Targetname}}
*'''OnBallGrab'''
* '''Enable'''
*'''OnBallHitBottomSide'''
* '''Disable'''
*'''OnBallHitTopSide'''
*'''OnBallReinserted'''
*'''OnFirstBallReinserted'''
*'''OnFastballGrabbed'''


==Outputs==
==Outputs==
{{O_Targetname}}
* {{O Targetname}}
* '''OnBallGrab'''
* '''OnBallHitBottomSide'''
* '''OnBallHitTopSide'''
* '''OnBallReinserted'''
* '''OnFirstBallReinserted'''
* '''OnFastballGrabbed'''


[[Category:Entities]]
[[Category:Entities]]

Revision as of 14:54, 11 January 2006

Template:Wrongtitle

Entity Description

A volumetric trigger that creates combine balls.

Availability

Template:In game Template:Game Template:In code

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.
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.
  • ballcount
<integer> This is how many balls will be bouncing around inside the spawner
  • minspeed
<float> The minimum speed of balls that fly in the spawner
  • maxspeed
<float> The maximum speed of balls that fly in the spawner
  • 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

Flags

  • 4096 : Start Inactive
  • 8192 : Combine Power Supply

Inputs

  • Enable
  • Disable

Outputs

  • OnBallGrab
  • OnBallHitBottomSide
  • OnBallHitTopSide
  • OnBallReinserted
  • OnFirstBallReinserted
  • OnFastballGrabbed