prop_exploding_futbol

From Valve Developer Community
Jump to navigation Jump to search
Class hierarchy
???
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_exploding_futbol is a point entity available in Portal 2 Portal 2. It creates a bomb that explodes on contact with any solid object. These are used near the end of the campaign, where they are either spawned from a point_template (for bomb droppers) or fired from a point_futbol_shooter (for Wheatley's battle).

Keyvalues

Name (targetname) <string>
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

Explode on touch (explodeontouch) <boolean>
If the futbol should explode when it touches something.
Spawner Name (SpawnerName) <string>
Name of prop_exploding_futbol_spawner for this futbol to respawn in once it has exploded.
Should Respawn (ShouldRespawn) <boolean>
Should the futbol respawn at its spawner after exploding. Note: Spawner needs to be set for this to work.
Explode on touch (ExplodeOnTouch) <boolean>
If the futbol should explode when it touches something.

Inputs

Explode
Explodes the futbol.


Note.pngNote:Other Keyvalues / Inputs / Outputs are same as prop_physics.

See also