Weapon striderbuster: 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)
Line 1: Line 1:
{{CD|CWeaponStriderBuster|file1=1}}
{{this is a|point entity|name=weapon_striderbuster|game=Half-Life 2: Episode Two}} It is a sticky bomb designed to be launched at [[npc_strider|Striders]] with the [[Gravity Gun]]. After attaching to the strider, it must be detonated with a conventional weapon. It is referred to by characters as the "Magnusson Device".
{{this is a|point entity|name=weapon_striderbuster|game=Half-Life 2: Episode Two}} It is a sticky bomb designed to be launched at [[npc_strider|Striders]] with the [[Gravity Gun]]. After attaching to the strider, it must be detonated with a conventional weapon. It is referred to by characters as the "Magnusson Device".
[[File:Strider Buster introduced.jpg|thumb|250px|right]][[Category:Half-Life 2 Entities]]
[[File:Strider Buster introduced.jpg|thumb|250px|right]][[Category:Half-Life 2 Entities]]
 
__NOTOC__
{{bug|Entity crashes in [[Portal]] when physics damage is applied.}}
{{bug|Entity crashes in [[Portal]] when physics damage is applied.}}


==Keyvalues==
==Keyvalues==
{{KV BasePropPhysics}}
{{KV Targetname}}
{{KV|Dud Bomb|bool|This strider buster is not armed. Used to create training busters.}}
{{KV|Dud Bomb|intn=dud|bool|This strider buster is not armed. Used to create training busters.}}


==Flags==
==Flags==
{{Fl BasePropPhysics}}
{{fl|8388608|Don't use [[game_weapon_manager]]}}
* Don't use [[game_weapon_manager]]


==Inputs==
==Inputs==
{{I BasePropPhysics}}
{{IO|ExplodeIn|Bomb should explode in this many seconds|param=float}}
{{IO|ExplodeIn|Bomb should explode in this many seconds|param=float}}


==Outputs==
==Outputs==
{{O BasePropPhysics}}
{{IO|OnAttachToStrider|The strider buster has successfully attached to a strider}}
{{IO|OnAttachToStrider|The strider buster has successfully attached to a strider}}
{{IO|OnDetonate|The strider buster has detonated}}
{{IO|OnDetonate|The strider buster has detonated}}
{{IO|OnShatter|The strider buster has shattered without detonating}}
{{IO|OnShatter|The strider buster has shattered without detonating}}
{{IO|OnShotDown|The strider buster has been shattered by Hunters}}
{{IO|OnShotDown|The strider buster has been shattered by Hunters}}
{{OtherKIO|prop_physics}}
== See Also ==
* {{ent|npc_strider}}

Revision as of 06:46, 2 July 2024

C++ Class hierarchy
CWeaponStriderBuster
CPhysicsProp
CBreakableProp
CBaseProp
CBaseAnimating
CBaseEntity
C++ weapon_striderbuster.cpp

weapon_striderbuster is a point entity available in Half-Life 2: Episode Two Half-Life 2: Episode Two. It is a sticky bomb designed to be launched at Striders with the Gravity Gun. After attaching to the strider, it must be detonated with a conventional weapon. It is referred to by characters as the "Magnusson Device".

Strider Buster introduced.jpg
Icon-Bug.pngBug:Entity crashes in Portal when physics damage is applied.  [todo tested in ?]

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

Dud Bomb (dud) <boolean>
This strider buster is not armed. Used to create training busters.

Flags

Don't use game_weapon_manager : [8388608]

Inputs

ExplodeIn <floatRedirectInput/float>
Bomb should explode in this many seconds

Outputs

OnAttachToStrider
The strider buster has successfully attached to a strider
OnDetonate
The strider buster has detonated
OnShatter
The strider buster has shattered without detonating
OnShotDown
The strider buster has been shattered by Hunters
Note.pngNote:Other Keyvalues / Inputs / Outputs are same as prop_physics.

See Also