grenade_rpg
Jump to navigation
Jump to search
Note:It explodes if hits skybox in the mod version. In Steam versions, it just disappears.
Bug:It bounce of dynamic (not physics) objects, such as prop_dynamic. Usually happens with objects that have a dynamic collision, or objects that are in motion. Doesn't happen if laser pointer is enabled. This bug is (only in
).


Rocket's model in Steam versions of the game.
grenade_rpg
is a point entity available in Black Mesa. The grenade entity that is used by weapon_rpg and npc_human_grenadier. The rocket that launched by the rocket launcher with the laser pointer navigation system. Most inputs and outputs are same as CBaseAnimating.
Represented by class CGrenade_RPG
.



|
Inputs
- SetTarget <string > (only in
)
- Fired once when laser pointer is toggled. Will follow laser pointer or <null entity>. Using this input will change rocket's flying angle to specified target, will not be changed if the target moved.
- SetTimer <float > (only in
)
- Sets amount of time before detonate.
Outputs
Dedicated ConVars
Black Mesa: Definitive Edition
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_detenator_rpg_health | 1 | Float | Amount of health for the rocket. ![]() |
sk_detenator_rpg_track_min_dot | -1 | Float | Affects how effectively the rocket follows the laser pointer, 0 and below - 100 % efficiency. 1 - will not follow at all. |
sk_detenator_rpg_track_max_distance | 65536 | Float | The radius from the laser pointer. If the rocket hits the radius, it will start homing to the laser pointer. |
sk_detenator_rpg_track_acceleration | 960 | Float | Acceleration of the rocket. |
sk_detenator_rpg_track_drag | 0.375 | Float | The value of the degree of "homing" for the rocket to the laser pointer. Values of 2 and higher will cause zigzags. -1 will make the rocket fly to the coordinates of the laser pointer, multiplied by -1. |
sk_detenator_rpg_max_speed | 1344 | Float | Max speed of the rocket. ![]() |
sk_detenator_rpg_intial_speed | 192 | Float | Intial speed of the rocket. |
sk_detenator_rpg_plr_dmg | 175 | Float | Amount of damage from player's rocket. |
sk_detenator_rpg_plr_dmg_radius | 300 | Float | Range of explosion from player's rocket. |
sk_detenator_rpg_npc_dmg | 30 | Float | Amount of damage from NPC's rocket. |
sk_detenator_rpg_npc_dmg_radius | 75 | Float | Range of explosion from NPC's rocket. |
sk_detenator_rpg_commit_radius | 0 | Float | How accurately the rocket will fly to the laser pointer if pointer's location was changed, for example, the rocket was launched into the sky and the player's camera was lowered down, the rocket will end up at the player's feet (if the value is 0 or below), or X meters from the player (if a large value is used). |
sk_detenator_rpg_suicide_radius | 32 | Float | The distance from the surface at which the rocket will explode. |
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_plr_dmg_grenade_rpg | 125 | Float | Amount of damage from player's rocket. |
sk_npc_dmg_grenade_rpg | 75 | Float | Amount of damage from NPC's rocket. |
sk_plr_grenade_rpg_airspeed | 5000 | Float | Speed of player's rocket. |
sk_npc_grenade_rpg_airspeed | 2500 | Float | Speed of NPC's rocket. |
sk_grenade_rpg_precision | 1.0 | Float | Affects NPC's rocket homing to the player.![]() ![]() |
sk_grenade_rpg_health | 15 | Float | Amount of health for the rocket. ![]() |
See Also
- item_grenade_rpg - pickup RPG grenade entity
- weapon_rpg - RPG weapon entity
- item_weapon_rpg - pickup weapon RPG entity
- npc_human_grenadier - grunt with RPG