Weapon hopwire: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(cleanup)
Line 1: Line 1:
{{DISPLAYTITLE:weapon_hopwire}}
{{hl2}} '''weapon_hopwire''' is a cut [[point entity]] from the [[Half-Life 2]] series.
{{hl2 point|weapon_hopwire}}
{{Stub}}


==Entity description==
==Entity description==
{{note|Much of this article lacks verification and needs to be properly confirmed.}}
A highly unstable hopwire grenade. To use it in Ep1 and Orange Box games, use <code>vortex_hopwire 1</code>. It no longer appears to be functional, however.
 
A recently discovered "black hole" grenade whose explosion will create a black hole vortex strong enough to even destroy [[npc_strider|striders]]. Is first thrown and then activated by a second attack press, like a remote mine.
 
While not in any currently released Valve product, this weapon can be enabled (so far seen in ep1 and smod) by entering the following into the console:
 
<code>hopwire_vortex 1</code>
 
<code>give weapon_hopwire</code> or <code>give npc_grenade_hopwire</code>
 
This will provide you with only one hopwire. An additional 5 hopwires can possibly be obtained through typing <code>impulse 101</code> into the console ''Not sure if impulse 101 works with it, Doesn't in portal.''.
 
You can also have them in Source SDK-Hammer by going into a entity, Then changing the name to weapon_hopwire and hitting enter then apply.
It will come up as "Obsolete" with the special image but it DOES turn up in-game.


{{warning|Crashes has been reported after enabling this weapon. Use with caution.}}
{{warning|Crashes has been reported after enabling this weapon. Use with caution.}}


==Legacy==
{{BasicWeapon}}
The name "Hopwire" was taken from a grenade originally intended to be in Half-Life 2, which would, when thrown 'hop' into the air, and shoot out tripwires to nearby surfaces. If the tripwires were broken, the grenade would detonate. The old Hopwire can be used in the mod "Missing Information".
 
==Keyvalues==
{{todo|}}
 
==Flags==
{{todo|}}
 
==Outputs==
{{todo|}}
 
==Inputs==
{{todo|}}
 
==Resources==
http://www.halflife2.net/forums/showthread.php?t=110926 - Forum thread about the grenade.
 
http://www.joystiq.com/2006/08/06/the-hl2-episode-1-black-hole-grenade/ - Article with movie.


[[Category:Entities]]
[[Category:Half-Life 2 Entities]]
[[Category:Weapons]]
[[Category:Cut Weapons]]

Revision as of 00:43, 2 January 2014

Half-Life 2 weapon_hopwire is a cut point entity from the Half-Life 2 series.

Entity description

A highly unstable hopwire grenade. To use it in Ep1 and Orange Box games, use vortex_hopwire 1. It no longer appears to be functional, however.

Warning.pngWarning:Crashes has been reported after enabling this weapon. Use with caution.

Flags

Start Constrained : [1]
Prevents the model from moving.
Deny player pickup (reserve for NPC) : [2]
Not puntable by Gravity Gun : [4]

Inputs

HideWeapon  !FGD
If this weapon is being held, hide the worldmodel and/or viewmodel via EF_NODRAW. Weapon will still be useable. The weapon will become visible again if the holder is to switch between weapons in their inventory.

Outputs

OnNPCPickup
Fires when an NPC picks up this weapon. (!activator is the NPC.)
OnPlayerUse
Fires when the player +uses this weapon. (!activator is the player.)
OnPlayerPickup
Fires when a player picks up this weapon. (!activator is the player.)
OnCacheInteraction
Fires when the player 'proves' they've found this weapon. Fires on: Player Touch, +USE pickup, Physcannon pickup, Physcannon punt.