Weapon striderbuster: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(cleanup)
Line 1: Line 1:
{{ep2 point|weapon_striderbuster}}  
{{ep2 point|weapon_striderbuster}}  
[[File:Strider Buster introduced.jpg|thumb|250px|right|You can call it a Magnuson Device if you really want to.]]
[[File:Strider Buster introduced.jpg|thumb|250px|right|You can call it a Magnuson Device if you really want to.]]
==Entity description==
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 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.


Line 6: Line 8:


==Keyvalues==
==Keyvalues==
; Dud Bomb <code><[[bool]]></code>
: This strider buster is not armed. Used to create training busters.
{{KV BasePropPhysics}}
{{KV BasePropPhysics}}
{{KV|Dud Bomb|bool|This strider buster is not armed. Used to create training busters.}}


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


==Inputs==
==Inputs==
; <code>ExplodeIn <'''float'''></code>
: Bomb should explode in this many seconds.
{{I BasePropPhysics}}
{{I BasePropPhysics}}
{{IO|ExplodeIn|Bomb should explode in this many seconds.|param=float}}


==Outputs==
==Outputs==
{{O BasePropPhysics}}


; <code>OnAttachToStrider</code>
{{IO|OnAttachToStrider|The strider buster has successfully attached to a strider.|}}
: The strider buster has successfully attached to a strider.
 
; <code>OnDetonate</code>
{{IO|OnDetonate|The strider buster has detonated.|}}
: The strider buster has detonated.
 
; <code>OnShatter</code>
{{IO|OnShatter|The strider buster has shattered without detonating.|}}
: The strider buster has shattered without detonating.
 
; <code>OnShotDown</code>
{{IO|OnShotDown|The strider buster has been shattered by Hunters ({{todo|Or other NPCs?}})|}}
: The strider buster has been shattered by Hunters ({{todo|Or other NPCs?}})
{{O BasePropPhysics}}


[[Category:Weapons]]
[[Category:Weapons]]

Revision as of 13:34, 5 February 2012

Template:Ep2 point

You can call it a Magnuson Device if you really want to.

Entity description

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.

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

Keyvalues

Note.pngNote:Page left for viewable history, content moved to prop_physics
Dud Bomb ([todo internal name (i)]) <boolean>
This strider buster is not armed. Used to create training busters.

Flags

Note.pngNote:Page left for viewable history, content moved to prop_physics

Inputs

Note.pngNote:Page left for viewable history, content moved to prop_physics
ExplodeIn <floatRedirectInput/float>
Bomb should explode in this many seconds.

Outputs

Note.pngNote:Page left for viewable history, content moved to prop_physics


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 (
Todo: Or other NPCs?
)