grenade_apache_rpg
Jump to navigation
Jump to search
grenade_apache_rpg
is a point 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
.
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.
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.
|
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. Note:Only explosions can damage it. |
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. |
Bug:High speed values may cause the rocket to disappear.
Black Mesa (the mod version)
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. |