Grenade helicopter: Difference between revisions
Jump to navigation
Jump to search

Note:In the HL2 Episodes, these bombs have double velocity when launched by the gravity gun. They will also delay the timer when picked up with the gravity gun, so that they can be aimed.
Note:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history
m (removed {{DISPLAYTITLE}}, covered by the hl2 point template) |
(updates) |
||
Line 1: | Line 1: | ||
[[ | {{lang|Grenade helicopter}} | ||
{{hl2 point|grenade_helicopter}} | [[File:Hunter_chopper_mine.jpg|thumb|200px|right|Episode Two model.]] | ||
{{hl2 point|grenade_helicopter}} It's a time-bomb dropped by {{ent|npc_helicopter}}s. The timer is only activated when the bomb comes in contact with the world geometry, or any props. Upon touching an NPC or most other props it will detonate immediately. The bombs are also buoyant. | |||
== | {{note|In the HL2 Episodes, these bombs have double velocity when launched by the gravity gun. They will also delay the timer when picked up with the gravity gun, so that they can be aimed.}} | ||
{{ | |||
{{ | {{code class|CGrenadeHelicopter|npc_attackchopper.cpp}} | ||
==ConVars/Commands== | |||
{{varcom|start}} | |||
{{varcom|sk_helicopter_grenadedamage|30|Health amount|How much damage a bomb can do.}} | |||
{{varcom|sk_helicopter_grenaderadius|275|dist|Radius in which a bomb will damage objects, when it explodes.}} | |||
{{varcom|sk_helicopter_grenadeforce|55000|Arbitrary number?{{confirm}}|Amount of force given to moveable objects when an explosion occurs. This seems to be tied in to the damage and radius in some manner.}} | |||
{{varcom|<s>sk_helicopter_grenade_puntscale</s>|<s>1.5</s>|<s>Multiplier</s>|Exists, but does nothing. Intended to be a scalar for how much force the gravity gun gives to helicopter bombs when launching.}} | |||
{{varcom|sk_helicopter_num_bombs1|3|Arbitrary number|Number of bombs needed to kill a helicopter, on Easy difficulty.}} | |||
{{varcom|sk_helicopter_num_bombs2|5|Arbitrary number|Number of bombs needed to kill a helicopter, on Medium difficulty.}} | |||
{{varcom|sk_helicopter_num_bombs2|5|Arbitrary number|Number of bombs needed to kill a helicopter, on Hard difficulty.}} | |||
{{varcom|end}} | |||
==Flags== | ==Flags== | ||
* 65536 : | *65536: Dud. Will only explode after being launched by the gravity gun. | ||
==Keyvalues== | |||
{{KV BaseAnimating|base=1}} | |||
{{KV BaseEntity|base=1}} | |||
==Inputs== | ==Inputs== | ||
{{ | {{IO|ExplodeIn|param=float|Tell the bomb to explode in this many seconds.}} | ||
{{I | {{I BaseAnimating}} | ||
{{ | {{I BaseEntity|base=1|prel4d=1}} | ||
==Outputs== | ==Outputs== | ||
{{IO|OnPhysGunOnlyPickup|Fired when a player picks this object up with the gravity gun. {{ent|+use}} pickups do not fire this output.}} | |||
{{IO|OnPhysGunOnlyPickup|Fired when a player picks this object up | {{O BaseAnimating}} | ||
{{O BaseEntity}} | |||
==See also== | ==See also== | ||
* | *{{ent|npc_heli_nobomb}} |
Revision as of 19:34, 10 September 2018


Template:Hl2 point It's a time-bomb dropped by npc_helicopters. The timer is only activated when the bomb comes in contact with the world geometry, or any props. Upon touching an NPC or most other props it will detonate immediately. The bombs are also buoyant.

ConVars/Commands
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_helicopter_grenadedamage | 30 | Health amount | How much damage a bomb can do. |
sk_helicopter_grenaderadius | 275 | Hammer units | Radius in which a bomb will damage objects, when it explodes. |
sk_helicopter_grenadeforce | 55000 | Arbitrary number?[confirm] | Amount of force given to moveable objects when an explosion occurs. This seems to be tied in to the damage and radius in some manner. |
Exists, but does nothing. Intended to be a scalar for how much force the gravity gun gives to helicopter bombs when launching. | |||
sk_helicopter_num_bombs1 | 3 | Arbitrary number | Number of bombs needed to kill a helicopter, on Easy difficulty. |
sk_helicopter_num_bombs2 | 5 | Arbitrary number | Number of bombs needed to kill a helicopter, on Medium difficulty. |
sk_helicopter_num_bombs2 | 5 | Arbitrary number | Number of bombs needed to kill a helicopter, on Hard difficulty. |
Flags
- 65536: Dud. Will only explode after being launched by the gravity gun.
Keyvalues

Inputs
- ExplodeIn <float >
- Tell the bomb to explode in this many seconds.

Outputs
- OnPhysGunOnlyPickup
- Fired when a player picks this object up with the gravity gun. +use pickups do not fire this output.
