grenade_energy_large

From Valve Developer Community
Jump to navigation Jump to search
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because it wasn't supposed to be used via Hammer Hammer by the developers. You still can use it for your map or mod, just add required code to the FGD.
Grenade energy large.jpg

grenade_energy_large is a point entity available in Black Mesa (mod) Black Mesa (mod). This is large energy sphere which can deal electric damage. Supposed to be used by npc_alien_controller and should probably be generated by the head, but alien controller in this version of the game using only main attack with small energy spheres. Most inputs and outputs are same as CBaseAnimating.

Todo: What entity name used for Steam versions of the game ?
Note.pngNote:It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Icon-Bug.pngBug:Has a collision.

Inputs

SetTarget <stringRedirectInput/string>
Fired once when spawned. Firing this again input will not change target.
StopHoming <void>
Stops homing.
StartHoming <void>
Enables homing.
SetTimer <floatRedirectInput/float>
Sets amount of time before detonate.
Detonate <void>
Detonates the energy sphere.
SetThrower <void>
Fired by this entity when spawned. Doesn't do anything.

Outputs

OnDetonate <void>
Fired by this entity when detonated.


Dedicated ConVars

Cvar/Command Parameters or default value Descriptor Effect
sk_grenade_energy_large_dmg 25 Float Amount of damage from this entity.
sk_grenade_energy_large_dmg_radius 128 Float Range of for damage from this entity.
sk_grenade_energy_large_airspeed 450 Float Speed of this entity.
sk_grenade_energy_large_precision 0.1 Float Affects homing to the target. 0.1 will make it impossible to dodge even with noclip.
Icon-Bug.pngBug:0 and below will cause explode on entity spawn.