This entity is
not in the
FGD by default.
It should not be put directly in a map because it can only be configured through code in Steam versions of the game. You still can use it in mod version of the game via
Hammer.
Rocket's model in
Steam versions of the game.
Rocket's model in the mod version of the game.
grenade_rpg
is a model 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.
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.
Example.
Expand
Here it bounce of this metal door. The door is prop_dynamic with dynamic collision (required for animations). Note the crosshair position and position of the grenade.
|
(not in
)
Inputs
- SetTarget <stringRedirectInput/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.
- StopHoming <void> (only in
)
- Stops homing to the laser pointer.
- StartHoming <void> (only in
)
- Enables homing to the laser pointer.
- SetTimer <floatRedirectInput/float> (only in
)
- Sets amount of time before detonate.
- Detonate <void> (only in
)
- Detonates the rocket.
- SetThrower <void> (only in
)
- Fired by this entity when launched. Doesn't do anything.
Outputs
- OnDetonate <void> (only in
)
- Fired by this entity when detonated.
Black Mesa: Definitive Edition
Cvar/Command |
Parameters or default value |
Descriptor |
Effect |
sk_detenator_rpg_health |
1 |
Float
|
Amount of health for the rocket. Note:Only explosions can damage it. |
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. Bug:16 and below will explode rocket on launch. |
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. |
Black Mesa (mod)
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. Bug:0 and below will explode rocket on launch. Bug:This value doesn't affect the model view angle, only the flight path angle. |
sk_grenade_rpg_health |
15 |
Float
|
Amount of health for the rocket. Note:Only explosions can damage it. |
See Also