Grenade apache rpg: 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:This grenade entity can stuck at dynamic (not physics) objects, such as prop_dynamic. In such situation, rocket will not move until it explodes. Usually happens with objects that have a dynamic collision, or objects that are in motion. This bug is (only in
).
Tip:If you need to fix this issue, use trigger_weaponfire that will kill stucked rockets, this trigger should be toggled by logic_timer every 0.5-1.0 seconds.
Bug:High speed values may cause the rocket to disappear.
m (Classifying as model entity) |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
Line 7: | Line 7: | ||
{{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|This grenade entity can stuck at dynamic (not physics) objects, such as {{ent|prop_dynamic}}. In such situation, rocket will not move until it explodes. Usually happens with objects that have a dynamic collision, or objects that are in motion. This bug is {{only|{{bms}}}}. | {{bug|hidetested=1|This grenade entity can stuck at dynamic (not physics) objects, such as {{ent|prop_dynamic}}. In such situation, rocket will not move until it explodes. Usually happens with objects that have a dynamic collision, or objects that are in motion. This bug is {{only|{{bms}}}}. | ||
{{tip|If you need to fix this issue, use {{ent|trigger_weaponfire}} that will kill stucked rockets, this trigger should be toggled by {{ent|logic_timer}} every 0.5-1.0 seconds.}} | {{tip|If you need to fix this issue, use {{ent|trigger_weaponfire}} that will kill stucked rockets, this trigger should be toggled by {{ent|logic_timer}} every 0.5-1.0 seconds.}} | ||
{{expand|title=Example.| | {{expand|title=Example.| | ||
Line 15: | Line 15: | ||
</gallery> | </gallery> | ||
}} | }} | ||
}} | |||
==Inputs== | ==Inputs== | ||
Line 41: | Line 41: | ||
{{varcom|sk_apache_rpg_speed|500|Float|Speed of the rocket.}} | {{varcom|sk_apache_rpg_speed|500|Float|Speed of the rocket.}} | ||
{{varcom|end}} | {{varcom|end}} | ||
{{bug|High speed values may cause the rocket to disappear. | {{bug|hidetested=1|High speed values may cause the rocket to disappear.}} | ||
{{Bms12|4}} | {{Bms12|4}} | ||
{{varcom|start}} | {{varcom|start}} |
Revision as of 07:23, 20 May 2025


Rocket's model in Steam versions of the game.
grenade_apache_rpg
is a model entity available in Black Mesa. The grenade entity that used by npc_apache. The rocket that launched by rocket launcher from Apache helicopter. Most inputs and outputs are same as CBaseAnimating.
Represented by class CGrenade_ApacheRPG
.




|
Inputs
- SetTarget <string > (only in
)
- Fired by npc_apache with no value. Sets specified target.
- 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_apache_rpg_health | 1 | Float | Amount of health for the rocket. ![]() |
sk_detenator_apache_rpg_track_max_distance | 4048 | Float | Todo: Find out what it does. |
sk_detenator_apache_rpg_track_acceleration | 400 | Float | Acceleration of the rocket. |
sk_detenator_apache_rpg_track_drag | 0.8 | Float | Scale of drag. |
sk_detenator_apache_rpg_max_speed | 2000 | Float | Max speed of the rocket. |
sk_detenator_apache_rpg_intial_speed | 250 | Float | Intial speed of the rocket. |
sk_detenator_apache_rpg_npc_dmg | 30 | Float | Amount of damage from the rocket. |
sk_detenator_apache_rpg_npc_dmg_radius | 75 | Float | Range of explosion from the rocket. |
sk_apache_rpg_speed | 500 | Float | Speed of the rocket. |

Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_npc_dmg_grenade_apache_rpg | 25 | Float | Amount of damage from the rocket. |
sk_npc_radius_grenade_apache_rpg | 256 | Float | Range of explosion from the rocket. |
sk_grenade_apache_rpg_airspeed | 7500 | Float | Speed of the rocket. |
sk_grenade_apache_rpg_precision | 0.001 | Float | Affects the rocket's homing ability. |