Prop exploding futbol: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added link to similar HL2 entity)
No edit summary
 
(20 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{portal2 point|prop_exploding_futbol}}
{{LanguageBar}}
{{Ent not in fgd}}
{{CD|???|base=CPhysicsProp}}
{{stub}}
{{this is a|model 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).
{{screenshot}}


==Entity description==
==Keyvalues==
A ball that explodes when it touches the ground.
{{KV Targetname}}
{{KV|Explode on touch|intn=explodeontouch|boolean|If the futbol should explode when it touches something.}}
{{KV|Spawner Name|intn=SpawnerName|string|Name of prop_exploding_futbol_spawner for this futbol to respawn in once it has exploded.}}
{{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|Explode on touch|intn=ExplodeOnTouch|boolean|If the futbol should explode when it touches something.}}
 
==Inputs==
{{I|Explode|Explodes the futbol.}}
 
 
{{OtherKIO|prop_physics}}


==See also==
==See also==
[[grenade_helicopter]]
* {{ent|prop_glass_futbol}}, a related but unused entity.
 
[[Category:Prop entities|exploding futbol]]

Latest revision as of 01:12, 30 June 2025

English (en)中文 (zh)Translate (Translate)
C++ Class hierarchy
???
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity

prop_exploding_futbol is a model 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.


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

See also