Prop exploding futbol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Changed parameters of {{this is a}} to comply with the updated version. This action was performed by a bot.)
(-added class hierarchy, cleanup, missing keyvals)
Line 1: Line 1:
 
{{CD|???|base=CPhysicsProp}}
{{this is a|point entity|game=Portal 2|name=prop_exploding_futbol}} 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 {{ent|point_template}} (for bomb droppers) or fired from a {{ent|point_futbol_shooter}} (for Wheatley's battle).
{{this is a|point entity|game=Portal 2|name=prop_exploding_futbol}} 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 {{ent|point_template}} (for bomb droppers) or fired from a {{ent|point_futbol_shooter}} (for Wheatley's battle).
==Flags==
{{Fl BasePropPhysics}}


==Keyvalues==
==Keyvalues==
{{KV|Explode on touch|intn=explodeontouch|boolean|If the bomb should explode when it touches something.}}
{{KV Targetname}}
{{KV BreakableProp|nohl2=1}}
{{KV|Explode on touch|intn=explodeontouch|boolean|If the futbol should explode when it touches something.}}
{{KV BasePropPhysics}}
{{KV|Spawner Name|intn=SpawnerName|string|Name of prop_exploding_futbol_spawner for this futbol to respawn in once it has exploded.}}
{{KV BaseAnimating}}
{{KV|Should Respawn|intn=ShouldRespawn|boolean|Should the futbol respawn at its spawner after exploding. Note: Spawner needs to be set for this to work.}}
{{KV BaseEntity|l4d=1|l4d2=1}}
{{KV|Explode on touch|intn=ExplodeOnTouch|boolean|If the futbol should explode when it touches something.}}


==Inputs==
==Inputs==
{{IO|Explode|Explodes the bomb.}}
{{IO|Explode|Explodes the futbol.}}
{{I BasePropPhysics}}
{{I BreakableProp|nohl2=1}}
{{I BaseAnimating|portal2=1}}
{{I BaseEntity}}
 
==Outputs==
{{O BasePropPhysics|nohl2=1}}
{{O Breakable|prop=1|nohl2=1}}
{{O BaseAnimating|portal2=1}}
{{O BaseEntity}}


==See also==
==See also==
* {{ent|prop_glass_futbol}}, a related but unused entity.
* {{ent|prop_glass_futbol}}, a related but unused entity.

Revision as of 07:01, 2 July 2024

C++ 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>[ 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

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.

See also