Grenade energy: Difference between revisions
Jump to navigation
Jump to search
Note:It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Bug:Has a collision.
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
Line 8: | Line 8: | ||
{{todo|What entity name used for [[Steam]] versions of the game ?}} | {{todo|What entity name used for [[Steam]] versions of the game ?}} | ||
{{note|It explodes if hits [[skybox]] in the mod version. In Steam versions, it just disappears.}} | {{note|It explodes if hits [[skybox]] in the mod version. In Steam versions, it just disappears.}} | ||
{{bug|Has a collision.}} | {{bug|Has a collision.|hidetested=1}} | ||
==Inputs== | ==Inputs== |
Revision as of 04:55, 11 May 2025

grenade_energy is a point entity available in Black Mesa (mod) (the mod version). The grenade entity that used by npc_alien_controller. This is small energy sphere which can deal electric damage. It is generated by alien controller and can homing into target. Most inputs and outputs are same as CBaseAnimating.
Represented by class CGrenade_Energy
.
Todo: What entity name used for Steam versions of the game ?


Inputs
- SetTarget <string >
- Fired once when spawned. Firing this again input will not change target.
- StopHoming <void>
- Stops homing.
- StartHoming <void>
- Enables homing.
- SetTimer <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_dmg | 4 | Float | Amount of damage from this entity. |
sk_grenade_energy_dmg_radius | 128 | Float | Range of for damage from this entity. |
sk_grenade_energy_airspeed | 650 | Float | Speed of this entity. |
sk_grenade_energy_precision | 0.001 | Float | Affects homing to the target. 0.1 will make it impossible to dodge even with noclip. ![]() |